Server Closed connection
#2

here is the command :

PHP код:
CMD:givegun(playeridparams[])
{
    if(
PlayerInfo[playerid][pAdmin] < 5) return SendClientMessageEx(playeridCOLOR_RED" You are not authorized to use that command !");
    new 
giveplayeridweaponid;
    if(
weaponid == 38) return SendClientMessageEx(playeridCOLOR_RED"You cannot give anyone a minigun!");
    if(
sscanf(params"ud"giveplayeridweaponid))
    {
        
SendClientMessage(playeridCOLOR_WHITE"Syntax:givegun [player] [weaponid]");
    }
    
GivePlayerGun(giveplayeridweaponid50);

    return 
1;

Reply


Messages In This Thread
Server Closed connection - by IndependentGaming - 04.05.2015, 12:20
Re: Server Closed connection - by IndependentGaming - 04.05.2015, 12:47
Re: Server Closed connection - by giorgosdim12 - 04.05.2015, 12:48
Re: Server Closed connection - by Karan007 - 04.05.2015, 12:49
Re: Server Closed connection - by IndependentGaming - 04.05.2015, 12:50
Re: Server Closed connection - by Konstantinos - 04.05.2015, 12:51
Re: Server Closed connection - by IndependentGaming - 04.05.2015, 12:56
Re: Server Closed connection - by Threshold - 04.05.2015, 12:58
Re: Server Closed connection - by IndependentGaming - 04.05.2015, 12:59

Forum Jump:


Users browsing this thread: 1 Guest(s)