Jump to content
  • 0

Erori !


KiLLeR1122

Question

Am urmatoarele erori la compilare !

D:\saveG RPG\gamemodes\saveG.pwn(7346) : warning 235: public function lacks forward declaration (symbol "LoadPapers")

D:\saveG RPG\gamemodes\saveG.pwn(7678) : error 017: undefined symbol "newcar"

D:\saveG RPG\gamemodes\saveG.pwn(7682) : error 017: undefined symbol "playerid"

D:\saveG RPG\gamemodes\saveG.pwn(7685) : error 017: undefined symbol "playerid"

D:\saveG RPG\gamemodes\saveG.pwn(7686) : error 017: undefined symbol "playerid"

D:\saveG RPG\gamemodes\saveG.pwn(33076) : error 001: expected token: ";", but found "}"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

5 Errors.

Te-am ajutat cu ceva? Da-mi un POZITIV !

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

defineste si tu ''playerid'', ''newcar'' ...nu stiu ce sa zic. fai chestia asta apoi vezi ce face.

Cum definesti tu playerid ?

ON: Adauga urmatoarele linii in gamemode:

[pawn]new newcar = GetPlayerVehicleID(playerid);

forward LoadPapers(playerid);[/pawn]

Cred ca folosesti "playerid" intr-un callback care nu are playerid definit, deci foloseste-l in felul urmator:

[pawn]for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)

{

    //...........

}[/pawn]

Link to comment
Share on other sites

AM REZOLVAT DIN ELE ACUM AM NEVOIE PENTRU ASTA !

Aceasta eroare la compilare:

[pawn]D:\saveG RPG\gamemodes\saveG.pwn(7612) : warning 202: number of arguments does not match definition

D:\saveG RPG\gamemodes\saveG.pwn(7684) : error 017: undefined symbol "playerid"

D:\saveG RPG\gamemodes\saveG.pwn(7687) : error 017: undefined symbol "playerid"

D:\saveG RPG\gamemodes\saveG.pwn(7688) : error 017: undefined symbol "playerid"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

[/pawn]

3 Errors.

Linile:

[pawn]7612: LoadPapers();

7684: GetPlayerName(playerid, sendername, sizeof(sendername));

7687: SendClientMessage(playerid,COLOR_GREY," You do not have the keys of this car !");

7688: RemovePlayerFromVehicle(playerid);

[/pawn]

Te-am ajutat cu ceva? Da-mi un POZITIV !

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.