Epoch/Sources/epoch_code/compile/setup/EPOCH_client_rejectPlayer.sqf

28 lines
640 B
Plaintext
Raw Normal View History

2015-12-07 16:24:52 +00:00
/*
Author: Aaron Clark - EpochMod.com
Contributors:
Description:
Reject players own connection
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
2016-06-13 16:54:19 +00:00
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/setup/EPOCH_client_rejectPlayer.sqf
2015-12-07 16:24:52 +00:00
Example:
2017-07-12 14:54:03 +00:00
true remoteExec ['EPOCH_client_rejectPlayer',_player];
2015-12-07 16:24:52 +00:00
Parameter(s):
_this: BOOL - true = set bad publicVariable to server forces kick
Returns:
NOTHING
*/
2015-09-14 20:55:36 +00:00
if (_this) then {
PLAYER_BADHIVE = true;
publicVariableServer "PLAYER_BADHIVE";
2015-12-07 16:24:52 +00:00
};