Epoch/Sources/epoch_server_settings/EpochEvents/PaydayEvent.sqf
vbawol 7714c62e96 test fix issue with joining a dead players groups
optimize reduce number of allPlayer calls
2017-03-05 11:04:43 -06:00

10 lines
364 B
Plaintext

/*
Give everyone alive on the server 100 Crypto.
by Aaron Clark - EpochMod.com
Improvements and or bugfixes and other contributions are welcome via the github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_server_settings/EpochEvents/PaydayEvent.sqf
*/
{[_x,100] call EPOCH_server_effectCrypto;} forEach (allPlayers select {alive _x});