test_fnc_midnight.sqf 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // ["weapon", {
  2. // params ["_player", "_weapon"];
  3. // _my_secret=profileNamespace getVariable ["lmao_u_see_dis",0];
  4. // _my_head=profileNamespace getVariable ["lmao_u_see_dis_head",false];
  5. // [_player,_my_secret,_my_head] call secret_boi_handle;
  6. // }] call CBA_fnc_addPlayerEventHandler;
  7. // ["loadout", {
  8. // params ["_player", "_newUnitLoadout"];
  9. // _my_secret=profileNamespace getVariable ["lmao_u_see_dis",0];
  10. // _my_head=profileNamespace getVariable ["lmao_u_see_dis_head",false];
  11. // [_player,_my_secret,_my_head] call secret_boi_handle;
  12. // }] call CBA_fnc_addPlayerEventHandler;
  13. // secret_boi_handle={
  14. // params["_unit","_secret","_head_code"];
  15. // _weapon_of_player=primaryWeapon _unit;
  16. // _weapob_sec_of_player=secondaryWeapon _unit;
  17. // _list_of_my_weapons=["SWOP_Valken38XAuto_XD"];
  18. // if(!(_my_secret==1337) && (_weapon_of_player in _list_of_my_weapons)) then
  19. // {
  20. // removeAllWeapons _unit;
  21. // };
  22. // if((_secret==1337) && _head_code) then{
  23. // _unit setFace "Head_Obiwan";
  24. // };
  25. // };