BIS fnc onPlayerConnected: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ") |
Lou Montana (talk | contribs) m (Text replacement - ";[ ]+ " to "; ") |
||
Line 22: | Line 22: | ||
|x1= <code>[ | |x1= <code>[ | ||
{ | { | ||
[[params]] ["_player", "_params"]; | [[params]] ["_player", "_params"]; | ||
[[hint]] [[name]] _player; [[hint]] _params; | [[hint]] [[name]] _player; [[hint]] _params; | ||
}, | }, |
Revision as of 00:54, 8 August 2021
Description
- Description:
- Executes a function on server every time a player connects the mission.
- Execution:
- call
- Groups:
- MultiplayerEvent Handlers
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