sm.game.setEnableRestrictions

Enables and disables the use of restrictions. If true restrictions will be applied, if false the restrictions will default to unrestricted.

Kind: Function

Environments: Game

Game

sm.game.setEnableRestrictions( enableRestrictions )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
enableRestrictions boolean Restrictions enable state.