FreezePlayer
Freezes or unfreezes a player into their current position. While frozen, they won't be able to move, but their walking and running animations will still play. The player will still be able to do other things, like shooting a weapon.
Syntax
```csharp void NAPI.Player.FreezePlayer(Client player, bool freeze); ```
Required Arguments
- player: parameter input should be in Client type.
- freeze: parameter input should be in bool type.
Usage example(s)
Example Description
```csharp [Command("freeze")] public void FreezeCommand(Client sender, bool frozen) {
NAPI.Player.FreezePlayer(sender, frozen);
} ```