View Single Post
11/27/14, 09:30 AM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
There is a function which swaps weapons (actually 3 of them), but it is private a can't be used by addons.
Lua Code:
  1. OnSpecialMoveKeyPressed(SPECIAL_MOVE_INDEX_WEAPON_SWAP)
  2. OnSpecialMoveKeyDown(SPECIAL_MOVE_INDEX_WEAPON_SWAP)
  3. OnSpecialMoveKeyUp(SPECIAL_MOVE_INDEX_WEAPON_SWAP)
  Reply With Quote