10.08.2012, 19:15
Still trying to do.. anyone got an idea?
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
{
for(new i = 1; i < MAX_BUYABLE_VEH; i++)
{
if(strmatch(VehicleInfo[i][vVehOwner], PlayerName(playerid)))
{
new string[128], vehstring[128], count = 0;
format(vehstring, sizeof(vehstring), "%s\n%s", VehicleNames[GetVehicleModel(VehicleInfo[i][vVehModel]) - 400], vehstring);
count += 1;
format(string, sizeof(string), "%s", vehstring);
ShowPlayerDialog(playerid, DIALOG_VEHICLE_LIST, DIALOG_STYLE_LIST, "Lista pojazdуw", string, "Okey", "");
}
}
}