SA-MP Forums Archive
IF(isplayeradmin) [reps] - 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: IF(isplayeradmin) [reps] (/showthread.php?tid=504126)



IF(isplayeradmin) [reps] - KrYpToN98 - 02.04.2014

Gus I need the line of IF(isplayeradmin) but i want it to be for any admin level how would the line be?
Код:
  if(IsPlayerAdmin)
Am not sure if the line is correct like this but
I want it for any level and in that way it is only for rcon
So how can it be for any admin level?
+1 rep for any helps


Re: IF(isplayeradmin) [reps] - AroseKhanNiazi - 02.04.2014

what your admin system what is the code that define your admin system e.g some have admin,adminlevel,level or etc


Re: IF(isplayeradmin) [reps] - KrYpToN98 - 02.04.2014

Am usin luxadmin and the cmd to make u admin is
Log to rcon then type /setlevel (playerid) (level)


Re: IF(isplayeradmin) [reps] - AroseKhanNiazi - 02.04.2014

try this if
Код:
if(IsPlayerLuxAdm(playerid, 4))
the 4 is admin level