Click or drag to resize

BasePlayerToggleControllable Method

Toggles whether this BasePlayer can control themselves, basically freezes them.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual void ToggleControllable(
	bool toggle
)

Parameters

toggle
Type: SystemBoolean
False to freeze the player or True to unfreeze them.
See Also