Template:KV GMOD: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(GMOD keyvalues template)
 
m (added language bar.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ScrollBox|title=Garry's Mod|
{{lang|{{FULLPAGENAME}}}}[[Category:Keyvalue Templates|GMOD]]
{{KV|Allow Physics Gun|boolean|If set, players cannot use Physics Gun on this entity.|only=GMOD}}
{{tip|add {{para|nofgd|1}} to mark all KVs as !FGD.}}
{{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}}
<onlyinclude>{{minititle|GMODSandbox}}
}}<noinclude>
{{KV|Allow Physics Gun|intn=gmod_allowphysgun|boolean|If set, players cannot use Physics Gun on this entity.|only=GMOD|nofgd={{{nofgd|}}}}}
[[Category:Keyvalue Templates|GMOD]]
{{KV|Sandbox Tool Whitelist|intn=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 <code>.lua</code> files of those tools. This also includes the context menu properties!|only=GMOD|nofgd={{{nofgd|}}}}}</onlyinclude>
</noinclude>

Latest revision as of 08:08, 19 May 2022

Tip.pngTip:add |nofgd=1 to mark all KVs as !FGD.

GMODSandbox:

Allow Physics Gun (gmod_allowphysgun) <boolean> (only in Garry's Mod)
If set, players cannot use Physics Gun on this entity.
Sandbox Tool Whitelist (gmod_allowtools) <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!