03.08.2012, 02:29
I ve looked but can find the part of the script that shows the vehicles to buy because I want to add more.
case 10: // Dealership Main
{
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_LIST, "Choose a category", "Bikes\nNormal Vehicles\nLowriders\nOff-Road Vehicles\nSport Vehicles", "Choose", "Cancel");
}
else if(dialogid == 10) // Dealership main
{
if(response)
{
switch(listitem)
{
case 0: ShowDialog(playerid, 11); // Bikes
case 1: ShowDialog(playerid, 12); // Normal Vehicles
case 2: ShowDialog(playerid, 21); // Lowriders
case 3: ShowDialog(playerid, 13); // Off-Road Vehicles
case 4: ShowDialog(playerid, 14); // Sport Vehicles
}
}
}
I had a quick look through it and theres a few parts that control whats going on with the dealership.
under: stock ShowDialog(playerid, dialogid) pawn Код:
pawn Код:
This should give you enough info on what is going on |