hlmod.hu
https://hlmod.hu/

Üdvözlő plugin javítás
https://hlmod.hu/viewtopic.php?f=9&t=18034
Oldal: 1 / 1

Szerző:  Shaady [ 2014.11.09. 09:24 ]
Hozzászólás témája:  Üdvözlő plugin javítás

Sziasztok van egy plugin állítólag jónak kéne legyen de nem.Le fordítja felrakom és nem működik.És igen nem felejtettem el beírni plugins.ini-be.Aki segít megy a gomb :D

SMA Forráskód: [ Mindet kijelol ] 
#include <amxmodx>
#include <csstats>
#include <amxmisc>
#include <dhudmessage>
 
#define PLUGIN "Udvozllo"
#define AUTHOR "Small"
#define VERSION "1.0"
new bool:egyszer[33] = true
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("jointeam", "csapat");
}
 
public csapat(id)
{
if(egyszer[id] == true)
{
set_task(5.0,"hud",id)
egyszer[id] = false
}
}
 
public hud(id)
{
new stats[8],bodyhits[8],irank
irank = get_user_stats(id,stats,bodyhits)
new mrank = get_statsnum()
 
new hname[64];
get_cvar_string("hostname", hname, sizeof(hname)-1)
 
{
set_hudmessage(255, 170, 0, 0.1, 0.3, 2, 0.1, 6.0, 0.08, 0.5, 8)
show_hudmessage(id, "Üdvözöllek az %s Szerveren!^n Helyezésed: %d / %d ",hname, irank,mrank)
}
}

Szerző:  xXlederXxHUN [ 2014.11.09. 09:31 ]
Hozzászólás témája:  Re: HELP ME

SMA Forráskód: [ Mindet kijelol ]
  1. /* Script generated by Pawn Studio */
  2.  
  3. #include <amxmodx>
  4. #include <csstats>
  5. #include <amxmisc>
  6. #include <dhudmessage>
  7.  
  8. #define PLUGIN "Udvozllo"
  9. #define AUTHOR "Small"
  10. #define VERSION "1.0"
  11. new bool:egyszer[33] = true
  12. public plugin_init()
  13. {
  14. register_plugin(PLUGIN, VERSION, AUTHOR)
  15. register_clcmd("jointeam", "csapat");
  16. }
  17.  
  18. public csapat(id)
  19. {
  20. if(egyszer[id])
  21. {
  22. set_task(5.0,"hud",id)
  23. egyszer[id] = false
  24. }
  25. }
  26.  
  27. public hud(id)
  28. {
  29. new stats[8],bodyhits[8],irank
  30. irank = get_user_stats(id,stats,bodyhits)
  31. new mrank = get_statsnum()
  32.  
  33. new hname[64];
  34. get_cvar_string("hostname", hname, sizeof(hname)-1)
  35.  
  36. {
  37. set_hudmessage(255, 170, 0, 0.1, 0.3, 2, 0.1, 6.0, 0.08, 0.5, 8)
  38. show_hudmessage(id, "Üdvözöllek az %s Szerveren!^n Helyezésed: %d / %d ",hname, irank,mrank)
  39. }
  40. }

Szerző:  Shaady [ 2014.11.09. 09:52 ]
Hozzászólás témája:  Re: HELP ME

Az nem lehet hogy az ékezet miatt nem akar működni?

Szerző:  BeepBeep [ 2014.11.09. 11:06 ]
Hozzászólás témája:  Re: HELP ME

Nincs köze az ékezetnek a működéshez.
Error log?

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