31.07.2010, 22:15
Try with this:
pawn Код:
dcmd_heal(playerid, params[])
{
new apple;
apple = SetPlayerHealth(player1, 100);
new player1 = strval(tmp);
new id;
if (sscanf(params, "u", id)) SendClientMessage(playerid, 0xFF0000AA, "Usage: \"/heal <playerid>\"");
else
{
apple(playerid);
}
return 1;
}