COG Verb - DeactivateWeapon

Stops the fire message in weapon cogs. Syntax:

 active_time=DeactivateWeapon(player, fire_mode); 

active_time: This is the time (in seconds) that the weapon's hotkey was depressed.

fire_mode: This is the mode of fire: 0 for primary or 1 for secondary. The mode can be easily obtained from the senderref of the deactivated message.

  • Create:
This page was last modified 23:11, 2 April 2006.   This page has been accessed 199 times.