Respawn all unused Vehicle Cmd - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Respawn all unused Vehicle Cmd (
/showthread.php?tid=544405)
Respawn all unused Vehicle Cmd -
HydraHumza - 01.11.2014
Hello Friends!
Can Anyone Tell me how to create Cmd of Respawn All unused vehicle or give me code so i can used in my gamemode.
Regards Humza,
Re : Respawn all unused Vehicle Cmd -
MCZOFT - 01.11.2014
thought you said make a command , lol sorry
if you want it pm me ..
Re: Respawn all unused Vehicle Cmd -
ZaBraNjeNi - 01.11.2014
Deleted, wrong post.
Re: Respawn all unused Vehicle Cmd -
Campbell- - 01.11.2014
- Iterate through all spawned vehicles.
- Check whether they are occupied or not.
- Respawn the vehicles that are not occupied.
How far can you solve it yourself? What obstacles do you come across?