Stock creates the file but can't read it
#10

Quote:
Originally Posted by Adam_Hardy
Посмотреть сообщение
Oh dang I just noticed the Hardstyle reply, thank you lol I'm in dead love with Hardstyle for 10 years xD Welcome back Heady <3

You didn't define File in the public function.
My bad. The 'File' shouldn't even be there when reading a file.

PHP код:
forward LoadVehicle_data(vehicleid,name[],value[]); 
public 
LoadVehicle_data(vehicleid,name[],value[]) 

    
INI_Int("Model"VehicleStatistics[vehicleid][vehicle_model]); 
    
INI_Int("Price"VehicleStatistics[vehicleid][vehicle_price]); 
    
INI_Float("PosX"VehicleStatistics[vehicleid][vehicle_position][1]); 
    
INI_Float("PosY"VehicleStatistics[vehicleid][vehicle_position][2]); 
    
INI_Float("PosZ"VehicleStatistics[vehicleid][vehicle_position][3]); 
    
INI_Float("PosA"VehicleStatistics[vehicleid][vehicle_position][4]); 
    
INI_Int("OnSale"VehicleStatistics[vehicleid][vehicle_onsale]); 
    return 
1

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)