Difference between revisions of "VN ms fnc params arsenal"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) m (Fix) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 8: | Line 7: | ||
|a= | |a= | ||
− | |e= | + | |e= local |
|g1= params | |g1= params | ||
− | |d= | + | |d= Sets VN whitelisted arsenal enabled/disabled parameter. |
− | |||
− | |||
− | + | |s= [parameter] call [[VN_ms_fnc_params_arsenal]] | |
− | |||
− | + | |p1n= parameter | |
− | + | |p1t= number | |
− | + | |p1d= acts as a boolean; 1 = enabled, any other value = 0 = disabled. | |
− | + | |p1v= 0 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |p1n= | ||
− | |p1t= | ||
− | |p1d= | ||
− | |p1v= | ||
|p2n= | |p2n= | ||
Line 40: | Line 25: | ||
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= function's success |
− | |x1= <code> | + | |x1= <code>[1] call [[VN_ms_fnc_params_arsenal]];</code> |
}} | }} |
Latest revision as of 21:30, 25 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Sets VN whitelisted arsenal enabled/disabled parameter.
Syntax
- Syntax
- [parameter] call VN_ms_fnc_params_arsenal
- Parameters
- parameter: Number - (Optional, default
0
) acts as a boolean; 1 = enabled, any other value = 0 = disabled. - Return value
- Boolean - function's success
Examples
- Example 1
[1] call VN_ms_fnc_params_arsenal;