initPlayerLocal.sqf 866 B

12345678910111213141516171819202122
  1. /*
  2. (_this select 0) addEventHandler ["InventoryOpened", {
  3. namUnit=(_this select 0);
  4. _namBackPack=typeof(unitBackpack namUnit);
  5. _namIsConfigured=namUnit getVariable ["namJumpPackConfig", false];
  6. if(!_namIsConfigured && {_namBackPack isEqualTo "SWOP_B_CloneDV"}) then
  7. {
  8. [namUnit] execVM "scripts\zeus3denScripts\playerBased\airborne\HJS Protocal\jumpAssinger.sqf";
  9. [namUnit] execVM "scripts\zeus3denScripts\playerBased\airborne\HJS Protocal\jumpDecider.sqf";
  10. [namUnit] execVM "scripts\zeus3denScripts\playerBased\airborne\HJS Protocal\jumpDeciderUp.sqf";
  11. [namUnit] execVM "scripts\zeus3denScripts\playerBased\airborne\HJS Protocal\jumpHandler.sqf";
  12. namUnit setVariable ["namJumpPackConfig", true, true];
  13. hint parseText format["<t color='#40e0d0'>Namenai's Horseborne JumpScript Protocal has been initiated.(HJS Protocal)</t> "];
  14. };
  15. }];
  16. */