Problem with Command
#2

pawn Код:
CMD:refill( playerid, params[] )
{
    if( perk [ playerid ] [ Ammo ] == 1 )
        return SendClientMessage(playerid,0xFFFFFFFF,""embed_red"[ERROR]"embed_grey"You havent choose perk Ammo.Cant use this command!");
       
    else
    {
        SendClientMessage(playerid,0xFFFFFFF,""embed_yellow"[INFO]"embed_white"You have been refill your ammo!");
        GivePlayerWeapon(playerid,31,300);
        GivePlayerWeapon(playerid,27,50);
        GivePlayerWeapon(playerid,24,50);
    }
    return true;
}
Reply


Messages In This Thread
Problem with Command - by SpiderWalk - 08.05.2012, 20:08
Re: Problem with Command - by 2KY - 08.05.2012, 20:13
Re: Problem with Command - by SpiderWalk - 08.05.2012, 20:17
Re: Problem with Command - by Disturn - 08.05.2012, 20:33
Re: Problem with Command - by DamienWalter - 15.05.2012, 12:35
Re: Problem with Command - by $$inSane - 15.05.2012, 14:19

Forum Jump:


Users browsing this thread: 1 Guest(s)