[IMPORTANT] Does Anyone Know Why I Am Getting These Errors? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [IMPORTANT] Does Anyone Know Why I Am Getting These Errors? (
/showthread.php?tid=361581)
[IMPORTANT] Does Anyone Know Why I Am Getting These Errors? -
Anters14 - 21.07.2012
Can Someone Help Me And Tell me Why I Have Been Getting The Errors? Thank!
Here's the Code;
pawn Код:
if(IsACop(playerid) || PlayerInfo[playerid][pMember] == 4)){
SetPlayerCheckpoint(i, RandomFire_X,RandomFire_Y,RandomFire_Z, 3.0);
SendClientMessage(i, COLOR_YELLOW, "(INFO) A marker has been put on your GPS.");
Here's The Errors;
pawn Код:
C:\Users\Owner\Desktop\TESTING Fires\gamemodes\CSRP.pwn(3358) : error 017: undefined symbol "i"
C:\Users\Owner\Desktop\TESTING Fires\gamemodes\CSRP.pwn(3359) : error 017: undefined symbol "i"
Re: [IMPORTANT] Does Anyone Know Why I Am Getting These Errors? -
bhaveshnande - 21.07.2012
As it says, the symbol "i" is not defined. You should define a variable before using it. Make sure you have the entire code.
Re: [IMPORTANT] Does Anyone Know Why I Am Getting These Errors? -
[KHK]Khalid - 21.07.2012
They are supposed to be "playerid" I guess!
Respuesta: [IMPORTANT] Does Anyone Know Why I Am Getting These Errors? -
farCry.xD - 21.07.2012
So try to put on the top of your script #define i playerid , or change i with playerid..