Functions/Player/Server/removeDarkRPVar

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name Player:removeDarkRPVar(string variable, table target)
Description:
Remove a shared variable. Exactly the same as ply:setDarkRPVar(nil).
Returns: nil
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/removeDarkRPVar]Player:removeDarkRPVar[/url][/b]

Function parameters

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

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


Function return values

This function does not return any value.