Vehicles wont load at file
#1

On my OnGamemodeInit() i have this script:
pawn Код:
//Vehicles
    for(new i = 1; i <= MAX_VEHICLES; i++)
    {
        new file[128];
        format(file, sizeof(file), "vehicles/%s.ini", i);
        AddStaticVehicleEx(dini_Int(file,"Model"), dini_Float(file,"PosX"), dini_Float(file,"PosY"), dini_Float(file,"PosZ"), dini_Float(file,"Angle"), dini_Int(file,"Color1"), dini_Int(file,"Color2"), 0);
    }
It should load every vehicle at scriptfiles/vehicles/
Like scriptfiles/vehicles/1.ini etc..
But it dosnt load, What is my problem?

Sorry for My bad english
Reply


Messages In This Thread
Vehicles wont load at file - by RACGaming - 26.01.2013, 14:18
Re: Vehicles wont load at file - by Threshold - 26.01.2013, 14:20

Forum Jump:


Users browsing this thread: 5 Guest(s)