Template:Weapon functions: Difference between revisions
Jump to navigation
Jump to search
(Rework) |
(Add isWeaponRenderEnabled & setWeaponRenderEnabled by FileEX (https://github.com/multitheftauto/mtasa-blue/pull/3917)) |
||
Line 2: | Line 2: | ||
<ul> | <ul> | ||
{{#if: {{{1|}}} | {{#if: {{{1|}}} | ||
| {{#ifeq: {{lc:{{{1}}}}} | client | |||
| | |||
<!-- CLIENT functions --> | |||
{{New feature/item|3.0161|1.6.0|22880|<li>[[isWeaponRenderEnabled]]</li>}} | |||
{{New feature/item|3.0161|1.6.0|22880|<li>[[setWeaponRenderEnabled]]</li>}} | |||
}} | |||
| {{#ifeq: {{lc:{{{1}}}}} | server | | {{#ifeq: {{lc:{{{1}}}}} | server | ||
| | | |
Revision as of 11:19, 4 January 2025
The template contains a list of functions. It accepts 1 parameter, which specifies whether the functions should be displayed for server or client. Regardless of the parameter, a list of shared functions will also be displayed
Example: {{Camera functions|client}} will display a list of client-side functions, and below it a list of shared functions, similarly for the server.