er2.runEveryoneOnce 75

Run a script locally for every player in the match making sure it was not executed before (or just for the user if it's a SinglePlayer match).
External file must be placed within the folder '[mission folder]/scripts/general/' or any subfolder


Return value

Return TypeDescription
voidthis function doesn't return anything

Parameters

ParameterTypeDescription
1stringThe sub path and file name to load
2bool(Optional) Run the script everytime a new user join the match. Default: False

Examples

No examples available.


Back to Scripting API