hlmod.hu
https://hlmod.hu/

Ping
https://hlmod.hu/viewtopic.php?f=29&t=15910
Oldal: 1 / 1

Szerző:  account97 [2014.05.17. 09:44 ]
Hozzászólás témája:  Ping

Sziasztok! Valaki ír vagy küld nekem olyan Ping plugint amiben bele van írva a szín? :)

Szerző:  fear_ezmegmi [2014.05.17. 11:51 ]
Hozzászólás témája:  Re: Ping

Ezzel így nem megyünk sokra. Milyen ping plugin?
Ping kicker? Fake ping?

Szerző:  account97 [2014.05.17. 11:52 ]
Hozzászólás témája:  Re: Ping

Ping kickerre gondoltam

Szerző:  fear_ezmegmi [2014.05.17. 12:35 ]
Hozzászólás témája:  Re: Ping

SMA Forráskód: [ Mindet kijelol ]
  1. /* AMX Mod X script.
  2. *
  3. * This file is provided as is (no warranties).
  4. *
  5. * (c) 2002-2003, OLO
  6. * Modified by shadow
  7. * Modified again by Bo0m!
  8. * For use alongside with the AMX Super All-In-One Plugin. <!-- s:) --><img src=\"{SMILIES_PATH}/icon_e_smile.gif\" alt=\":)\" title=\"mosoly\" /><!-- s:) -->
  9. *
  10. *****************************************************************************
  11. * Changelog:
  12. *
  13. *
  14. * 6/15/07 - v0.16.2:
  15. * - changed cvar
  16. * amx_hpk_immunity -> Weather or not to have it use Immunity (X-olent)
  17. *
  18. * 4/28/07 - v0.17 (Bo0m!):
  19. * - fixed check cvar never being used
  20. * - fixed delay cvar check
  21. * - switched to pcvars
  22. * - adjusted some messages
  23. * - added definable immunity flag
  24. * - added logging when admins change HPK settings
  25. *
  26. *
  27. * 4/19/04 - v0.16.2:
  28. * - changed cvars
  29. * amx_maxping -> amx_hpk_ping
  30. * amx_maxping_check -> amx_hpk_check
  31. * amx_maxping_tests -> amx_hpk_tests
  32. *
  33. * - added amx_command
  34. * amx_hpk - displays status of the plugin and syntax to configure it
  35. *
  36. * - added cvar
  37. * amx_hpk_delay - Delays ping checking after connect (default 1min, use amx_hpk to configure)
  38. *
  39. *
  40. * 4/15/04 - v0.16.1:
  41. * - added cvars
  42. * amx_maxping //lowest average ping to be kicked
  43. * amx_maxping_check //time between checks
  44. * amx_maxping_tests //number of checks to be performed before kick
  45. *
  46. * - modified the version from 0.9.4 (OLO) to 0.16.1 (amxx)
  47. *
  48. * - added log entry for amxx logging
  49. *
  50. *
  51. *****************************************************************************
  52. *
  53. * This modified plugin can be found at:
  54. */
  55.  
  56. #include <amxmodx>
  57. #include <amxmisc>
  58.  
  59. new const PLUGIN[] = "High Ping Kicker"
  60. new const VERSION[] = "1.0"
  61. new const AUTHOR[] = "Shadow/Bo0m!"
  62.  
  63. // Feel free to change this flag
  64. #define HPK_IMMUNE ADMIN_IMMUNITY
  65.  
  66. // PCvars
  67. new hpk_ping, hpk_check, hpk_tests, hpk_delay, hpk_immunity
  68.  
  69. new g_Ping[33]
  70. new g_Samples[33]
  71.  
  72. public plugin_init() {
  73.  
  74. register_plugin(PLUGIN, VERSION, AUTHOR)
  75.  
  76. register_concmd("amx_hpk","cmdHpk",ADMIN_CVAR,"- configures high ping kicker")
  77.  
  78. hpk_ping = register_cvar("amx_hpk_ping","200")
  79. hpk_check = register_cvar("amx_hpk_check","12")
  80. hpk_tests = register_cvar("amx_hpk_tests","5")
  81. hpk_delay = register_cvar("amx_hpk_delay","60")
  82. hpk_immunity = register_cvar("amx_hpk_immunity","1")
  83.  
  84. if (get_pcvar_num(hpk_check) < 5) set_pcvar_num(hpk_check,5)
  85. if (get_pcvar_num(hpk_tests) < 3) set_pcvar_num(hpk_tests,3)
  86. }
  87.  
  88. public client_disconnect(id)
  89. remove_task(id)
  90.  
  91. public client_putinserver(id) {
  92. g_Ping[id] = 0
  93. g_Samples[id] = 0
  94.  
  95. if ( !is_user_bot(id) )
  96. {
  97. new param[1]
  98. param[0] = id
  99. set_task( 15.0 , "showWarn" , id , param , 1 )
  100.  
  101. if (get_pcvar_num(hpk_delay) != 0) {
  102. set_task( float(get_pcvar_num(hpk_delay)), "taskSetting", id, param , 1)
  103. }
  104. else {
  105. set_task( float(get_pcvar_num(hpk_check)) , "checkPing" , id , param , 1 , "b" )
  106. }
  107. }
  108. }
  109.  
  110. public showWarn(param[])
  111. client_print( param[0] ,print_chat,"[HPK] Players with ping higher than %d will be kicked!", get_cvar_num( "amx_hpk_ping" ) )
  112.  
  113. public taskSetting(param[]) {
  114. new name[32]
  115. get_user_name(param[0],name,31)
  116. set_task( float(get_pcvar_num(hpk_check)) , "checkPing" , param[0] , param , 1 , "b" )
  117. }
  118.  
  119. kickPlayer(id) {
  120. new name[32],authid[36]
  121. get_user_name(id,name,31)
  122. get_user_authid(id,authid,35)
  123. client_print(0,print_chat,"[HPK] Player %s disconnected due to high ping",name)
  124. server_cmd("kick #%d ^"Sorry but your ping is too high, try again later...^"",get_user_userid(id))
  125. log_amx("HPK: ^"%s<%d><%s>^" was kicked due high ping (Average Ping ^"%d^")", name,get_user_userid(id),authid,(g_Ping[id] / g_Samples[id]))
  126. }
  127.  
  128. public checkPing(param[]) {
  129.  
  130. if (get_pcvar_num(hpk_tests) < 3)
  131. set_pcvar_num(hpk_tests,3)
  132.  
  133. new id = param[ 0 ]
  134.  
  135. if ( get_user_flags(id) & HPK_IMMUNE && get_pcvar_num(hpk_immunity) == 1 ) {
  136. remove_task(id)
  137. client_print(id, print_chat, "[HPK] Ping checking disabled due to immunity...")
  138. return PLUGIN_CONTINUE
  139. }
  140.  
  141. new ping, loss
  142.  
  143. get_user_ping(id,ping,loss)
  144.  
  145. g_Ping[ id ] += ping
  146. ++g_Samples[ id ]
  147.  
  148. if ( (g_Samples[ id ] > get_pcvar_num(hpk_tests)) && (g_Ping[id] / g_Samples[id] > get_pcvar_num(hpk_ping)) )
  149. kickPlayer(id)
  150.  
  151. return PLUGIN_CONTINUE
  152. }
  153.  
  154.  
  155. public cmdHpk(id,level,cid) {
  156. if (!cmd_access(id,level,cid,1))
  157. return PLUGIN_HANDLED
  158.  
  159. if (read_argc() < 6) {
  160. console_print(id,"Usage: amx_hpk <max ping> <total ping checks> <time between checks> <delay before starting checks> <1 to allow immunity|0 to disallow")
  161. console_print(id,"Current High Ping Kicker Settings:")
  162. console_print(id,"Max Ping: %d | Ping Checks: %d | Check Frequency: %d | Start Delay: %d | Immunity: %d",get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))
  163. return PLUGIN_HANDLED
  164. }
  165.  
  166. new name[32], authid[36]
  167. get_user_name(id,name,31)
  168. get_user_authid(id,authid,35)
  169.  
  170. new ping_arg[5], check_arg[5], tests_arg[5], delay_arg[5], immune_arg[5]
  171. read_argv(1,ping_arg,4)
  172. read_argv(2,tests_arg,4)
  173. read_argv(3,check_arg,4)
  174. read_argv(4,delay_arg,4)
  175. read_argv(5,immune_arg,4)
  176.  
  177. new ping = str_to_num(ping_arg)
  178. new tests = str_to_num(tests_arg)
  179. new check = str_to_num(check_arg)
  180. new delay = str_to_num(delay_arg)
  181. new immune = str_to_num(immune_arg)
  182.  
  183. if ( check < 5 ) check = 5
  184. if ( tests < 3 ) tests = 3
  185.  
  186. set_pcvar_num(hpk_ping,ping)
  187. set_pcvar_num(hpk_tests,tests)
  188. set_pcvar_num(hpk_check,check)
  189. set_pcvar_num(hpk_delay,delay)
  190. set_pcvar_num(hpk_immunity,immune)
  191.  
  192. console_print(id,"The following HPK Settings have been set:")
  193. console_print(id,"Max Ping: %d | Ping Checks: %d | Check Frequency: %d | Start Delay: %d | Immunity: %d",get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))
  194. log_amx("HPK: ^"%s<%d><%s>^" has configured the HPK - Max Ping: %d | Ping Checks: %d | Check Frequency: %d | Start Delay: %d | Immunity: %d", name,get_user_userid(id),authid,get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))
  195.  
  196. return PLUGIN_HANDLED
  197. }


SMA Forráskód: [ Mindet kijelol ]
  1. client_print( param[0] ,print_chat,"[HPK] Players with ping higher than %d will be kicked!", get_cvar_num( "amx_hpk_ping" ) ) (113. sor)

fordítása+szín:
SMA Forráskód: [ Mindet kijelol ]
  1. ColorChat(param[0] ,GREEN,"[HPK]^x03 Azok a jatekosok akiknek magasabb a pingje, mint ^x04 %d^x03 kickelve lesznek!", get_cvar_num( "amx_hpk_ping"));


SMA Forráskód: [ Mindet kijelol ]
  1. client_print(0,print_chat,"[HPK] Player %s disconnected due to high ping",name) (125. sor)

->
SMA Forráskód: [ Mindet kijelol ]
  1. ColorChat(0,GREEN,"[HPK]^x03 %s^x04 kickelve lett, mert tul magas volt a pingje!",name);


SMA Forráskód: [ Mindet kijelol ]
  1. server_cmd("kick #%d ^"Sorry but your ping is too high, try again later...^"",get_user_userid(id)) (126. sor)

->
SMA Forráskód: [ Mindet kijelol ]
  1. server_cmd("kick #%d ^"Sajnalom, de tul magas a pinged! Probald kesobb!^"",get_user_userid(id))


SMA Forráskód: [ Mindet kijelol ]
  1. log_amx("HPK: ^"%s<%d><%s>^" was kicked due high ping (Average Ping ^"%d^")", name,get_user_userid(id),authid,(g_Ping[id] / g_Samples[id])) (127. sor)

->
SMA Forráskód: [ Mindet kijelol ]
  1. log_amx("HPK: ^"%s<%d><%s>^" kickelve lett, mert tul magas volt a pingje(Atlagos pingertek: ^"%d^")", name,get_user_userid(id),authid,(g_Ping[id] / g_Samples[id]))


SMA Forráskód: [ Mindet kijelol ]
  1. client_print(id, print_chat, "[HPK] Ping checking disabled due to immunity...") (139. sor)

->
SMA Forráskód: [ Mindet kijelol ]
  1. ColorChat(id, GREEN, "[HPK] Ping ellenorzes letiltva, mert admin vagy!")


SMA Forráskód: [ Mindet kijelol ]
  1. console_print(id,"Usage: amx_hpk <max ping> <total ping checks> <time between checks> <delay before starting checks> <1 to allow immunity|0 to disallow")
  2. console_print(id,"Current High Ping Kicker Settings:")
  3. console_print(id,"Max Ping: %d | Ping Checks: %d | Check Frequency: %d | Start Delay: %d | Immunity: %d",get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity)) (162-164. sor)

->
SMA Forráskód: [ Mindet kijelol ]
  1. console_print(id,"Hasznalat: amx_hpk <max ping> <hanyszor ellenorizze a pinget mielott kickeli> <ket ellenorzes kozotti ido> <varakozasi ido mielott ellenorizzen> <1 admin ellenorzes ki|0 admin ellenorzes be")
  2. console_print(id,"A jelenlegi HPK beallitasok:")
  3. console_print(id,"Max Ping: %d | Ping ellenorzesek szama: %d | Ket ellenorzes kozotti ido: %d | Varakozasi ido: %d | Admin immunitas: %d",get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))


SMA Forráskód: [ Mindet kijelol ]
  1. console_print(id,"The following HPK Settings have been set:")
  2. console_print(id,"Max Ping: %d | Ping Checks: %d | Check Frequency: %d | Start Delay: %d | Immunity: %d",get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))
  3. log_amx("HPK: ^"%s<%d><%s>^" has configured the HPK - Max Ping: %d | Ping Checks: %d | Check Frequency: %d | Start Delay: %d | Immunity: %d", name,get_user_userid(id),authid,get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity)) (194-196. sor)

->
SMA Forráskód: [ Mindet kijelol ]
  1. console_print(id,"A HPK uj beallitasai:")
  2. console_print(id,"Max Ping: %d | Ping ellenorzesek szama: %d | Ket ellenorzes kozotti ido: %d | Varakozasi ido: %d | Admin immunitas: %d",get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))
  3. log_amx("HPK: ^"%s<%d><%s>^" megvaltoztatta a HPK beallitasait - Max Ping: %d | Ping ellenorzesek szama: %d | Ket ellenorzes kozotti ido: %d | Varakozasi ido: %d |Admin immunitas: %d", name,get_user_userid(id),authid,get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))

Teljes kod:
SMA Forráskód: [ Mindet kijelol ]
  1. /* AMX Mod X script.
  2. *
  3. * This file is provided as is (no warranties).
  4. *
  5. * (c) 2002-2003, OLO
  6. * Modified by shadow
  7. * Modified again by Bo0m!
  8. * For use alongside with the AMX Super All-In-One Plugin. <!-- s:) --><img src=\"{SMILIES_PATH}/icon_e_smile.gif\" alt=\":)\" title=\"mosoly\" /><!-- s:) -->
  9. *
  10. *****************************************************************************
  11. * Changelog:
  12. *
  13. *
  14. * 6/15/07 - v0.16.2:
  15. * - changed cvar
  16. * amx_hpk_immunity -> Weather or not to have it use Immunity (X-olent)
  17. *
  18. * 4/28/07 - v0.17 (Bo0m!):
  19. * - fixed check cvar never being used
  20. * - fixed delay cvar check
  21. * - switched to pcvars
  22. * - adjusted some messages
  23. * - added definable immunity flag
  24. * - added logging when admins change HPK settings
  25. *
  26. *
  27. * 4/19/04 - v0.16.2:
  28. * - changed cvars
  29. * amx_maxping -> amx_hpk_ping
  30. * amx_maxping_check -> amx_hpk_check
  31. * amx_maxping_tests -> amx_hpk_tests
  32. *
  33. * - added amx_command
  34. * amx_hpk - displays status of the plugin and syntax to configure it
  35. *
  36. * - added cvar
  37. * amx_hpk_delay - Delays ping checking after connect (default 1min, use amx_hpk to configure)
  38. *
  39. *
  40. * 4/15/04 - v0.16.1:
  41. * - added cvars
  42. * amx_maxping //lowest average ping to be kicked
  43. * amx_maxping_check //time between checks
  44. * amx_maxping_tests //number of checks to be performed before kick
  45. *
  46. * - modified the version from 0.9.4 (OLO) to 0.16.1 (amxx)
  47. *
  48. * - added log entry for amxx logging
  49. *
  50. *
  51. *****************************************************************************
  52. *
  53. * This modified plugin can be found at:
  54. */
  55.  
  56. #include <amxmodx>
  57. #include <amxmisc>
  58. #include <colorchat>
  59.  
  60. new const PLUGIN[] = "High Ping Kicker"
  61. new const VERSION[] = "1.0"
  62. new const AUTHOR[] = "Shadow/Bo0m!"
  63.  
  64. // Feel free to change this flag
  65. #define HPK_IMMUNE ADMIN_IMMUNITY
  66.  
  67. // PCvars
  68. new hpk_ping, hpk_check, hpk_tests, hpk_delay, hpk_immunity
  69.  
  70. new g_Ping[33]
  71. new g_Samples[33]
  72.  
  73. public plugin_init() {
  74.  
  75. register_plugin(PLUGIN, VERSION, AUTHOR)
  76.  
  77. register_concmd("amx_hpk","cmdHpk",ADMIN_CVAR,"- hpk beallitasai")
  78.  
  79. hpk_ping = register_cvar("amx_hpk_ping","200")
  80. hpk_check = register_cvar("amx_hpk_check","12")
  81. hpk_tests = register_cvar("amx_hpk_tests","5")
  82. hpk_delay = register_cvar("amx_hpk_delay","60")
  83. hpk_immunity = register_cvar("amx_hpk_immunity","1")
  84.  
  85. if (get_pcvar_num(hpk_check) < 5) set_pcvar_num(hpk_check,5)
  86. if (get_pcvar_num(hpk_tests) < 3) set_pcvar_num(hpk_tests,3)
  87. }
  88.  
  89. public client_disconnect(id)
  90. remove_task(id)
  91.  
  92. public client_putinserver(id) {
  93. g_Ping[id] = 0
  94. g_Samples[id] = 0
  95.  
  96. if ( !is_user_bot(id) )
  97. {
  98. new param[1]
  99. param[0] = id
  100. set_task( 15.0 , "showWarn" , id , param , 1 )
  101.  
  102. if (get_pcvar_num(hpk_delay) != 0) {
  103. set_task( float(get_pcvar_num(hpk_delay)), "taskSetting", id, param , 1)
  104. }
  105. else {
  106. set_task( float(get_pcvar_num(hpk_check)) , "checkPing" , id , param , 1 , "b" )
  107. }
  108. }
  109. }
  110.  
  111. public showWarn(param[])
  112. ColorChat(param[0] ,GREEN,"[HPK]^x03 Azok a jatekosok akiknek magasabb a pingje, mint ^x04 %d^x03 kickelve lesznek!", get_cvar_num( "amx_hpk_ping"));
  113.  
  114. public taskSetting(param[]) {
  115. new name[32]
  116. get_user_name(param[0],name,31)
  117. set_task( float(get_pcvar_num(hpk_check)) , "checkPing" , param[0] , param , 1 , "b" )
  118. }
  119.  
  120. kickPlayer(id) {
  121. new name[32],authid[36]
  122. get_user_name(id,name,31)
  123. get_user_authid(id,authid,35)
  124. ColorChat(0,GREEN,"[HPK]^x03 %s^x04 kickelve lett, mert tul magas volt a pingje!",name);
  125. server_cmd("kick #%d ^"Sajnalom, de tul magas a pinged! Probald kesobb!^"",get_user_userid(id))
  126. log_amx("HPK: ^"%s<%d><%s>^" kickelve lett, mert tul magas volt a pingje(Atlagos pingertek: ^"%d^")", name,get_user_userid(id),authid,(g_Ping[id] / g_Samples[id]))
  127. }
  128.  
  129. public checkPing(param[]) {
  130.  
  131. if (get_pcvar_num(hpk_tests) < 3)
  132. set_pcvar_num(hpk_tests,3)
  133.  
  134. new id = param[ 0 ]
  135.  
  136. if ( get_user_flags(id) & HPK_IMMUNE && get_pcvar_num(hpk_immunity) == 1 ) {
  137. remove_task(id)
  138. ColorChat(id, GREEN, "[HPK] Ping ellenorzes letiltva, mert admin vagy!")
  139. return PLUGIN_CONTINUE
  140. }
  141.  
  142. new ping, loss
  143.  
  144. get_user_ping(id,ping,loss)
  145.  
  146. g_Ping[ id ] += ping
  147. ++g_Samples[ id ]
  148.  
  149. if ( (g_Samples[ id ] > get_pcvar_num(hpk_tests)) && (g_Ping[id] / g_Samples[id] > get_pcvar_num(hpk_ping)) )
  150. kickPlayer(id)
  151.  
  152. return PLUGIN_CONTINUE
  153. }
  154.  
  155.  
  156. public cmdHpk(id,level,cid) {
  157. if (!cmd_access(id,level,cid,1))
  158. return PLUGIN_HANDLED
  159.  
  160. if (read_argc() < 6) {
  161. console_print(id,"Hasznalat: amx_hpk <max ping> <hanyszor ellenorizze a pinget mielott kickeli> <ket ellenorzes kozotti ido> <varakozasi ido mielott ellenorizzen> <1 admin ellenorzes ki|0 admin ellenorzes be")
  162. console_print(id,"A jelenlegi HPK beallitasok:")
  163. console_print(id,"Max Ping: %d | Ping ellenorzesek szama: %d | Ket ellenorzes kozotti ido: %d | Varakozasi ido: %d | Admin immunitas: %d",get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))
  164. return PLUGIN_HANDLED
  165. }
  166.  
  167. new name[32], authid[36]
  168. get_user_name(id,name,31)
  169. get_user_authid(id,authid,35)
  170.  
  171. new ping_arg[5], check_arg[5], tests_arg[5], delay_arg[5], immune_arg[5]
  172. read_argv(1,ping_arg,4)
  173. read_argv(2,tests_arg,4)
  174. read_argv(3,check_arg,4)
  175. read_argv(4,delay_arg,4)
  176. read_argv(5,immune_arg,4)
  177.  
  178. new ping = str_to_num(ping_arg)
  179. new tests = str_to_num(tests_arg)
  180. new check = str_to_num(check_arg)
  181. new delay = str_to_num(delay_arg)
  182. new immune = str_to_num(immune_arg)
  183.  
  184. if ( check < 5 ) check = 5
  185. if ( tests < 3 ) tests = 3
  186.  
  187. set_pcvar_num(hpk_ping,ping)
  188. set_pcvar_num(hpk_tests,tests)
  189. set_pcvar_num(hpk_check,check)
  190. set_pcvar_num(hpk_delay,delay)
  191. set_pcvar_num(hpk_immunity,immune)
  192.  
  193. console_print(id,"A HPK uj beallitasai:")
  194. console_print(id,"Max Ping: %d | Ping ellenorzesek szama: %d | Ket ellenorzes kozotti ido: %d | Varakozasi ido: %d | Admin immunitas: %d",get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))
  195. log_amx("HPK: ^"%s<%d><%s>^" megvaltoztatta a HPK beallitasait - Max Ping: %d | Ping ellenorzesek szama: %d | Ket ellenorzes kozotti ido: %d | Varakozasi ido: %d |Admin immunitas: %d", name,get_user_userid(id),authid,get_pcvar_num(hpk_ping),get_pcvar_num(hpk_tests),get_pcvar_num(hpk_check),get_pcvar_num(hpk_delay),get_pcvar_num(hpk_immunity))
  196.  
  197. return PLUGIN_HANDLED
  198. }

Cvarok:
amx_hpk_ping - Pingérték amitől már kickelve lesz a játékos Alap: 200.
amx_hpk_check - Milyen gyakran ellenőrizze valakinek a pingértékét Alap: 12 másodperc.
amx_hpk_tests - Hányszor ellenőrizze a játékos pingjét mielőtt kickeli Alap: 5.
amx_hpk_delay - A szerverre való belépés után mennyi idő múlva ellenőrizze a játékos pingértékét Alap: 60 másodperc.
amx_hpk_immunity - Admin immunitás engedélyezése, letiltása

Szerző:  Golo [2014.05.17. 16:19 ]
Hozzászólás témája:  Re: Ping

Egyszerűbb így: viewtopic.php?f=101&t=12581

Szerző:  fear_ezmegmi [2014.05.17. 16:33 ]
Hozzászólás témája:  Re: Ping

Golo írta:

Az nem színes.

Szerző:  Golo [2014.05.17. 16:45 ]
Hozzászólás témája:  Re: Ping

Frissítve az elöző hozzászólás

Szerző:  account97 [2014.05.17. 16:59 ]
Hozzászólás témája:  Re: Ping

Köszi fear :))

Oldal: 1 / 1 Minden időpont UTC+02:00 időzóna szerinti
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/