OnVehicleSpawn.
#1

Hi,

This callback will be called, when vehicle will be spawn'ed?

AddStaticVehicleEx(model,X,y,Z,A,0,0,60);

Respawn delay is 60 second now. Then if i go by vehicle then out from server this vehicle will spawn to spawn after 1 minute, and this callback OnVehicleSpawn will be called?
Reply
#2

No, Its going under OnGameModeInit !
Reply
#3

I don't ask, where i have put this, and where you find am asking it? am asking about OnVehicleSpawn callback does he get called, when respawn delay time pass.
Reply
#4

It isn't being called at AddStaticVehicleEx/CreateVehicle, it is called only when the vehicle is respawned (respawn delay, or after death).
Reply
#5

OnVehicleSpawn is actually OnVehicleReSpawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)