FreezePlayerTime
Freezes or unfreezes the world time for the given player.
Syntax
void NAPI.Player.FreezePlayerTime(Client client, bool freeze);
Required Arguments
- client: parameter input should be in Client type.
- freeze: parameter input should be in bool type.
Usage example(s)
[Command("freezetime")]
public void FreezeTimeCommand(Client sender, bool frozen)
{
NAPI.Player.FreezePlayerTime(sender, frozen);
}