Peršokti į turinį
TheTrolis

gal zinote ka cia meta?

Recommended Posts

data/pickups.txt(459) : warning 213: tag mismatch

data/pickups.txt(459) : warning 213: tag mismatch

data/pickups.txt(459) : warning 202: number of arguments does not match definition

data/pickups.txt(459) : warning 202: number of arguments does not match definition

C:\Documents and Settings\gytiokas\Desktop\Kopija ið LTG 2.0\gamemodes\rmg.pwn(3866) : warning 213: tag mismatch

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Gal zinote kas kaip tai sutvarkyti zinau kad warning nekenkia bet vistiek noriu sutvarkyti ;D

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį


nu ok

picup kodas:

pasop,

pickups[0][pasop]=CreatePickupA(359.2728,166.1116,1008.3828); //Pasas

tada pawno kodas:

//Þaidëjo Komanda Pasas [ Unikalu ] ----------------------------------------

if(!strcmp(cmdtext, "/pasas", true,6))

{

if(cmdtext[6]==0){SendClientMessage(playerid, RED, "* Zaidejo paso informacija: /pasas [dalis vardo]"); return 1;}

new name[MAX_PLAYER_NAME];

strmid(name,cmdtext[9],0,MAX_PLAYER_NAME);

new id = GetPlayeridMid(name);

if (id == INVALID_PLAYER_ID){ SendClientMessage(playerid, RED, "* Tokio zaidejo nera"); return 1;}

GetPlayerName(id,name,sizeof(name));

new originn[128];

if(playerDB[id][origin] == 0) originn = " Nenuruodita";

else if(playerDB[id][origin] < 0) originn = " Nenuruodita";

else if(playerDB[id][origin] == 1) originn = " Vilniaus";

else if(playerDB[id][origin] == 2) originn = " Kauno";

else if(playerDB[id][origin] == 3) originn = " Klaipedos";

else if(playerDB[id][origin] == 4) originn = " Alytaus";

else if(playerDB[id][origin] == 5) originn = " Taurages";

else if(playerDB[id][origin] == 6) originn = " Siauliu";

else if(playerDB[id][origin] == 7) originn = " Elektrenu";

else if(playerDB[id][origin] == 8) originn = " Marijampoles";

else if(playerDB[id][origin] == 9) originn = " Telsiu";

else if(playerDB[id][origin] == 10) originn = " Panevezio";

else if(playerDB[id][origin] == 11) originn = " Druskininku";

else if(playerDB[id][origin] == 12) originn = " Gargzdu";

else if(playerDB[id][origin] == 13) originn = " Garliavos";

else if(playerDB[id][origin] == 14) originn = " Jonavos";

else if(playerDB[id][origin] == 15) originn = " Kupiskio";

else if(playerDB[id][origin] == 16) originn = " Kedainiu";

else if(playerDB[id][origin] == 17) originn = " Kretingos";

else if(playerDB[id][origin] == 18) originn = " Kursenu";

else if(playerDB[id][origin] == 19) originn = " Mazeikiu";

else if(playerDB[id][origin] == 20) originn = " Naujojos Akmenes";

else if(playerDB[id][origin] == 21) originn = " Palangos";

else if(playerDB[id][origin] == 22) originn = " Plunges";

else if(playerDB[id][origin] == 23) originn = " Radviliskio";

else if(playerDB[id][origin] == 24) originn = " Rokiskio";

else if(playerDB[id][origin] == 25) originn = " Raseiniu";

else if(playerDB[id][origin] == 26) originn = " Silutes";

else if(playerDB[id][origin] == 27) originn = " Utenos";

else if(playerDB[id][origin] == 28) originn = " Visagino";

new tautaa[128];

if(playerDB[id][pTauta] == 0) tautaa = " Nenuruodita";

else if(playerDB[id][pTauta] < 0) tautaa = " Nenuruodita";

else if(playerDB[id][pTauta] == 1) tautaa = " Lietuvis";

else if(playerDB[id][pTauta] == 2) tautaa = " Rusas";

else if(playerDB[id][pTauta] == 3) tautaa = " Lenkas";

else if(playerDB[id][pTauta] == 4) tautaa = " Anglas";

else if(playerDB[id][pTauta] == 5) tautaa = " Amerikonas";

else if(playerDB[id][pTauta] == 6) tautaa = " Zydas";

else if(playerDB[id][pTauta] == 7) tautaa = " Vokietis";

new religijaa[128];

if(playerDB[id][pReligija] == 0) religijaa = " Nenuruodita";

else if(playerDB[id][pReligija] < 0) religijaa = " Nenuruodita";

else if(playerDB[id][pReligija] == 1) religijaa = " Katalikas";

else if(playerDB[id][pReligija] == 2) religijaa = " Staciatikis";

else if(playerDB[id][pReligija] == 3) religijaa = " Budistas";

else if(playerDB[id][pReligija] == 4) religijaa = " Musulmanas";

else if(playerDB[id][pReligija] == 5) religijaa = " Judejus";

else if(playerDB[id][pReligija] == 6) religijaa = " Konfurianetis";

new mess[128];

GetPlayerName(id,name,sizeof(name));

format(mess, sizeof(mess), "%s is %s, jis: %s ir jis: %s",name,originn[id],tautaa[id],religijaa[id]);

ShowPlayerDialog(playerid,118,DIALOG_STYLE_MSGBOX,"Pinigai",mess,"Ok","Ok");

return 1;

}

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

//Þaidëjo Komanda Pasas [ Unikalu ] ----------------------------------------
if(!strcmp(cmdtext, "/pasas", cmdtext, true,6) == 0)
   {
   if(cmdtext[6]==0){SendClientMessage(playerid, RED, "* Zaidejo paso informacija: /pasas [dalis vardo]"); return 1;}
   new name[MAX_PLAYER_NAME];
   strmid(name,cmdtext[9],0,MAX_PLAYER_NAME);
   new id = GetPlayeridMid(name);
   if (id == INVALID_PLAYER_ID){ SendClientMessage(playerid, RED, "* Tokio zaidejo nera"); return 1;}
   GetPlayerName(id,name,sizeof(name));
   new originn[128];
   if(playerDB[id][origin] == 0) originn = "  Nenuruodita";
   else if(playerDB[id][origin] < 0) originn = "  Nenuruodita";
   else if(playerDB[id][origin] == 1) originn = " Vilniaus";
   else if(playerDB[id][origin] == 2) originn = " Kauno";
   else if(playerDB[id][origin] == 3) originn = " Klaipedos";
   else if(playerDB[id][origin] == 4) originn = " Alytaus";
   else if(playerDB[id][origin] == 5) originn = " Taurages";
   else if(playerDB[id][origin] == 6) originn = " Siauliu";
   else if(playerDB[id][origin] == 7) originn = " Elektrenu";
   else if(playerDB[id][origin] == 8) originn = " Marijampoles";
   else if(playerDB[id][origin] == 9) originn = " Telsiu";
   else if(playerDB[id][origin] == 10) originn = " Panevezio";
   else if(playerDB[id][origin] == 11) originn = " Druskininku";
   else if(playerDB[id][origin] == 12) originn = " Gargzdu";
   else if(playerDB[id][origin] == 13) originn = " Garliavos";
   else if(playerDB[id][origin] == 14) originn = " Jonavos";
   else if(playerDB[id][origin] == 15) originn = " Kupiskio";
   else if(playerDB[id][origin] == 16) originn = " Kedainiu";
   else if(playerDB[id][origin] == 17) originn = " Kretingos";
   else if(playerDB[id][origin] == 18) originn = " Kursenu";
   else if(playerDB[id][origin] == 19) originn = " Mazeikiu";
   else if(playerDB[id][origin] == 20) originn = " Naujojos Akmenes";
   else if(playerDB[id][origin] == 21) originn = " Palangos";
   else if(playerDB[id][origin] == 22) originn = " Plunges";
   else if(playerDB[id][origin] == 23) originn = " Radviliskio";
   else if(playerDB[id][origin] == 24) originn = " Rokiskio";
   else if(playerDB[id][origin] == 25) originn = " Raseiniu";
   else if(playerDB[id][origin] == 26) originn = " Silutes";
   else if(playerDB[id][origin] == 27) originn = " Utenos";
   else if(playerDB[id][origin] == 28) originn = " Visagino";
   new tautaa[128];
   if(playerDB[id][pTauta] == 0) tautaa = "  Nenuruodita";
   else if(playerDB[id][pTauta] < 0) tautaa = "  Nenuruodita";
   else if(playerDB[id][pTauta] == 1) tautaa = " Lietuvis";
   else if(playerDB[id][pTauta] == 2) tautaa = " Rusas";
   else if(playerDB[id][pTauta] == 3) tautaa = " Lenkas";
   else if(playerDB[id][pTauta] == 4) tautaa = " Anglas";
   else if(playerDB[id][pTauta] == 5) tautaa = " Amerikonas";
   else if(playerDB[id][pTauta] == 6) tautaa = " Zydas";
   else if(playerDB[id][pTauta] == 7) tautaa = " Vokietis";
   new religijaa[128];
   if(playerDB[id][pReligija] == 0) religijaa = "  Nenuruodita";
   else if(playerDB[id][pReligija] < 0) religijaa = "  Nenuruodita";
   else if(playerDB[id][pReligija] == 1) religijaa = " Katalikas";
   else if(playerDB[id][pReligija] == 2) religijaa = " Staciatikis";
   else if(playerDB[id][pReligija] == 3) religijaa = " Budistas";
   else if(playerDB[id][pReligija] == 4) religijaa = " Musulmanas";
   else if(playerDB[id][pReligija] == 5) religijaa = " Judejus";
   else if(playerDB[id][pReligija] == 6) religijaa = " Konfurianetis";
   new mess[128];
   GetPlayerName(id,name,sizeof(name));
   format(mess, sizeof(mess), "%s is %s, jis: %s ir jis: %s",name,originn[id],tautaa[id],religijaa[id]);
   ShowPlayerDialog(playerid,118,DIALOG_STYLE_MSGBOX,"Pinigai",mess,"Ok","Ok");

   return 1;
   }

sitas kodas turetu tikti pabandyk

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

nu nelabai dabar meta su erorais zinok tokiais:

data/pickups.txt(459) : warning 213: tag mismatch

data/pickups.txt(459) : warning 213: tag mismatch

data/pickups.txt(459) : warning 202: number of arguments does not match definition

data/pickups.txt(459) : warning 202: number of arguments does not match definition

C:\Documents and Settings\gytiokas\Desktop\Kopija ið LTG 2.0\gamemodes\rmg.pwn(3892) : warning 213: tag mismatch

C:\Documents and Settings\gytiokas\Desktop\Kopija ið LTG 2.0\gamemodes\rmg.pwn(5060) : error 035: argument type mismatch (argument 3)

C:\Documents and Settings\gytiokas\Desktop\Kopija ið LTG 2.0\gamemodes\rmg.pwn(19116) : error 030: compound statement not closed at the end of file (started at line 15400)

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

pickups[0][pasop]=CreatePickupA(359.2728,166.1116,1008.3828); //Pasas

ką tu čia per nesamone pasidariai:Dkoordinates įsikėliai ir viskas

visų pirma turi būti pickupo id antra ar jis pranyks užlipus ar ne ir tik tada koordinates dedamos

taip va kelk ir turi nebemest:

pickups[0][pasop]=CreatePickupA(1274, 2, 359.2728,166.1116,1008.3828); //Pasas

Dalintis šį pranešimą


Nuoroda iki šio pranešimo
Dalintis per kitą puslapį

Komentuoti gali tik prisijungę nariai

Jeigu turite paskyrą, prisijunkite

Sukurti paskyrą

Sukurkite paskyrą mūsų forume

Registruotis

Prisijungti

Turite paskyrą? Prisijunkite

Prisijungti dabar

  • Narių peržiūri šį forumą:   0 nariai

    Nėra registruotų narių peržiūrinčių šį forumą.


  • SuperGames programele
  • SuperGames programele


×