View Commands - ZCMD
#5

Quote:
Originally Posted by Claude
Посмотреть сообщение
pawn Код:
COMMAND:heal(playerid, params[])
{
   new ID, Float:health;
   if(sscanf(params, "uf", ID, health)) SendClientMessage(playerid, COLOR_PINK,"Use /heal [playerid]");
   else
   SetPlayerHealth(ID, health);
   return 1;
}
An example
I know how to use it. I got a basic concept, I just was confused about when a player types a command.
Reply


Messages In This Thread
View Commands - ZCMD - by ScottCFR - 19.08.2010, 13:32
Re: View Commands - ZCMD - by Claude - 19.08.2010, 13:53
Re: View Commands - ZCMD - by [L3th4l] - 19.08.2010, 13:57
Re: View Commands - ZCMD - by ScottCFR - 19.08.2010, 14:08
Re: View Commands - ZCMD - by ScottCFR - 19.08.2010, 14:13

Forum Jump:


Users browsing this thread: 2 Guest(s)