Difference between revisions of "cmf main fnc serverInit"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
|r1=None | |r1=None | ||
|seealso= [[cmf_main_fnc_addonBlacklist]] [[cmf_main_fnc_localize]] [[cmf_main_fnc_missionInit]] | |||
[[cmf_main_fnc_playerInit]] | |||
|var1= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_main_server_initialized {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that is true when CMF has finished initializing on the server | |var1= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_main_server_initialized {{!}}{{!}} A [https://community.bistudio.com/wiki/Boolean Boolean] variable that is true when CMF has finished initializing on the server | ||
|var2= {{!}} | |var2= {{!}} GLOBAL {{!}}{{!}} Mission {{!}}{{!}} cmf_main_version {{!}}{{!}} A [https://community.bistudio.com/wiki/String String] variable containing the CMF version number | ||
|event1= {{!}} GLOBAL {{!}}{{!}} cmf_main_server_initialized {{!}}{{!}} [ ] {{!}}{{!}} Is raised when the server has been initialized with CMF | |event1= {{!}} GLOBAL {{!}}{{!}} cmf_main_server_initialized {{!}}{{!}} [ ] {{!}}{{!}} Is raised when the server has been initialized with CMF | ||
|event2= {{!}} GLOBAL {{!}}{{!}} cmf_main_server_onPlayerConnected {{!}}{{!}} [id, uid, name, JIP, Owner, idStr] {{!}}{{!}} Is raised when the server detects a new player | |event2= {{!}} GLOBAL {{!}}{{!}} cmf_main_server_onPlayerConnected {{!}}{{!}} [id, uid, name, JIP, Owner, idStr] {{!}}{{!}} Is raised when the server detects a new player | ||
}} | }} |
Latest revision as of 21:59, 17 December 2022
Description
- Description:
- This script handles pre-init components for CMF. It is a CMF internal script.
- Execution:
- Call
- Groups:
- CMF3: main
Syntax
- Syntax:
- None
- Return Value:
- None
Examples
- Examples:
- Example Needed
Additional Information
- See also:
- cmf_main_fnc_addonBlacklist cmf_main_fnc_localize cmf_main_fnc_missionInit cmf_main_fnc_playerInit
Internal Variables
Locality | Namespace | Name | Description |
---|---|---|---|
GLOBAL | Mission | cmf_main_server_initialized | A Boolean variable that is true when CMF has finished initializing on the server |
GLOBAL | Mission | cmf_main_version | A String variable containing the CMF version number |
Events
Locality | Name | Variables | Description |
---|---|---|---|
GLOBAL | cmf_main_server_initialized | [ ] | Is raised when the server has been initialized with CMF |
GLOBAL | cmf_main_server_onPlayerConnected | [id, uid, name, JIP, Owner, idStr] | Is raised when the server detects a new player |
Notes