Unable To Check Userfile - 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: Unable To Check Userfile (
/showthread.php?tid=314423)
Unable To Check Userfile -
Buzzbomb - 29.01.2012
I'm trying to retrieve Player Info in a filterscript it aint working as Planned... I looked at my Mode and Put it similar to that.. but nothing.. Like I got a filterscript that has a admin command Im trying to check
If(PlayerInfo[playerid][pAdminLevel] >= 2)
But nothing happens so I put Else and Sendclient message and It Says Ur Not Admin.. Could anyone help me .. I'm Confused..
Re: Unable To Check Userfile -
coole210 - 29.01.2012
pawn Код:
if(PlayerInfo[playerid][pAdminLevel] < 2) return 0;
At beginning of command.