BIS fnc onPlayerConnected: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |s1=[" to " |s1= [") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)<\/code>" to "<sqf>$1</sqf>") |
||
Line 20: | Line 20: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= < | |x1= <sqf>[ | ||
{ | { | ||
params ["_player", "_params"]; | params ["_player", "_params"]; | ||
Line 26: | Line 26: | ||
}, | }, | ||
"Parameter" | "Parameter" | ||
] call BIS_fnc_onPlayerConnected;</ | ] call BIS_fnc_onPlayerConnected;</sqf> | ||
|seealso= [[onPlayerConnected]] [[BIS_fnc_addStackedEventHandler]] [[Event Scripts]] | |seealso= [[onPlayerConnected]] [[BIS_fnc_addStackedEventHandler]] [[Event Scripts]] | ||
}} | }} |
Revision as of 11:09, 13 July 2022
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