Template:KV GMOD:zh-cn: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (moved from the English "Keyvalue Templates" category to the Simplified Chinese one.)
m (→‎top: clean up, replaced: {{tip:zh-cn → {{tip)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ScrollBox|title=GMODSandbox|
{{lang|Template:KV GMOD}}[[Category:Keyvalue Templates:zh-cn|GMOD]]
{{KV|允许物理枪控制(gmod_allowphysgun)|boolean|如果禁用,玩家无法在此实体上使用物理枪.|only=GMOD}}
{{tip|添加 {{para|nofgd|1}} 以把 !FGD 标记到所有键值。}}
{{KV|沙盒模式工具白名单列表(gmod_allowtools)|string|如果设置,只有被指定的工具才能用于该实体.你需要提供工具的类,工具的.lua文件名称.还包括这些工具的上下文属性!|only=GMOD}}
<onlyinclude>{{ScrollBox|title=GMODSandbox|
}}<noinclude>
{{KV:zh-cn|允许物理枪控制 (Allow Physics Gun)|intn=gmod_allowphysgun|boolean|如果禁用,玩家无法在此实体上使用物理枪。|only=GMOD}}
[[Category:Keyvalue Templates:zh-cn|GMOD]]
{{KV:zh-cn|沙盒模式工具白名单列表 (Sandbox Tool Whitelist)|intn=gmod_allowtools|string|如果设置,只有被指定的工具才能用于该实体.你需要提供工具的类,工具的.lua文件名称。还包括这些工具的上下文属性!|only=GMOD}}
</noinclude>
}}</onlyinclude>

Latest revision as of 12:16, 6 January 2024

Tip.pngTip:添加 |nofgd=1 以把 !FGD 标记到所有键值。
GMODSandbox:
允许物理枪控制 (Allow Physics Gun) (gmod_allowphysgun) <boolean> (仅存在于 Garry's Mod 中)
如果禁用,玩家无法在此实体上使用物理枪。
沙盒模式工具白名单列表 (Sandbox Tool Whitelist) (gmod_allowtools) <string> (仅存在于 Garry's Mod 中)
如果设置,只有被指定的工具才能用于该实体.你需要提供工具的类,工具的.lua文件名称。还包括这些工具的上下文属性!