Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Using a script to check if weapon is primary or secondary  (Read 605 times)

0 Members and 1 Guest are viewing this topic.

Baphomet

  • Guest
I was looking through the comref and didn't stumble across anything related to it. Perhaps I missed it. However is there a script command you can use to check if the weapon someone is holding is a rifle, pistol, or shoulder fired weapon?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Using a script to check if weapon is primary or secondary
« Reply #1 on: 22 Feb 2004, 10:04:09 »
Quote
weapon someone is holding
You mean actually holding in ones hands? (other than safe mode...)
There's no command for that (AFAIK)...

There're primaryWeapon, secondaryWeapon and weapons to check which weapons the unit's carrying...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.