hlmod.hu
https://hlmod.hu/

Score Board VIP Jelzés
https://hlmod.hu/viewtopic.php?f=29&t=8745
Oldal: 1 / 1

Szerző:  Joke [2013.05.31. 18:07 ]
Hozzászólás témája:  Score Board VIP Jelzés

[kozep]Sziasztok...[/kozep]
Amint a névből is értetődően nekem az a plugin kellene ,hogy amikor Score Boardon Dead helyett VIP-et írna az adminoknak...
Köszönöm...

Szerző:  RaZzoR [2013.05.31. 18:25 ]
Hozzászólás témája:  Re: Score Board VIP Jelzés

milyen jogra kell?

Szerző:  RaZzoR [2013.05.31. 18:30 ]
Hozzászólás témája:  Re: Score Board VIP Jelzés

tessék:

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2.  
  3. #define JOG ADMIN_LEVEL_H //jog allitas
  4.  
  5. public plugin_init()
  6. {
  7. register_event("ResetHUD","resethud","be")
  8. }
  9.  
  10. public resethud(id)
  11. {
  12. if(get_user_flags(id) & JOG)
  13. {
  14. set_user_scoreattrib(id,4)
  15. }
  16. }
  17.  
  18. stock set_user_scoreattrib(id,attrib=0)
  19. {
  20. message_begin(2,get_user_msgid("ScoreAttrib"),{0,0,0},0);
  21. write_byte(id);
  22. write_byte(attrib);
  23. message_end();
  24. }


UI: T csak akkor látja, ha meghal.

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