Advertisement
RaZgRiZ

Event Handles 20/3/2012

Mar 20th, 2012
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.36 KB | None | 0 0
  1. onteamkill = [
  2.     _tk_tmp = $arg1
  3.     if (!=s $_tk_tmp "") [
  4.         sleep 1 [
  5.             if (&& (< (getfrags) @(getfrags)) (= (getdeaths) @(getdeaths)) (=s (mapname) @(mapname)) (m_teammode (getmode))) [_tk_tmp]
  6.             onteamkill $_tk_tmp
  7.         ]
  8.     ]
  9. ]
  10.  
  11. onteamswitch = [
  12.     _ts_tmp = $arg1
  13.     if (!=s $_ts_tmp "") [
  14.         sleep 1 [
  15.             if (&& (!=s (getteam) @(getteam)) (=s (mapname) @(mapname)) (m_teammode (getmode))) [_ts_tmp]
  16.             onteamswitch $_ts_tmp
  17.         ]
  18.     ]
  19. ]
  20.  
  21. onflagscore = [
  22.     _fs_tmp = $arg1
  23.     if (!=s $_fs_tmp "") [
  24.         sleep 1 [
  25.             if (&& (> (getflags) @(getflags)) (m_ctf (getmode))) [_fs_tmp]
  26.             onflagscore $_fs_tmp
  27.         ]
  28.     ]
  29. ]
  30.  
  31. onskullscore = [
  32.     _ss_tmp = $arg1
  33.     if (!=s $_ss_tmp "") [
  34.         sleep 1 [
  35.             if (&& (> (getflags) @(getflags)) (m_collect (getmode))) [_ss_tmp]
  36.             onskullscore $_ss_tmp
  37.         ]
  38.     ]
  39. ]
  40.  
  41. onclientfrag = [
  42.     _cf_tmp = $arg1
  43.     if (!=s $_cf_tmp "") [
  44.         sleep 1 [
  45.             if (&& (> (getfrags) @(getfrags)) (=s (mapname) @(mapname))) [_cf_tmp]
  46.             onclientfrag $_cf_tmp
  47.         ]
  48.     ]
  49. ]
  50.  
  51. onclientdeath = [
  52.     _cd_tmp = $arg1
  53.     if (!=s $_cd_tmp "") [
  54.         sleep 1 [
  55.             if (&& (> (getdeaths) @(getdeaths)) (= (getfrags) @(getfrags))) [_cd_tmp]
  56.             onclientdeath $_cd_tmp
  57.         ]
  58.     ]
  59. ]
  60.  
  61. onclientsuicide = [
  62.     _cs_tmp = $arg1
  63.     if (!=s $_cs_tmp "") [
  64.         sleep 1 [
  65.             if (&& (> (getdeaths) @(getdeaths)) (<= (getfrags) @(getfrags))) [_cs_tmp]
  66.             onclientsuicide $_cs_tmp
  67.         ]
  68.     ]
  69. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement