hlmod.hu
https://hlmod.hu/

Motd előhívás hiba
https://hlmod.hu/viewtopic.php?f=9&t=22250
Oldal: 1 / 1

Szerző:  HELP ME [2015.09.24. 14:52 ]
Hozzászólás témája:  Motd előhívás hiba

Csá all!

Van egy olyan hiba h próbáltam azt a motd előhívó plugint ami fent van az oldalon és írtam egy sajátot is de nem hozza elő hiába írom be a parancsot :cry: :cry: Tudnátok segíteni? Itt a forráskód amit írtam szerintem rendben van

SMA Forráskód: [ Mindet kijelol ]
  1. public plugin_init() {
  2. register_plugin(PLUGIN, VERSION, AUTHOR)
  3. register_clcmd("say /info", "info");
  4. set_task(50.0, "hirdeto")
  5. }
  6.  
  7. public info ( id )
  8. {
  9. show_motd(id, "addons/amxmodx/configs/motds/info.txt");
  10. }
  11. public hirdeto ()
  12. {
  13. client_print(0, print_chat, "Ird be /info az informaciok megtekintesehez!!!");

Szerző:  slre141 [2015.09.24. 15:12 ]
Hozzászólás témája:  Re: Motd előhívás hiba

Szia parancsolj
SMA Forráskód: [ Mindet kijelol ]
  1. /* Plugin generated by AMXX-Studio */
  2.  
  3. #include <amxmodx>
  4. #include <amxmisc>
  5.  
  6. #define PLUGIN "MoTD"
  7. #define VERSION "1.0"
  8. #define AUTHOR "Troy Motd"
  9.  
  10.  
  11. public plugin_init() {
  12. register_plugin(PLUGIN, VERSION, AUTHOR)
  13. register_clcmd("say /info", "info");
  14. set_task(50.0, "hirdeto")
  15. }
  16.  
  17. public info(id)
  18. {
  19. show_motd(id, "addons/amxmodx/configs/motds/info.txt");
  20. }
  21. public hirdeto ()
  22. {
  23. client_print(0, print_chat, "Ird be /info az informaciok megtekintesehez!!!");
  24.  
  25. }


addons/amxmodx/configs/motds/info.txt)Ide kell létrehozni remélem érted hogyan..

Szerző:  Anonymous1337 [2015.09.24. 15:19 ]
Hozzászólás témája:  Re: Motd előhívás hiba

Nem kell a misc.


SMA Forráskód: [ Mindet kijelol ]
  1. #include <amxmodx>
  2.  
  3. #define PLUGIN "MoTD"
  4. #define VERZIO "1.0"
  5. #define KESZITO "Troy Motd"
  6.  
  7.  
  8. public plugin_init() {
  9. register_plugin(PLUGIN, VERZIO, KESZITO)
  10. register_clcmd("say /info", "info");
  11. set_task(50.0, "hirdeto")
  12. }
  13.  
  14. public info(id)
  15. {
  16. show_motd(id, "addons/amxmodx/configs/motds/info.txt");
  17. }
  18. public hirdeto ()
  19. {
  20. client_print(0, print_chat, "Ird be /info az informaciok megtekintesehez!!!");
  21. }

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