Warnings
#3

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
pawn Код:
switch( GetVehicleModel(vehicleid) )
{
    case 522,509,481,510,462,448,581,461,521,523,463,586,468:
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "You cant add rims/wheels to an bike/motorbike!");
    }
}
This works but it still opens the dialog but it displays the msg though

So i still need help

pawn Код:
CMD:rims(playerid, params[])
{
    new vehicleid = GetPlayerVehicleID(playerid);
    if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessageEx(playerid, COLOR_GREY, "You are not authorized to use that command !");
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_REALRED,"You're not in a vehicle.");
    switch( GetVehicleModel(vehicleid) )
    {
        case 522,509,481,510,462,448,581,461,521,523,463,586,468:
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "You cant add rims/wheels to an bike/motorbike!");
        }
    }
    ShowPlayerDialog(playerid, DIALOG_RIMS, DIALOG_STYLE_LIST, "Rims/Wheels", "Shadow\nMega\nRimshine\nWires\nClassic\nTwist\nCutter\nSwitch\nGrove\nImport\nDollar\nTrance\nAtomic", "Select", "Cancel");
    return 1;
}
Reply


Messages In This Thread
Warnings - by San1 - 17.06.2013, 08:24
Re: Warnings - by IceBilizard - 17.06.2013, 08:30
Re: Warnings - by San1 - 17.06.2013, 08:38
Re: Warnings - by IceBilizard - 17.06.2013, 08:47

Forum Jump:


Users browsing this thread: 1 Guest(s)