/giveweapon command
#4

How about this?
PHP код:
CMD:giveweap(playeridparams[])
{
    new 
idweap ammo;
       
    else if (
sscanf(params"udd"idweap ammo))
        
SendClientMessage(playerid, -1"USAGE: /giveweap [ playerid ] [ weaponid ] [ ammo ]");
       
    else if (
id == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1"Player Is Not Connected!");
        
       
    else
    {
        
GivePlayerWeapon(id weap ammo)
        
SendClientMessage(playeridCOLOR_GREEN"You Gave A Gun To A Player.");
    }
    return 
1;

and something that you need Please Please
before making a thread just go to ****** and search anything that you want

And don't forget my +REP
Reply


Messages In This Thread
/giveweapon command - by saffierr - 16.07.2014, 02:00
Re: /giveweapon command - by BlackSirrah239 - 16.07.2014, 02:13
Re: /giveweapon command - by saffierr - 16.07.2014, 02:29
Re: /giveweapon command - by amirab - 16.07.2014, 02:54

Forum Jump:


Users browsing this thread: 1 Guest(s)