From DarkRP
Jump to navigation Jump to search
Function name Player:setDarkRPVar(string variable, any value, table target)
Set a shared variable. Make sure the variable is registered with DarkRP.registerDarkRPVar!
Returns: nil
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=]Player:setDarkRPVar[/url][/b]

Function parameters[edit]

  1. variable (string)
  2. The name of the variable.

  3. value (any)
  4. The value of the variable.

  5. target (table) (optional)
  6. The clients to whom this variable is sent. Defaults to all players.

Function return values[edit]

This function does not return any value.