[IMPORTANT] Does Anyone Know Why I Am Getting These Errors?
#1

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"
Reply
#2

As it says, the symbol "i" is not defined. You should define a variable before using it. Make sure you have the entire code.
Reply
#3

They are supposed to be "playerid" I guess!
Reply
#4

So try to put on the top of your script #define i playerid , or change i with playerid..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)