Admin Commands =>
#4

PHP код:

public OnPlayerUpdate(playerid)
{
   if(
GetPlayerWeapon(playerid) == 38 && !IsAdmin(playerid)) return Kick(playerid); // RCON Admin
   // OR with a personnal var
   
if(GetPlayerWeapon(playerid) == 38 && PlayerInfo[playerid][pAdmin] < 1) return Kick(playerid); //
return 1;

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: 1 Guest(s)