NPC:OnPlayerStreamOut
From SA-MP Wiki
Important | For the player version of this callback, check OnPlayerStreamOut. |
Description:
This callback is called when a player is streamed out the NPC.
(playerid)
playerid | The player who has been destreamed. |
Return Values:
This callback does not handle returns.
Example Usage:
public OnPlayerStreamOut(playerid) { new string[80]; format(string, sizeof(string), "Bye ID %i!", playerid); SendChat(string); 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:OnPlayerStreamIn: Called when a player streams is streamed for the NPC.
- NPC:OnVehicleStreamIn: Called when the NPC streams in a vehicle.
- NPC:OnVehicleStreamOut: Called when the NPC streams out a vehicle.