View difference between Paste ID: R2CEnaWN and Hep7iLfs
SHOW: | | - or go back to the newest paste.
1
thirdpersonswitching = 1
2
bind mouse4 [
3
  universaldelta 1
4
  if ( = $thirdpersonswitching 1 ) [
5
    if ( = ( getclientweapselect ( getclientnum ) ) 2 ) [ thirdperson 0 ] [ thirdperson 1 ]
6
  ]
7
]
8
9
bind mouse5 [
10
  universaldelta -1
11
  if ( = $thirdpersonswitching 1 ) [
12
    if ( = ( getclientweapselect ( getclientnum ) ) 2 ) [ thirdperson 0 ] [ thirdperson 1 ]
13
  ]
14
]
15
16
17
bind e [
18
  use
19
  if ( = $thirdpersonswitching 1 ) [
20
    sleep 200 [
21
      if ( = ( getclientweapselect ( getclientnum ) ) 2 ) [ thirdperson 0 ] [ thirdperson 1 ]
22
    ]
23
  ]
24
]
25
26
bind z [
27
  drop
28
  if ( = $thirdpersonswitching 1 ) [
29
    sleep 200 [
30
      if ( = ( getclientweapselect ( getclientnum ) ) 2 ) [ thirdperson 0 ] [ thirdperson 1 ]
31
    ]
32
  ]
33
]