Quote:
Originally Posted by DaniceMcHarley
Why would you use 800 cells? That's way too much and you only need around 30 cells because the max cars you can have are 4 and lets say every car takes around 6-8 cells, approximately 30, let's make it 50 now you can change it later.
pawn Code:
CMD:myvehicles(playerid,params[]) {
new string[50]; format(string,sizeof(string),"%s\n%s\n%s\n%s",VehicleNames[playerVariables[playerid][pCarModel1] - 400] ,VehicleNames[playerVariables[playerid][pCarModel2] - 400] ,VehicleNames[playerVariables[playerid][pCarModel3] - 400] ,VehicleNames[playerVariables[playerid][pCarModel4] - 400]) ShowPlayerDialog(playerid, 5000, DIALOG_STYLE_LIST, "Your personal vehicles", string, "Ok", "Close"); return 1;
}
Tell me the results.
Question: When you type /myvehicles does the dialog show and what's in it is empty or what?
|
The dialog isn't showing..