SA-MP Forums Archive
a qucik question - 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: a qucik question (/showthread.php?tid=133260)



a qucik question - shady91 - 11.03.2010

is there away to detect if a vehicle's spawned?
as I have never looked before, when I look I can't find it so I'm hoping someone knows.


Re: a qucik question - boelie - 11.03.2010

There is a callback called; OnVehicleSpawn(vehicleid)
and a OnvehicleDeath

check it here https://sampwiki.blast.hk/wiki/OnVehicleSpawn




Re: a qucik question - shady91 - 11.03.2010

Quote:
Originally Posted by boelie
There is a callback called; OnVehicleSpawn(vehicleid)
and a OnvehicleDeath

check it here https://sampwiki.blast.hk/wiki/OnVehicleSpawn

lol you think i don't know that, but thanks as you gave me an idea.


Re: a qucik question - boelie - 11.03.2010

XD lol what do you want to script then?


Re: a qucik question - shady91 - 11.03.2010

to do something, i kinda got it from the idea you gave me, but i got a little problem with it.
http://forum.sa-mp.com/index.php?topic=158559.0