Click or drag to resize

PlayerIsPlayerStreamedIn Method

Checks if the specified player is streamed in this player's client.

Namespace:  SampSharp.Entities.SAMP
Assembly:  SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public bool IsPlayerStreamedIn(
	EntityId player
)

Parameters

player
Type: SampSharp.EntitiesEntityId
The player to check is streamed in.

Return Value

Type: Boolean
True if the other Player is streamed in for this player, False if not.
Remarks
Players aren't streamed in on their own client, so if this player is the same as the other Player, it will return false!
Remarks
Players stream out if they are more than 150 meters away (see server.cfg - stream_distance)
See Also