Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 60 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. function playerListKeyPressed ( key, state )
  2.  
  3.     if state == "down" and not getElementData(localPlayer,"Tactic") then
  4.         radioUpState = isControlEnabled ( "radio_next" )
  5.         radioDownState = isControlEnabled ( "radio_prelaus" )
  6.         weaponUpState = isControlEnabled ( "next_weapon" )
  7.         weaponDownState = isControlEnabled ( "prelaus_weapon" )
  8.        
  9.         toggleControl ( "radio_next", false )
  10.         toggleControl ( "radio_prelaus", false )
  11.         toggleControl ( "next_weapon", false )
  12.         toggleControl ( "prelaus_weapon", false )
  13.        
  14.         if isTimer ( playerListUpdateTimer ) then
  15.             killTimer ( playerListUpdateTimer )
  16.         end
  17.         scollBarAdjustTimer = setTimer ( reAdjustPlayerListScollBar, 50, 0 )
  18.         bindKey ( "mouse_wheel_up", "down", playerListScrollUp )
  19.         bindKey ( "mouse_wheel_down", "down", playerListScrollDown )
  20.         showPlayerList ()
  21.     elseif not getElementData(localPlayer,"Tactic") then
  22.         toggleControl ( "radio_next", radioUpState )
  23.         toggleControl ( "radio_prelaus", radioDownState )
  24.         toggleControl ( "next_weapon", weaponUpState )
  25.         toggleControl ( "prelaus_weapon", weaponDownState )
  26.        
  27.         killTimer ( scollBarAdjustTimer )
  28.         unbindKey ( "mouse_wheel_up", "down", playerListScrollUp )
  29.         unbindKey ( "mouse_wheel_down", "down", playerListScrollDown )
  30.         guiSetVisible ( gImage["playerList"], false )
  31.     end
  32. end
  33. bindKey ( "tab", "both", playerListKeyPressed )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top