12.09.2015, 08:13
Here's the loader!
It does look at the right file since its loading the vModel and vColor1 + vColor2, but it wont load the XYZA as spawn pos.
Thanks for the reply btw, I appreciate it!
Код:
//LOADING VEHICLES forward LoadVehicle(fileid, name[], value[]); public LoadVehicle(fileid, name[], value[]) { INI_Int("vID",VehicleInfo[fileid][vID]); INI_Int("Model",VehicleInfo[fileid][vModel]); INI_Float("X",VehicleInfo[fileid][vX]); INI_Float("Y",VehicleInfo[fileid][vY]); INI_Float("Z",VehicleInfo[fileid][vZ]); INI_Float("A",VehicleInfo[fileid][vA]); INI_Int("Color1",VehicleInfo[fileid][vColor1]); INI_Int("Color2",VehicleInfo[fileid][vColor2]); INI_Int("Type",VehicleInfo[fileid][vType]); INI_Int("Owner",VehicleInfo[fileid][vOwner]); return 1; } //LOADING VEHICLES ^
Thanks for the reply btw, I appreciate it!