OnVehicleSpawn - 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: OnVehicleSpawn (
/showthread.php?tid=391486)
OnVehicleSpawn -
Muhamed.pwn - 10.11.2012
I've searched for a callback "OnVehicleRESPAWN", is it the same as OnVehicleSpawn?
ex.
When a player parks a Ownable Vehicle, set it to respawn and under "OnVeihcleRespawn" SetVehiclePos(...
Re: OnVehicleSpawn -
Konstantinos - 10.11.2012
The
OnVehicleSpawn is by SA-MP Team, the callback you saw, it was probably a custom one.
Re: OnVehicleSpawn -
Muhamed.pwn - 10.11.2012
I haven't found it but will OnVehicleSpawn be called when a vehicle is respawned ?
Re: OnVehicleSpawn -
Konstantinos - 10.11.2012
OnVehicleSpawn - This callback is called when a vehicle
respawns.
Re: OnVehicleSpawn -
Plovix - 10.11.2012
Quote:
Originally Posted by Muhamed.pwn
I haven't found it but will OnVehicleSpawn be called when a vehicle is respawned ?
|
Yes,it's called always when any vehicle is spawned/respawned
Re: OnVehicleSpawn -
Muhamed.pwn - 10.11.2012
Thank you man, I feel a bit dumb.
lock