🟪

sam.Config.set

sam.Config.set( string key, any value, (optional) bool force = false )

Description

Set a config's value.
On server it just sets it and casts it for everyone.
On client it sends a netmessage to set it, if you have permission it will be casted to everyone.

Aguments

  1. 1.

    ​string key

  2. 2.

    ​any value

  3. 3.

    (optional) bool force = false

    If force then it will override and cast it for everyone, it can be useful to use with tables.