NPC:OnVehicleStreamOut

From SA-MP Wiki

Jump to: navigation, search

NPC:OnVehicleStreamOut


Warning: This NPC callback was added in SA-MP version 0.3. It is not available in previous versions.


Important Note: For the player version of this callback, check OnVehicleStreamOut.


{{Description|This callback is called when a vehicle is streamed out from the NPC. A simpler definition would be when the NPC sees the gray vehicle icon disappear from his map.

Parameters:
(vehicleid)
vehicleidThe vehicle that has been destreamed.


public OnVehicleStreamOut(vehicleid)
{
    SendChat("Great! I have just unloaded a vehicle!");
    return 1;
}

Related Callbacks

The following callbacks might be useful as well, as they're related to this callback in one way or another.

Personal tools