NPC:OnVehicleStreamOut
From SA-MP Wiki
Description:
This callback is called when a vehicle is streamed out for an NPC.
Note | For the player version of this callback, see OnVehicleStreamOut. |
(vehicleid)
vehicleid | The vehicle that was streamed out. |
Return Values:
This callback does not handle returns.
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.