Garry's Mod Wiki

Revision Difference

PLAYER:SetupDataTables#552942

<function name="SetupDataTables" parent="PLAYER" type="hook"> <ishook>yes</ishook>⤶ <description>Setup the network table accessors.</description> <realm>Shared</realm> <predicted>No</predicted>⤶ <file line="31">gamemodes/base/gamemode/player_class/player_default.lua</file> </function> <example> <description>Example usage.</description> <code> function PLAYER:SetupDataTables() self.Player:NetworkVar( "Int", 0, "Money" ) end </code> </example>