31.08.2013, 21:22
Are you creating the cars?
pawn Код:
public LoadCar()
{
for(new idx = 1; idx < sizeof(CarInfo) ; idx++)
{
new carfile[64];
format(carfile, sizeof(carfile),"LARP/Vehicles/%d.ini", idx);
new INI:clfile = INI_Open(carfile);
if(fexist(carfile))
{
INI_ParseFile("clfile", "LoadCar_Data", .bExtra = true, .extra = idx);
CreateVehicle(CarInfo[idx][cModel],CarInfo[idx][cLocationx],CarInfo[idx][cLocationy], CarInfo[idx][cLocationz], CarInfo[idx][cAngle], CarInfo[idx][cColorOne],CarInfo[idx][cColorOne],5000);
}
INI_Close(clfile); // Closes the file
}
print("[SCRIPT]: Loaded Cars");
return 1;
}