i want to make admin command
#2

use this:
CMD:heal(playerid, params[])
{

if(Info23[playerid][Admin] >= 5)
{
if(Info23[playerid][Duty] >=1)
{
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid, -1, "Now, you have 100 HP");
}
else
{
SendClientMessage(playerid,-1,"You can use this command when you are ON DUTY!");
}
}
else
{
SendClientMessage(playerid,-1,"You don't have permissions to do that");
}
return 1;
}
Reply


Messages In This Thread
i want to make admin command - by zZzTGTzZz - 02.11.2017, 12:43
Re: i want to make admin command - by scripter111 - 02.11.2017, 13:40
Re: i want to make admin command - by Lucases - 02.11.2017, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)