NPC:OnPlayerStreamOut

From SA-MP Wiki

Jump to: navigation, search


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


Image:32px-Circle-style-warning.png

Important
Note

For the player version of this callback, check OnPlayerStreamOut.


Description:

This callback is called when a player is streamed out the NPC.


Parameters:
(playerid)
playeridThe 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.

Personal tools
Navigation
Toolbox