04.04.2010, 07:04
Try this.
And: http://forum.sa-mp.com/index.php?top...6153#msg716153
pawn Код:
COMMAND:heal(playerid, params[])
{
......
}
pawn Код:
COMMAND:heal(playerid, params[])
{
new giveplayerid;
if(!sscanf(params,"u",giveplayerid)) {
SetPlayerHealth(playerid,100.0);
} else {
if(IsPlayerConnected(giveplayerid)) {
SetPlayerHealth(giveplayerid,100.0);
}
}
return 1;
}