SA-MP Forums Archive
::::::[ 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: ::::::[ HELP ]::::::: (/showthread.php?tid=150662)



::::::[ HELP ]::::::: - DarkPower - 27.05.2010

i try to make something like this

Код:
if(PlayerInfo[playerid][pJob] >=1 || PlayerInfo[playerid][pLeader] >= 1 || PlayerInfo[playerid][pMember] >= 1)
and i put that below command /kill ( example ) and if i am in ORGanisation its say "You must have the job" How i can make if i dont have job but if i am in org. to command work. ?


Re: ::::::[ HELP ]::::::: - Conroy - 27.05.2010

If that IF statement doesn't work, it's either because you have not set the variable when the player gets a job or you haven't set it right.

Check your job command, if you see no errors, post it here.