Ledger Nano X - The secure hardware wallet
SHARE
TWEET

onplayerRespawn.sqf (trait changer)

Ambross Oct 23rd, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _playerBackpackItems = backpackItems player;
  2.  
  3. if ("ToolKit" in _playerBackpackItems) then { player setUnitTrait ["engineer",true,false]; player setUnitTrait ["explosiveSpecialist",true,false];} else { player setUnitTrait ["engineer",false,false]; player setUnitTrait ["explosiveSpecialist",false,false];};
  4.  
  5. if ("Medikit" in _playerBackpackItems) then {player setUnitTrait ["medic",true,false];} else {player setUnitTrait ["medic",false,false];};
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top