Weapon on Robbery
#8

Try this:
Код:
COMMAND:robstore(playerid, params[]) 
{ 
    if(!playerData[playerid][playerAlreadyLogin]) return 1; 
    switch(GetPlayerWeapon(playerid)) 
    { 
        case WEAPON_BAT, WEAPON_DEAGLE, WEAPON_KNIFE, WEAPON_KATANA, WEAPON_CHAINSAW: return startRobbery(playerid);
        default: return SendClientMessage(playerid, -1, "You sould use Bat, Deagle, Knife, Katana or Chainsaw to do the robbery.");
    }     
    return 1; 
}
Reply


Messages In This Thread
Weapon on Robbery - by PowerF - 15.06.2015, 14:46
Re: Weapon on Robbery - by amirab - 15.06.2015, 14:51
Re: Weapon on Robbery - by PowerF - 15.06.2015, 14:53
Re : Weapon on Robbery - by Dutheil - 15.06.2015, 14:56
Re: Weapon on Robbery - by PowerF - 15.06.2015, 15:08
Re : Weapon on Robbery - by Dutheil - 15.06.2015, 15:22
Re: Weapon on Robbery - by PowerF - 16.06.2015, 02:32
Re: Weapon on Robbery - by bgedition - 16.06.2015, 03:51
Re : Weapon on Robbery - by Dutheil - 16.06.2015, 08:34

Forum Jump:


Users browsing this thread: 1 Guest(s)