[Tutorial] Kill/heal command
#8

Quote:
Originally Posted by Nahin
View Post
How do i set to so that it is restricted to an admin level?
pawn Code:
COMMAND:heal(playerid, params[])
{
  if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "This command is only for RCON admins.");
  SetPlayerHealth(playerid, 100);
  return 1;
}
Reply


Messages In This Thread
Kill/heal command - by Twizted - 15.07.2013, 11:21
Re: Kill/heal command - by Chrisis - 15.07.2013, 15:42
Re: Kill/heal command - by doreto - 15.07.2013, 15:47
Re: Kill/heal command - by Twizted - 15.07.2013, 16:00
Re: Kill/heal command - by x96664 - 16.07.2013, 07:08
Re: Kill/heal command - by SwisherSweet - 16.07.2013, 08:56
Re: Kill/heal command - by Nahin - 19.07.2013, 18:23
Re: Kill/heal command - by BigGroter - 20.07.2013, 00:49
Re : Re: Kill/heal command - by Garwan50 - 23.07.2013, 18:57

Forum Jump:


Users browsing this thread: 3 Guest(s)