25.06.2013, 03:47
(
Последний раз редактировалось Rokzlive; 25.06.2013 в 18:23.
)
Deleted. (Plz delete this thread)
new vehicleDialog[150], playersName[MAX_PLAYER_NAME];
GetPlayerName(playerid, playersName, MAX_PLAYER_NAME);
for(new vehicleIndex; vehicleIndex < MAX_VEHICLES; vehicleIndex++)
{
if(strcmp(playersName, pCar[vehicleIndex][OVowner] == false)
{
format(vehicleDialog, sizeof(vehicleDialog), "%s%d %s\n", vehicleDialog, vehicleIndex, USE A GET VEHICLE NAME FUNCTION HERE);
}
}
ShowPlayerDialog(playerid, DIALOG_CARS, DIALOG_STYLE_LIST, "Title", vehicleDialog, "Button1", "Button2");