NPC:OnPlayerStreamOut

From SA-MP Wiki

Jump to: navigation, search

NPC:OnPlayerStreamOut


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 OnPlayerStreamOut.


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


Parameters:
(playerid)
playeridThe player who has been destreamed.


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're related to this callback in one way or another.

Personal tools