Difference between revisions of "VN fnc music"
Jump to navigation
Jump to search
(Created page with "{{Function |v= 1.00 |author=Ethan Johnson |a= |e= |g1= vn_music_functions |d= <pre>Main function for the vehicle music system.</pre> |s= [] call VN_fnc_music; |p1n=_...") |
|||
Line 11: | Line 11: | ||
|d= <pre>Main function for the vehicle music system.</pre> | |d= <pre>Main function for the vehicle music system.</pre> | ||
− | |s= [] call [[VN_fnc_music]]; | + | |s= [_mode,_params] call [[VN_fnc_music]]; |
|p1n=_mode | |p1n=_mode |
Latest revision as of 01:32, 5 May 2022
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Main function for the vehicle music system.
Syntax
- Syntax
- [_mode,_params] call VN_fnc_music;
- Parameters
- _mode: String - (Optional, default
""
) Switch mode. - _params: Array - (Optional, default
[]
) Params array which contains variables for specific modes. - Return value
- Boolean - Function reached the end.
Examples
- Example 1
- ["open"] call vn_fnc_music;