24.06.2012, 17:15
Sigh.
pawn Код:
command(callcar, playerid, params[])
{
new string[128];
for(new i; i < sizeof(VehicleNames); i++)
{
format(string, sizeof(string), "%s\n%s\n%s\n%s", VehicleNames[Player[playerid][PlayerCarModel]-400], VehicleNames[Player[playerid][PlayerCarModel2]-400], VehicleNames[Player[playerid][PlayerCarModel3]-400], VehicleNames[Player[playerid][PlayerCarModel4]-400]);
}
return ShowPlayerDialog(playerid, 4601, DIALOG_STYLE_LIST, "Call Car", string, "Ok", "Close");
}