hlmod.hu
https://hlmod.hu/

Att alakitási hiba
https://hlmod.hu/viewtopic.php?f=9&t=11735
Oldal: 1 / 1

Szerző:  kecskee12 [ 2013.11.09. 13:02 ]
Hozzászólás témája:  Att alakitási hiba

SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2. #include <csstats>
  3. #include <amxmisc>
  4.  
  5.  
  6. #define PLUGIN "Udvozllo"
  7. #define AUTHOR "Small"
  8. #define VERSION "1.0"
  9.  
  10. public plugin_init()
  11. {
  12. register_plugin(PLUGIN, VERSION, AUTHOR)
  13.  
  14. }
  15.  
  16. public client_connect(id)
  17. {
  18. set_task(5.0,"hud",id)
  19. }
  20.  
  21. public hud(id)
  22. {
  23. new stats[8],bodyhits[8],irank
  24. irank = get_user_stats(id,stats,bodyhits)
  25. new mrank = get_statsnum()
  26.  
  27. new hname[64];
  28. get_cvar_string("hostname", hname, sizeof(hname)-1)
  29. set_hudmessage(random_num(0,256),random_num(0,256),random_num(0,256), 0.1, 0.3, 2, 0.1, 6.0, 0.08, 0.5, 8)
  30. show_hudmessage(id, "Üdvözöllek az %s Szerveren!^n Helyezésed: %d / %d Remélem tetszeni fog a szerver",hname, irank,mrank)
  31. }

Valaki alakitsa átt nekem és küldje el zip.-be

Szerző:  sHockeR [ 2013.11.09. 13:38 ]
Hozzászólás témája:  Re: Att alakitási hiba

Szerintem működni fog
Ha tudtam Segíteni Jöhet a GOMB!!
Itt az SMA de alul csatoltam amx el


SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2.  
  3. #include <csstats>
  4.  
  5. #include <amxmisc>
  6.  
  7.  
  8.  
  9.  
  10.  
  11. #define PLUGIN "Udvozlo"
  12.  
  13. #define AUTHOR "sHockeR"
  14.  
  15. #define VERSION "1.0"
  16.  
  17.  
  18.  
  19. public plugin_init()
  20.  
  21. {
  22.  
  23. register_plugin(PLUGIN, VERSION, AUTHOR)
  24.  
  25.  
  26.  
  27. }
  28.  
  29.  
  30.  
  31. public client_connect(id)
  32.  
  33. {
  34.  
  35. set_task(5.0,"hud",id)
  36.  
  37. }
  38.  
  39.  
  40.  
  41. public hud(id)
  42.  
  43. {
  44.  
  45. new stats[8],bodyhits[8],irank
  46.  
  47. irank = get_user_stats(id,stats,bodyhits)
  48.  
  49. new mrank = get_statsnum()
  50.  
  51.  
  52.  
  53. new hname[64];
  54.  
  55. get_cvar_string("hostname", hname, sizeof(hname)-1)
  56.  
  57. set_hudmessage(random_num(0,256),random_num(0,256),random_num(0,256), 0.1, 0.3, 2, 0.1, 6.0, 0.08, 0.5, 8)
  58.  
  59. show_hudmessage(id, "Üdvözöllek az %s Szerveren!^n Helyezésed: %d / %d Remélem tetszeni fog a szerver",hname, irank,mrank)
  60.  
  61. }

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