check next idcar free
#1

Hi,

If I create a veh with /spawnvehicule, the id car = 1, If I spawn a other veh idcar =2 If I spawn a other veh idcar =3...If I remove the id car = 2. The next spwanvehicule idcar = 2.

My question I need a check (for command) for to know the next slot id car free.

Thanks.
Reply
#2

nobody?
Reply
#3

the CreateVehicle already returns the vehicleid, so you can do
pawn Код:
new NewVehicleID=CreateVehicle(blabla);
and then use it.
Reply
#4

yes but I know when I have spawn the vehicle, I want before. The future slot free.
Reply
#5

ok but I search one idea for https://sampforum.blast.hk/showthread.php?tid=320534
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)