BIS fnc onPlayerConnected: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Multiplayer |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: MP(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "") |
||
Line 49: | Line 49: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:Functions|{{uc:onPlayerConnected}}]] | [[Category:Functions|{{uc:onPlayerConnected}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:onPlayerConnected}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:onPlayerConnected}}]] |
Revision as of 01:15, 10 October 2020
Description
- Description:
- Executes a function on server every time a player connects the mission.
- Execution:
- call
- Groups:
- Multiplayer
Syntax
- Syntax:
- [code, params]] call BIS_fnc_onPlayerConnected
- Parameters:
- code: Code or String - Function name or code to be executed. Following parameters are passed to the function or code:
- 0: Player
- 1: Params
- params: Anything - Parameters passed to the code or function
- Return Value:
- Boolean
Examples
- Example 1:
[ { params ["_player", "_params"]; hint name _player; hint _params; }, "Parameter" ] call BIS_fnc_onPlayerConnected;
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note