BIS fnc onPlayerConnected: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2") |
||
Line 16: | Line 16: | ||
*1: Params | *1: Params | ||
|p2= params: [[Anything]] - | |p2= params: [[Anything]] - parameters passed to the code or function | ||
|r1= [[Boolean]] | |r1= [[Boolean]] |
Revision as of 15:45, 8 November 2023
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:
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