Nothing happends.. +1
#2

hey forgot that model check?

pawn Код:
if(strcmp(cmdx, "/bput", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(!IsPlayerInAnyVehicle(playerid))
        {
            SendClientMessage(playerid, COLOR_YELLOW, " You must be in the car!");
            SendClientMessage(playerid, COLOR_GRAD, " Thoughts: Hmm .. to put a weapon to open the trunk, and the button opening located in the car.");
            return 1;
        }
        new model = GetVehicleModel(GetPlayerVehicleID(playerid)); // --- here
        if(model!=448 && model!=461 && model!=462 && model!=463 && model!=468 && model!=471 && model!=481 && model!=509 && model!=510 && model!=521 && model!=522 && model!=523 && model!=581 && model!=586 && model!=481 && model!=509 && model!=510)
        {
            ShowPlayerDialog(playerid,DIALOG_BPUT,DIALOG_STYLE_LIST," Trunk","Weapon(Slot:1)\nWeapon(Slot:2)\nWeapon(Slot:3)\nWeapon(Slot:4)\nWeapon(Slot:5)\nWeapon(Slot:6)", "Put", "Close");
        }
        else
        {
            SendClientMessage(playerid, COLOR_YELLOW, "  This is vehicle not have trunk!");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Nothing happends.. +1 - by Lynet - 19.11.2013, 11:28
AW: Nothing happends.. +1 - by Littl3j0hNy - 19.11.2013, 13:22
Re: Nothing happends.. +1 - by Lynet - 25.11.2013, 06:45
Re: Nothing happends.. +1 - by Lynet - 25.11.2013, 07:41
Re: AW: Nothing happends.. +1 - by Spydah - 25.11.2013, 08:01
Re: Nothing happends.. +1 - by kbalor - 25.11.2013, 08:31
Re: Nothing happends.. +1 - by sanplayer - 25.11.2013, 08:33

Forum Jump:


Users browsing this thread: 1 Guest(s)