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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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