weapons.Register

From GMod Wiki

Jump to: navigation, search
Warning 64 light.png Internal Function: weapons.Register
weapons.Register is an internal function. This means you will be able to call it, but you really shouldn't.


Function
Syntax weapons.Register( Table weapon_table, String weapon_name, Boolean reload )
Where is this used?
Description:
Registers a SWEP.
Returns: nil
Part of Library: Weapons
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Weapons.Register]Weapons.Register [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A


Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox