Advertisement
Yarukinasu

bind R

Jul 22nd, 2011
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. MAX_MAGCONTENT = [ 1    8    10   7   30    5   20   15    3   16 ]
  2. RELOAD_TIMES   = [ 0 1400 1800 2400 1650 1950 2000 1400 1000 1400 ]
  3.  
  4. bind R [
  5.   if (&& (alive) (!= (magcontent (curweapon)) (at $MAX_MAGCONTENT (curweapon)))) [
  6.     if (!= (curweapon) 8) [
  7.       reload
  8.       echo (c 3) "reloading..."
  9.       sleep (at $RELOAD_TIMES (curweapon)) [
  10.         echo (c 0) "reloaded"
  11.       ]
  12.     ]
  13.   ]
  14. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement