NPC:OnVehicleStreamOut

From SA-MP Wiki

Jump to: navigation, search


NPC:OnVehicleStreamOut was added in SA-MP 0.3a This NPC callback was added in SA-MP 0.3a and will not work in earlier versions!


Description:

This callback is called when a vehicle is streamed out for an NPC.


Image:32px-Ambox_warning_orange.png

Note

For the player version of this callback, see OnVehicleStreamOut.


Parameters:
(vehicleid)
vehicleidThe 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.