This function was added in SA-MP 0.3.7 and will not work in earlier versions!
This callback is called when an actor is streamed in by a player's client.
|actorid||The ID of the actor that has been streamed in for the player.|
|forplayerid||The ID of the player that streamed the actor in.|
It is always called first in filterscripts.
public OnActorStreamIn(actorid, forplayerid)
format(string, sizeof(string), "Actor %d is now streamed in for you.", actorid);
SendClientMessage(forplayerid, 0xFFFFFFFF, string);
This callback can also be called by NPC.