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: detect soviet weapon fire  (Read 683 times)

0 Members and 1 Guest are viewing this topic.

borrowed soap

  • Guest
detect soviet weapon fire
« on: 04 Jul 2003, 21:48:40 »
i have a West black ops agent who needs to find and use any East weapon (or any specific weapon if that is easier to script, such as the SVD Dragunov).
i have gone blind looking thru the tutorials and snippets and tools, but i know there is a script there that details this because that was where i got the idea originally for detecting weapons, and now that i need it, i cant find it again

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:detect soviet weapon fire
« Reply #1 on: 04 Jul 2003, 23:55:51 »
hasweapon command

unitname hasweapon "weapontype"

in da condition field - wil return true if it have it nd false if it dont

also i think u can do

"unitname hasweapn {_X}" count [m16,ak47,etc] > 0

2 chyeck 4 more an 1weapon

;D

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

borrowed soap

  • Guest
Re:detect soviet weapon fire
« Reply #2 on: 05 Jul 2003, 00:27:17 »
thx, im gonna try using it tongight  :)