Creat /givegun command(zcmd)
#2

PHP код:
CMD:givegun(playeridparams[])
{
    new 
idgunammo;
    if(
sscanf(params,"uii"idgunammo)) return SendClientMessage(playerid, -1,"USAGE: /givegun [playerid/partofname] [gunid] [ammo]");
    if(
gun 47 || gun 1) return SendClientMessage(playerid, -1,"GUN ID'S: 1-47");
    if(
ammo 999 || ammo 1) return SendClientMessage(playerid, -1,"Ammo 1-999");
     
GivePlayerWeapon(idgunammo);
    return 
1;

Reply


Messages In This Thread
Creat /givegun command(zcmd) - by ServerScripter - 01.09.2011, 15:28
Re: Creat /givegun command(zcmd) - by Jafet_Macario - 01.09.2011, 15:34
Re: Creat /givegun command(zcmd) - by ServerScripter - 01.09.2011, 15:38
Re: Creat /givegun command(zcmd) - by System64 - 01.09.2011, 15:40
Re: Creat /givegun command(zcmd) - by ServerScripter - 01.09.2011, 15:42
Re: Creat /givegun command(zcmd) - by ServerScripter - 01.09.2011, 16:09

Forum Jump:


Users browsing this thread: 1 Guest(s)