Why do these not work ?
#1

Well i have tried changing the ID's to the cars but they all still spawn bikes and when i click "Back" it spawns me a faggio


pawn Код:
if(dialogid == DIALOG_MORE) // More
    {
        if(response)
        {
            if(listitem == 0) // Regina
            {
    CreateVehicleEx(playerid,479, X,Y,Z+1, Angle, random(126), random(126), -1);
            }
            if(listitem == 1) // Romero
            {
    CreateVehicleEx(playerid,442, X,Y,Z+1, Angle, random(126), random(126), -1);
            }
            if(listitem == 2) // Solair
            {
    CreateVehicleEx(playerid,458, X,Y,Z+1, Angle, random(126), random(126), -1);
            }
            if(listitem == 3) // Stratum
            {
    CreateVehicleEx(playerid,561, X,Y,Z+1, Angle, random(126), random(126), -1);
            }
            if(listitem == 4) // Back
            {
                ShowPlayerDialog(playerid, DIALOG_CAR, DIALOG_STYLE_LIST, "Vehicle Selection Menu","Bikes\nCars 1 [A-E]\nCars 2 [F-P]\nCars 3 [P-S]\nCars 4 [S-Z]\nHelicopters\nPlanes\nBoats\nTrains\nTrailers\nRC Vehicles + Vortex", "Select", "Cancel");
            }
        }
        return 1;
    }
}

Please Help Me Please
Reply
#2

Can you post the ShowPlayerDialog for DIALOG_MORE?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)