14.10.2010, 16:04
(
Last edited by DarrenReeder; 14/10/2010 at 04:26 PM.
)
Quote:
Can you give me an idea of how to do this for cars that are loaded up via an array like MAX_VEH it loops that and goes through all the vehicles in a file and loads them up. Basically, I want it so when you mod your car In Game it will save to the userfile for the vehicle and load up when the server starts.
|
Basicly, the way i would do it is have an array made like...
pawn Code:
new carIDs[99]; // 99 being how many vehicles are loaded in the file...
pawn Code:
carIDs[i] = CreateVehicle(); // i being the variable you use to loop....
Hope that makes sense..