12.02.2014, 13:49
I got this atm in my gamemode, is a basic vehicle selling system, i ordered the vehicles with their name and price:
My question is, is possible to create a dialog that will list all the vehicles listed in that "new" with the price?
Something like /vehiclesthatcanbesold, and a dialog will popup with that list (Vehicle Name - Price).
In short, a dynamic dialog loaded by that array. Is it possible? If yes, how?
pawn Код:
new VehicleInfo[212][v_info] =
{
{"Landstalker",10000},
{"Bravura",10000},
{"Buffalo",10000},
{"Linerunner",10000},
{"Perrenial",10000},
{"Sentinel",10000},
{"Dumper",10000},
{"Firetruck",10000},
{"Trashmaster",10000},
{"Stretch",10000},
{"Manana",10000}
//And so on
};
Something like /vehiclesthatcanbesold, and a dialog will popup with that list (Vehicle Name - Price).
In short, a dynamic dialog loaded by that array. Is it possible? If yes, how?