Jump to content

justenzy

Member
  • Content Count

    14
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About justenzy

  • Rank
    Private First Class
  1. Did that but get an error along the lines off "No entry (folder) "dialogname.idd"". Really appreciate it
  2. I am using the GUI editor, but how do i define classes? And no i dont have C++ experience.
  3. I have tried for days, nothing! I have tried so many different ways and this is my final resort. I try to copy others and sometimes they work and sometimes its missing a definition. Can somebody explain the proper way of defining classes. THANKYOU
  4. http://www.armaholic.com/page.php?id=19783 Thank you.
  5. Ok i have searched everywhere for this and can't seem to get a correct answer. How can i implement a script to unlock and lock doors. I have this at the moment but does not work on different doors of the house, even when making a new module. ((nearestobjects [this, ["house_f"], 10]) select 0) setVariable ['bis_disabled_Door_1',1,true] Some doors work, some don't. Thanks in advanced.
  6. Ok, so i want to remove a specific gun from a backpack. So far i got this. if ("hgun_P07_F" in WeaponCargo unitbackpack player ) then { removeweapon PLAYER "hgun_P07_F" } else { hint " You do not have a gun!" }
  7. Been working on some code recently, but i get a long error and have no idea what is wrong. Please help, i have tried many different variations. THANK YOU. if (( WeaponCargo unitbackpack player) == ["hgun_P07_F"] ) then { hint "booooo" } else { hint "ahhhh" }
  8. justenzy

    Little help please.

    This is what i got at the moment, and its still not working :( if ((PLAYER getWeaponCargo unitbackpack) == "hgun_P07_F") then { PLAYER removeweapon "hgun_P07_F" } else { hint "You don't have a gun!" };
  9. justenzy

    Little help please.

    Actually, i want it to check if it has a specific gun, not all guns.
  10. Simple question, what is wrong with this code? And how could i change it to make it work? if ((weaponcargo unitbackpack player) == "") then { hint "hello" } else { booo } ; Thank you very much for your help.
  11. justenzy

    Error:" "

    Thank you very much. I have adjusted the code and still nothing. player1 addAction ["putaway", "action.sqf"] action.sqf if (handgunWeapon this == "") then { hint "You no not have a gun! } else { execVM "HOLS.sqf" }
  12. Ok, im fairly new to coding, but i have no idea what i have done wrong. if (currentWeapon "hgun_PO7_F" == player1 )then { addAction ["putaway", "HOLS.sqf"] } else { } Help would be much appreciated.
  13. Thats what i thought, but how would i go about saving the mag count and attachments?
  14. So i want to make an action which when they use it, their secondary gun gets sent to their vest, shirt or backpack. thanks.
×