Skip to main content

SetVar

Shared
Lyn.Player.SetVar(Player ply, string key, any value)Function

Description

Sets a variable on the player in the current state.


So if it was set serverside, it will only be available on the server. Same for clientside.

Params

  1. Player ply
  2. string key
  3. any value