21.03.2016, 09:23
Try:
Код:
new Name; Name = personalVehicleData[i][owner]; for(new i = 0; i < sizeof(personalVehicleData); i++) { if(!strcmp(GetName(playerid), Name, false)) { if(personalVehicleData[i][spawned] == 0) { printf("%d: %s, %d", i, personalVehicleData[i][owner], personalVehicleData[i][modelID]); vNumbers ++; format(string, sizeof(string), "%s\n%s", string, GetVehicleNameFromModel(personalVehicleData[i][modelID])); } } } stock GetName(playerid) { new Name; GetPlayerName(playerid, Name, sizeof(Name)); return 1; }