10.04.2014, 18:08
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
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);