Posts: 95
Threads: 28
Joined: Jan 2011
Reputation:
0
Alright, i need help with a problem i am facing. It's about a simple vehicle system where it gives every vehicle bought a random number. This number will be used to tow the car back and to give keys to another player. So how would i do this? Just help me figure out the code to assign the number to the vehicle.
I have no idea where to start.
Posts: 2,082
Threads: 118
Joined: Jan 2010
Reputation:
0
All the vehicles will have a unique vehicle identification anyway, use that? And store it in a variable?
Posts: 124
Threads: 4
Joined: Jul 2008
Reputation:
0
Just posting here because I thought it's worth mentioning that SAMP assigns vehicleids starting at 1, unlike playerids which start at 0. It's something to note if you plan on keeping track of every single vehicle on there server!
Posts: 95
Threads: 28
Joined: Jan 2011
Reputation:
0
How would i get a vehicle id, im still confused -.-