Assign specific ID to a vehicle
#1

Me again..

I made a COS based on the servers vehicleids, so I can't destroy a created car. If I do so the vehicle ids will mess up so I need delete all COS vehicles and start buying them again.

My question is: is there a way to assign a specific vehicleid to a vehicle ex. start COS car IDs from ID 1000 and so on so I can create cars for events, factions and so on. Currently, when a player disconnects I just set it's vehicle position to a random float somewhere in the water. Nowhere in my script I have "DestroyVehicle", I can't risk to mess up vehicleids because the COS file names are based on the vehicleids.

I've read this thread https://sampforum.blast.hk/showthread.php?tid=406551 and ****** said assign a variable to record the vehicle ID and work with it but would such an metod mess the IDs too !?
Reply


Messages In This Thread
Assign specific ID to a vehicle - by Muhamed.pwn - 03.07.2013, 15:52
Re: Assign specific ID to a vehicle - by iPoisonxL - 03.07.2013, 15:56
Re: Assign specific ID to a vehicle - by Muhamed.pwn - 03.07.2013, 16:03
Re: Assign specific ID to a vehicle - by introzen - 03.07.2013, 16:08
Re: Assign specific ID to a vehicle - by TheStreetsRP - 03.07.2013, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)