Vehicle Spawning
#1

Hey,

I'm just wondering but is it possible to get a recent spawned cars id, so like say I spawn a car, it will also set information to it like a plate or lock?

I'm trying to make it more easier for me to get a system working
Reply
#2

What do you mean recent spawned cars?
When a vehicle spawns OnVehicleSpawn triggers then you can do changes to that car,
You need some arrays and stuff for your vehicles.
Reply
#3

Store the data using enums and store all of the information into a file and then load it back when you need it.

You could use SQLite, MYSQL, Y_INI, etc..
Reply
#4

Quote:

When a vehicle spawns OnVehicleSpawn triggers then you can do changes to that car,

No, OnVehicleSpawn is called when a vehicle respawns.

Why can't you just assign all this information when you spawn the car
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)