Admin Commands =>
#2

Hi.

What kind of admin system do you use ?
RCON Admin or simply PlayerInfo[playerid][pAdmin] (or something like that, a var you created yourself) ?

If it's RCON, simply use IsPlayerAdmin. (Click on the name of the function for more informations)
Else, use
PHP код:
if(PlayerInfo[playerid][pAdmin] >= 1) return 1// Replace PlayerInfo[playerid][pAdmin] by ur personnal var.
else return Kick(playerid); 
Reply


Messages In This Thread
Admin Commands => - by gekas - 10.04.2014, 17:59
Re : Admin Commands => - by S4t3K - 10.04.2014, 18:08
Re: Admin Commands => - by gekas - 10.04.2014, 18:11
Re : Admin Commands => - by S4t3K - 10.04.2014, 18:15
Re: Admin Commands => - by gekas - 10.04.2014, 18:17
Re: Admin Commands => - by gekas - 10.04.2014, 18:31
Re: Admin Commands => - by Konstantinos - 10.04.2014, 18:34
Re: Admin Commands => - by gekas - 10.04.2014, 18:37
Re : Admin Commands => - by S4t3K - 10.04.2014, 18:44
Re: Admin Commands => - by gekas - 10.04.2014, 18:47

Forum Jump:


Users browsing this thread: 2 Guest(s)