NPC:IsPlayerStreamedIn
From SA-MP Wiki
Note | For the vehicle version of this function, check NPC:IsVehicleStreamedIn. |
Description:
Checks if a player is streamed in for an NPC. Only nearby players are streamed in.
(playerid)
playerid | The ID of the player to check. |
Return Values:
- 1: The player is streamed in.
- 0: The player is not streamed in.
Example Usage:
if(IsPlayerStreamedIn(playerid)) { // Do something }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- NPC:IsVehicleStreamedIn: Check if a vehicle is streamed in for an NPC.