Template:KV GMOD: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(GMOD keyvalues template)
 
m (Added stuff I somehow missed, whoops)
Line 1: Line 1:
{{ScrollBox|title=Garry's Mod|
{{ScrollBox|title=Garry's Mod|
{{KV|Allow Physics Gun|boolean|If set, players cannot use Physics Gun on this entity.|only=GMOD}}
{{KV|Allow Physics Gun (gmod_allowphysgun)|boolean|If set, players cannot use Physics Gun on this entity.|only=GMOD}}
{{KV|Sandbox Tool Whitelist|string|If set, only given tools can be used on this entity. You need to supply the tool class names, the names of the .lua files of those tools. This also includes the context menu properties!|only=GMOD}}
{{KV|Sandbox Tool Whitelist (gmod_allowtools)|string|If set, only given tools can be used on this entity. You need to supply the tool class names, the names of the .lua files of those tools. This also includes the context menu properties!|only=GMOD}}
}}<noinclude>
}}<noinclude>
[[Category:Keyvalue Templates|GMOD]]
[[Category:Keyvalue Templates|GMOD]]
</noinclude>
</noinclude>

Revision as of 11:24, 25 May 2019

Garry's Mod:
Allow Physics Gun (gmod_allowphysgun) ([todo internal name (i)]) <boolean> (only in Garry's Mod)
If set, players cannot use Physics Gun on this entity.
Sandbox Tool Whitelist (gmod_allowtools) ([todo internal name (i)]) <string> (only in Garry's Mod)
If set, only given tools can be used on this entity. You need to supply the tool class names, the names of the .lua files of those tools. This also includes the context menu properties!