Forward function when a vehicle re-spawn
#1

Hi!

I want to do something, when a vehicle respawned (not exploded). I don't know that the OnVehicleDeath() function is called when a vehicle respawn.

Thank you.
Reply
#2

pawn Код:
public OnVehicleSpawn(vehicleid)
{
    return 1;
}
?
Reply
#3

The OnVehicleSpawn() function call when a vehicle general spawn. But I need a function, when a vehicle re-spawn (for example, There isn't nobody in the vehicle much time, and the servere put the vehicle to his spawn point).
Reply
#4

CreateVehicle(vehicletype, Float, Float:y, Float:z, Float:rotation, color1, color2, respawn_relay);
Reply
#5

Yes, I think this. If the player leave vehicle, after respawn_delay time the vehicle respawn. But I don't want use timers, to do this. There isn't be any forward function what call when a server respawn the vehicle?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)