Need 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: Need Help (
/showthread.php?tid=618840)
Need Help -
ongnung147 - 10.10.2016
Код HTML:
error 029: invalid expression, assumed zero
Код HTML:
if(PlayerInfo[playerid][pJob] == 7 || PlayerInfo[playerid][pJob2] == 7 || (IsACop(playerid)|| IsATowman(playerid))
{
Re: Need Help -
ChristolisTV - 10.10.2016
Hello! Try this:
PHP код:
if(PlayerInfo[playerid][pJob] == 7 || PlayerInfo[playerid][pJob2] == 7 || IsACop(playerid) || IsATowman(playerid))
EDIT: Actually can you show me where you create the variable with the PlayerInfo and it's enumeration?