05.10.2011, 15:07
Quote:
And I'd change the command to:
Код:
CMD:Slap(playerid,params[]) { new id; if(!sscanf(params,"u",id)) { if(IsPlayerConnected(id)) { SetPlayerHealth(id,0.0); PlayerPlaySound(id,1149,0,0,0); } else return Msg(playerid,0,"Player Not FOund"); } else return Msg(playerid,1,"Usage: /slap [id] "); return 1; } |