[HELP] please help heal command
#6

enter in admin level command
Quote:

dcmd(adheal,6,cmdtext);

and cod

pwncod:
Quote:

dcmd_adheal(playerid,params[])
{
new string[128];
new ID;
if(sscanf(params,"us[100]",ID))
{
SendClientMessage(playerid,COLOR_ERROR,"USAGE: /adheal (Player Name/ID)");
return 1;
}
if(!IsPlayerConnected(ID))
{
format(string,sizeof(string),"The player ID (%d) is not connected to the server. You cannot heal them.",ID);
SendClientMessage(playerid,COLOR_ERROR,string);
return 1;
}

Reply


Messages In This Thread
[HELP] please help heal command - by Luca12 - 11.06.2014, 08:07
Re: [HELP] please help heal command - by Koala818 - 11.06.2014, 08:18
Re: [HELP] please help heal command - by Luca12 - 11.06.2014, 08:39
Re: [HELP] please help heal command - by RenovanZ - 11.06.2014, 08:48
Re: [HELP] please help heal command - by Luca12 - 11.06.2014, 09:50
Re: [HELP] please help heal command - by EmadQmars - 11.06.2014, 12:58

Forum Jump:


Users browsing this thread: 4 Guest(s)