15.06.2014, 17:52
pawn Код:
CMD:givegun(playerid,params[])
{
new id;
If(sscanf(params,"u",id)) return SendClientMessage(playerid,-1,"USAGE: /givegun [id]");
GivePlayerWeapon(id,GetPlayerWeapon(playerid),GetPlayerAmmo(playerid));
SetPlayerAmmo(playerid,GetPlayerWeapon(playerid),0);
return 1;
}