Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. private ["_type"];
  2. if !(player call bis_fnc_isUnitVirtual) then {
  3. _type = _this select 0;
  4. if (_type > 0) then {
  5. _fnc_init = {
  6. _this spawn {
  7. _player = _this select 0;
  8. if !(alive _player) exitwith {};
  9. waituntil {!([] call bis_fnc_isLoading)};
  10. _player addrating -1e10;
  11. };
  12. };
  13.  
  14. [player,objnull] call _fnc_init;
  15. player addeventhandler ["respawn",_fnc_init];
  16. };
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement