fire help - 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: fire help (
/showthread.php?tid=421697)
fire help -
Godzilla8957 - 10.03.2013
i have a fire system and i get 4 errors. can you please help me fixed them.. i fixed the other 14 but can't fix these 4
Script:
PHP код:
if(IsACop) || PlayerInfo[i][pMember] == 4 || PlayerInfo[i][pMember] == 15)
{
SendClientMessage(playerid, COLOR_GREEN, "A Fire Location Has Been Put On Your GPS");
}
}
Errors:
PHP код:
C:\Users\JordanDrummer\Desktop\Maxed Out Roleplay\gamemodes\MaxedOutRoleplay.pwn(2262) : error 076: syntax error in the expression, or invalid function call
C:\Users\JordanDrummer\Desktop\Maxed Out Roleplay\gamemodes\MaxedOutRoleplay.pwn(2262) : error 029: invalid expression, assumed zero
C:\Users\JordanDrummer\Desktop\Maxed Out Roleplay\gamemodes\MaxedOutRoleplay.pwn(2262) : error 017: undefined symbol "PlayerInfo"
C:\Users\JordanDrummer\Desktop\Maxed Out Roleplay\gamemodes\MaxedOutRoleplay.pwn(2262) : fatal error 107: too many error messages on one line
Re: fire help -
DaRk_RaiN - 10.03.2013
Make sure the brackets match next time.
pawn Код:
if((IsACop) || PlayerInfo[i][pMember] == 4 || PlayerInfo[i][pMember] == 15)
{
SendClientMessage(playerid, COLOR_GREEN, "A Fire Location Has Been Put On Your GPS");
}
}