Deprecated: Assigning the return value of new by reference is deprecated in /home/jkhub/public_html/library/includes/Skin.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /home/jkhub/public_html/library/includes/Title.php on line 132

Deprecated: Assigning the return value of new by reference is deprecated in /home/jkhub/public_html/library/includes/Title.php on line 219
JK Hub - [Reference]

COG Verb - ActivateWeapon

Runs a weapon cog's fire message. After the message runs, JK waits for the firewait delay and then runs the message again. The fire message will keep looping until DeactivateWeapon stops it. Syntax:

 ActivateWeapon(player, firewait, fire_mode); 

firewait: This is the time to wait before running the fire message again.

fire_mode: This is the mode of fire: 0 for primary or 1 for secondary fire.

  • Create:
This page was last modified 20:56, 15 June 2010.   This page has been accessed 913 times.