NPC:OnPlayerStreamOut

NPC:OnPlayerStreamOut

Description:
Callback NPC:OnPlayerStreamOut is called when a player is streamed out the NPC.
Callback NPC:OnPlayerStreamOut was added in 0.3a and will not work in earlier versions!
For the player version of this callback, check OnPlayerStreamOut.


Parameters:
(playerid)
int playerid The player who has been destreamed.


Return Values:
This callback does not handle returns.


Examples:
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.