Giving guns
#3

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;
}
Reply


Messages In This Thread
Giving guns - by xdarren - 15.06.2014, 16:47
Re: Giving guns - by HeLiOn_PrImE - 15.06.2014, 17:42
Re: Giving guns - by DavidBilla - 15.06.2014, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)