03.07.2013, 15:52
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 !?
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 !?