hlmod.hu
https://hlmod.hu/

Statisztika nullázó
https://hlmod.hu/viewtopic.php?f=29&t=25034
Oldal: 1 / 1

Szerző:  Hl1Star [ 2016.05.26. 22:18 ]
Hozzászólás témája:  Statisztika nullázó

Sziasztok tudna valaki adni egy olyan statisztika nullázot ami megy REHLDS-en?
Előre is köszönöm.!

Szerző:  theglorious [ 2016.05.26. 22:43 ]
Hozzászólás témája:  Re: Statisztika nullázó

Hl1Star írta:
Sziasztok tudna valaki adni egy olyan statisztika nullázot ami megy REHLDS-en?
Előre is köszönöm.!

Resetscore System

Szerző:  mforce [ 2016.05.26. 23:17 ]
Hozzászólás témája:  Re: Statisztika nullázó

Csak új reapival és regamedll-el jó.
http://teamcity.rehlds.org/project.html ... ctOverview

  1. #include <amxmodx>
  2. #include <reapi>
  3. #include <colorchat>
  4.  
  5. new const PLUGIN[] = "Resetscore";
  6. new const VERSION[] = "1.0";
  7. new const AUTHOR[] = "mforce";
  8.  
  9.  
  10. new const PREFIX[] = "ProKillers"
  11.  
  12. public plugin_init() {
  13.     register_plugin(PLUGIN, VERSION, AUTHOR)
  14.     register_clcmd("say /rs","reset")
  15.     register_clcmd("say /resetscore","reset")
  16.     register_clcmd("say !resetscore","reset")
  17.     register_clcmd("say !rs","reset")
  18.     register_clcmd("say_team /rs","reset")
  19.     register_clcmd("say_team /resetscore","reset")
  20.     register_clcmd("say_team !resetscore","reset")
  21.     register_clcmd("say_team !rs","reset")
  22.  
  23.     set_task(162.0, "rsuzi", _,_,_,"b")
  24. }
  25.  
  26. public reset(id) {
  27.     if(!is_user_connected(id)) return;
  28.    
  29.     set_entvar(id, var_frags, 0.0);
  30.     set_member(id, m_iDeaths, 0);
  31.     client_print_color(id, print_team_default, "^4[%s]^1 Sikeresen nulláztad a statisztikádat!", PREFIX)
  32.  
  33.     static mScoreInfo; if(!mScoreInfo) mScoreInfo = get_user_msgid("ScoreInfo");
  34.     message_begin(MSG_ALL, mScoreInfo);
  35.     write_byte(id);
  36.     write_short(0);
  37.     write_short(0);
  38.     write_short(0);
  39.     write_short(get_member(id, m_iTeam));
  40.     message_end();
  41. }
  42.  
  43. public rsuzi() {
  44.     client_print_color(0, print_team_default, "^4[%s]^1 A statisztikád nullázásához írd be: ^3/rs", PREFIX)
  45. }

Szerző:  Hl1Star [ 2016.05.27. 19:02 ]
Hozzászólás témája:  Re: Statisztika nullázó

Köszönöm.

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