er2.runEveryoneOnce 144
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 Type | Description |
|---|---|
| void | this function doesn't return anything |
Parameters
| Parameter | Type | Description |
|---|---|---|
| 1 | string | The sub path and file name to load |
| 2 | bool | (Optional) Run the script everytime a new user join the match. Default: False |
Examples
No examples available.
