NPC:OnVehicleStreamOut

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 16:08, 20 April 2014
MP2 (Talk | contribs)

← Previous diff
Current revision
Ikkentim (Talk | contribs)
(Added return value)
Line 9: Line 9:
{{Parameters|vehicleid}} {{Parameters|vehicleid}}
{{Param|vehicleid|The vehicle that was streamed out.}} {{Param|vehicleid|The vehicle that was streamed out.}}
 +
 +{{NoReturnCallback}}
<pawn> <pawn>

Current revision



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.