Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. //Want to remove random and only have select the entire array
  2. _item = selectRandom (life_SupplyBoxItems select 0);
  3. _vir = selectRandom (life_SupplyBoxItems select 1);
  4.  
  5. _virs pushBack [_vir select 0,ceil (random (_vir select 1))];
  6. _crate addItemCargoGlobal [_item select 0,ceil (random (_item select 1))];
  7.  
  8. //Life_SupplyBox
  9. life_SupplyBoxItems=[
  10. [//Weapons, Addons, Ammo, Vest
  11. ["V_HarnessOGL_brn",1],
  12. ["launch_RPG7_F",1],
  13. ["srifle_EBR_F",2],
  14. ["srifle_DMR_03_tan_F",2],
  15. ["20Rnd_762x51_Mag",35],
  16. ["RPG7_F",2],
  17. ["optic_Arco",4]
  18. ],
  19. [//Virtual Items
  20. ["dirty_money",[10000,20000,35000]],
  21. ["goldbar",[3,4,5]]
  22. ]
  23. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement