26.03.2011, 10:29
I tried that, but how would I specifiy what happens if "U", is not there?
/sethealth 0 50 works, but /sethealth 50 does not.
pawn Код:
dcmd_sethealth(playerid,params[])
{
new id, health;
sscanf(params,"Ui",id,health);
SetPlayerHealth(id,health);
return 1;
}