CarOwner var problem;
#4

your current carowner var is integer not string, if you wanna story player name in it you have to define it as string:
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 
}; 
also if you want it to show vehicle owner as null you can reset all on gamemodeinit
PHP код:
public OnGameModeInit()
{
    for(new 
iMAX_VEHICLESi++) CarData[i][carOwner] = "Null";

Reply


Messages In This Thread
CarOwner var problem; - by MineiriinHo - 31.10.2016, 16:30
Re: CarOwner var problem; - by MEW273 - 31.10.2016, 17:08
Re: CarOwner var problem; - by MineiriinHo - 31.10.2016, 17:24
Re: CarOwner var problem; - by jlalt - 31.10.2016, 17:29
Re: CarOwner var problem; - by MineiriinHo - 31.10.2016, 17:57
Re: CarOwner var problem; - by ThatFag - 31.10.2016, 18:23
Re: CarOwner var problem; - by MineiriinHo - 31.10.2016, 18:46
Re: CarOwner var problem; - by MEW273 - 31.10.2016, 18:49
Re: CarOwner var problem; - by MineiriinHo - 31.10.2016, 18:52
Re: CarOwner var problem; - by Logic_ - 31.10.2016, 19:01

Forum Jump:


Users browsing this thread: 2 Guest(s)