31.10.2016, 17:29
your current carowner var is integer not string, if you wanna story player name in it you have to define it as string:
also if you want it to show vehicle owner as null you can reset all on gamemodeinit
PHP код:
enum carData {
carID,
carExists,
carModel,
carOwner[MAX_PLAYER_NAME],
Float:carPos[4],
carColor1,
carColor2,
carPaintjob,
carLocked,
carMods[14],
carImpounded,
carImpoundPrice,
carFaction,
carWeapons[5],
carAmmo[5],
carVehicle
};
PHP код:
public OnGameModeInit()
{
for(new i; i < MAX_VEHICLES; i++) CarData[i][carOwner] = "Null";
}