Car Models Question
#1

Hello,

I've got 2 teams in my gamemode: Army and Drug Smugglers.

Both of them have cars, and i wanted to ask you this:

Could I change the vehicle model without making a gamemode restart/and without destroying the vehicle (just respawning).

Because I use things like IsAnArmyVeh and IsAnDSVeh so if i would destroy vehicles it would mess up the ID's.

Does anyone know how to do this ? Thank you.
Reply
#2

If you immediately replace the vehicle once it's deleted then it's ID will remain the same. It will only change if you have deleted multiple vehicles with IDs lower than the formentioned vehicle.
Reply
#3

If you make like this ID will stay the same:
pawn Код:
DeleteVehicle(vehicleid);
Createvehicle(...);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)