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.