Functions/Player/Server/applyPlayerClassVars

From Official DarkRP Wiki
Jump to navigation Jump to search
Function
Function name Player:applyPlayerClassVars(boolean applyHealth)
Description:
Applies all variables in a player's associated GMod player class to the player.
Returns: nil
Part of Library: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/Player/Server/applyPlayerClassVars]Player:applyPlayerClassVars[/url][/b]

Function parameters

  1. applyHealth (boolean) (optional)
  2. Whether the player's health should be set to the starting health.


Function return values

This function does not return any value.