Why is this little bug occurring?
#2

Put this instead of the others

pawn Код:
CMD:spawnplane(playerid, params[])
{
    new currentvehicle;
    currentvehicle = GetPlayerVehicleID(playerid);
   
    if(IsPlayerInAnyVehicle(playerid))
    {
        DestroyVehicle(currentvehicle);
        ShowPlayerDialog(playerid,14,DIALOG_STYLE_LIST,""COL_BLUE"Planes:",""COL_ORANGE"Skimmer\n"COL_ORANGE"Rustler\n"COL_ORANGE"Beagle\n"COL_ORANGE"Cropduster\n"COL_ORANGE"Stuntplane\n"COL_ORANGE"Shamal\n"COL_ORANGE"Hydra\n"COL_ORANGE"Nevada\n"COL_ORANGE"AT-400\n"COL_ORANGE"Andromada\n"COL_ORANGE"Dodo\n","Select","Cancel");
    }
    else
    {
        ShowPlayerDialog(playerid,14,DIALOG_STYLE_LIST,""COL_BLUE"Planes:",""COL_ORANGE"Skimmer\n"COL_ORANGE"Rustler\n"COL_ORANGE"Beagle\n"COL_ORANGE"Cropduster\n"COL_ORANGE"Stuntplane\n"COL_ORANGE"Shamal\n"COL_ORANGE"Hydra\n"COL_ORANGE"Nevada\n"COL_ORANGE"AT-400\n"COL_ORANGE"Andromada\n"COL_ORANGE"Dodo\n","Select","Cancel");
    }
    return 1;
}

CMD:spawnheli(playerid, params[])
{
    new currentvehicle;
    currentvehicle = GetPlayerVehicleID(playerid);
   
    if(IsPlayerInAnyVehicle(playerid))
    {
        DestroyVehicle(currentvehicle);
        ShowPlayerDialog(playerid,13,DIALOG_STYLE_LIST,""COL_BLUE"Helicopters:",""COL_ORANGE"Leviathan\n"COL_ORANGE"Hunter\n"COL_ORANGE"Seasparrow\n"COL_ORANGE"Sparrow\n"COL_ORANGE"Maverick\n"COL_ORANGE"News Maverick\n"COL_ORANGE"Police Maverick\n"COL_ORANGE"Cargobob\n"COL_ORANGE"Raindance\n","Select","Cancel");
    }
    else
    {
        ShowPlayerDialog(playerid,13,DIALOG_STYLE_LIST,""COL_BLUE"Helicopters:",""COL_ORANGE"Leviathan\n"COL_ORANGE"Hunter\n"COL_ORANGE"Seasparrow\n"COL_ORANGE"Sparrow\n"COL_ORANGE"Maverick\n"COL_ORANGE"News Maverick\n"COL_ORANGE"Police Maverick\n"COL_ORANGE"Cargobob\n"COL_ORANGE"Raindance\n","Select","Cancel");
    }
    return 1;
}
Reply


Messages In This Thread
Why is this little bug occurring? - by K9IsGodly - 12.01.2014, 00:28
Re: Why is this little bug occurring? - by Danialdano - 12.01.2014, 00:46
Re: Why is this little bug occurring? - by K9IsGodly - 12.01.2014, 00:51

Forum Jump:


Users browsing this thread: 1 Guest(s)