hlmod.hu
https://hlmod.hu/

top15
https://hlmod.hu/viewtopic.php?f=9&t=19099
Oldal: 1 / 1

Szerző:  bbshop [2015.01.25. 08:31 ]
Hozzászólás témája:  top15

Hogy tudom Restartolni a top15-t?

Szerző:  levo00 [2015.01.25. 08:40 ]
Hozzászólás témája:  Re: top15

bbshop írta:
Hogy tudom Restartolni a top15-t?

:
SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <fun>
  3. #include <cstrike>
  4.  
  5. #define PLUGIN "New Plug-In"
  6. #define VERSION "1.0"
  7. #define AUTHOR "author"
  8.  
  9.  
  10. public plugin_init() {
  11. register_plugin(PLUGIN, VERSION, AUTHOR)
  12.  
  13. register_clcmd("say /reset","reset")
  14.  
  15. }
  16. public reset(id)
  17. {
  18. if(is_user_connected(id))
  19. {
  20. set_user_frags(id,0)
  21. cs_set_user_deaths(id,0)
  22. }
  23. }

Szerző:  bbshop [2015.01.25. 09:29 ]
Hozzászólás témája:  Re: top15

"Köszi :)

Szerző:  Syn [2015.01.25. 11:24 ]
Hozzászólás témája:  Re: top15

levo00 írta:
bbshop írta:
Hogy tudom Restartolni a top15-t?

: SMA Forráskód: [ Mindet kijelol ]#include <amxmodx>
#include <fun>
#include <cstrike>
 
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
 
 
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
 
register_clcmd("say /reset","reset")
 
}
public reset(id)
{
if(is_user_connected(id))
{
set_user_frags(id,0)
cs_set_user_deaths(id,0)
}
}


Ez a statisztikát nullázza.
Ezt beírod a consolba:
Kód:
amx_cvar csstats_reset 1

És majd pályát váltoll :)

Szerző:  bbshop [2015.01.25. 11:41 ]
Hozzászólás témája:  Re: top15

Köszi ment a gomb :3

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