NPC:OnVehicleStreamOut
Description:
Callback NPC:OnVehicleStreamOut called when a vehicle is streamed out for an NPC.
Callback NPC:OnVehicleStreamOut was added in 0.3a and will not work in earlier versions! |
For the player version of this callback, see OnVehicleStreamOut. |
Parameters:
(vehicleid)
int | vehicleid | The vehicle that was streamed out. |
Return Values:
This callback does not handle returns.
Examples:
public OnVehicleStreamOut(vehicleid) { SendChat("A vehicle streamed out for me!"); return 1; }
Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.
- NPC:OnVehicleStreamIn: Called when the NPC streams in a vehicle.
- NPC:OnPlayerStreamIn: Called when a player is streamed by the NPC.
- NPC:OnPlayerStreamOut: Called when a player streams out from the NPC.