HLMOD.HU Forrás Megtekintés - www.hlmod.hu
  1. /* Script generated by Pawn Studio */
  2.  
  3. #include <amxmodx>
  4. #include <csstats>
  5. #include <amxmisc>
  6.  
  7. #define PLUGIN "Udvozllo"
  8. #define AUTHOR "Small"
  9. #define VERSION "1.0"
  10.  
  11. public plugin_init()
  12. {
  13. register_plugin(PLUGIN, VERSION, AUTHOR)
  14.  
  15. }
  16.  
  17. public client_connect(id)
  18. {
  19. set_task(5.0,"hud",id)
  20. }
  21.  
  22. public hud(id)
  23. {
  24. new stats[8],bodyhits[8],irank
  25. irank = get_user_stats(id,stats,bodyhits)
  26. new mrank = get_statsnum()
  27.  
  28. new hname[64];
  29. get_cvar_string("hostname", hname, sizeof(hname)-1)
  30.  
  31. {
  32. set_hudmessage(255, 170, 0, 0.1, 0.3, 2, 0.1, 6.0, 0.08, 0.5, 8)
  33. show_hudmessage(id, "Udvozollek az %s Szerveren!^n Helyezesed: %d / %d ",hname, irank,mrank)
  34. }
  35. }