Load PerSonal Cars
#1

I have added into OnGameModeInit

after all CreateVehicle

PHP код:
    for(new 377sizeof(CarInfo); h++)
    {
        
AddStaticVehicle(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
        
SetVehicleNumberPlate(h,CarInfo[h][cLicense]);
    } 
but when i go to park in LS near the bank , it doesn't show them from cars.cfg ....

can you say me why ?
Reply
#2

HELP ?
Reply
#3

I dont get it at all
Reply
#4

Any info? -.-
Reply
#5

pawn Код:
for(new h; h < MAX_SERVER_VEHICLES; h++) // Incorrect loop give it a go.
    {
        AddStaticVehicle(CarInfo[h][cModel],CarInfo[h][cLocationx],CarInfo[h][cLocationy],CarInfo[h][cLocationz]+1.0,CarInfo[h][cAngle],CarInfo[h][cColorOne],CarInfo[h][cColorTwo],60000);
        SetVehicleNumberPlate(h,CarInfo[h][cLicense]);
    }
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)