KiLLeR1122 Posted January 4, 2013 Report Share Posted January 4, 2013 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 CompuPhase5 Errors. Te-am ajutat cu ceva? Da-mi un POZITIV ! Link to comment Share on other sites More sharing options...
[XSR]NexT Posted January 4, 2013 Report Share Posted January 4, 2013 Posteaza liniile. Link to comment Share on other sites More sharing options...
Petrut4_u Posted January 4, 2013 Report Share Posted January 4, 2013 defineste si tu ''playerid'', ''newcar'' ...nu stiu ce sa zic. fai chestia asta apoi vezi ce face. Link to comment Share on other sites More sharing options...
DarkyTheAngel Posted January 4, 2013 Report Share Posted January 4, 2013 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 More sharing options...
KiLLeR1122 Posted January 4, 2013 Author Report Share Posted January 4, 2013 Liniile:7346: public LoadPapers()7678: //---------- SLOTURI FREE (Vehicule Personale)7682: este loc liber7685: if(strcmp(sendername,"FiGhT",true))7686: {33076: }HELP ! Te-am ajutat cu ceva? Da-mi un POZITIV ! Link to comment Share on other sites More sharing options...
KiLLeR1122 Posted January 4, 2013 Author Report Share Posted January 4, 2013 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 definitionD:\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 More sharing options...
BuBu Posted January 5, 2013 Report Share Posted January 5, 2013 Unde ai aceste linii la ce functie? *public* Link to comment Share on other sites More sharing options...
[XSR]NexT Posted January 5, 2013 Report Share Posted January 5, 2013 Baga ce ai cu playerid in asta cum a spus si Darky [pawn]for(new playerid = 0; playerid < MAX_PLAYERS; playerid++){ //.....................}[/pawn] Link to comment Share on other sites More sharing options...
Question
KiLLeR1122
Am urmatoarele erori la compilare !
Te-am ajutat cu ceva? Da-mi un POZITIV !
Link to comment
Share on other sites
7 answers to this question
Recommended Posts