Click or drag to resize

BasePlayerIsPlayerStreamedIn Method

Checks if a BasePlayer is streamed in this BasePlayer's client.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public virtual bool IsPlayerStreamedIn(
	BasePlayer other
)

Parameters

other
Type: SampSharp.GameMode.WorldBasePlayer
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