Jump to content

Derty

Member
  • Content Count

    6
  • Joined

  • Last visited

  • Medals

Posts posted by Derty


  1. So I found this script somewhere here on these forums. It basically runs a script that changes all the players setcaptive status to false if any of them fire their weapons. I have it in each players init.

    FiredH = this addEventHandler ["fired", {EHScrtp = _this exec "SetCaptive.sqf"}];

    That works fine. The problem is that if a player drops a satchel charge on the ground that also causes the script to run. Is it possible to make it only run if the player fires his primary weapon or sidearm?

    Thanks in advance

×