object following vehicle? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: object following vehicle? (
/showthread.php?tid=176227)
object following vehicle? -
thomas.. - 12.09.2010
okay, thats what im trying to make.
im using getclosestvehicle and getdistancetovehicle (stocks)
but i dont know how to create the object to follow the closest vehicle?
Re: object following vehicle? -
boelie - 12.09.2010
hmm...explain more what you want to do with it maybe i can help
Re: object following vehicle? -
thomas.. - 12.09.2010
Quote:
Originally Posted by boelie
hmm...explain more what you want to do with it maybe i can help
|
ok, say you typed /bomb.
a rocket would fire at the nearest vehicle, and chasing it if the vehicle wasnt stationary, then the bomb would catch up to the car, then exlpode it