Garry's Mod Wiki

Garry's Mod Wiki

  WEAPON:SetupDataTables()

Description

Called when the SWEP should set up its Data Tables.

Example

Sets up networked variables, adds functions SetDamage, GetDamage, SetMuzzlePos and GetMuzzlePos.

function SWEP:SetupDataTables() self:NetworkVar( "Float", 0, "Damage" ) self:NetworkVar( "Vector", 0, "MuzzlePos" ) end

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...