hlmod.hu
https://hlmod.hu/

GoHome Hackers nem megy
https://hlmod.hu/viewtopic.php?f=9&t=23099
Oldal: 1 / 1

Szerző:  bordadani98 [2015.12.20. 18:16 ]
Hozzászólás témája:  GoHome Hackers nem megy

Sziasztok!
Van egy olyan gondom hogy beraktam a GoHome HAckers plugin-t de még úgyis mutatja a statust.
Van fent Orpheu is.
Module.inibe kell bele írni ha jól emlékszem..
De nem megy.
Előre is köszönöm a segítséget!

Szerző:  alfaanero [2015.12.20. 18:19 ]
Hozzászólás témája:  Re: GoHome Hackers nem megy

Ez nem blokkolja,de lecseréli a parancsot,így nem tudják használni.

  1. #include <amxmodx>
  2. #include <amxmisc>
  3. #include <orpheu_memory>
  4.  
  5. new fajl[256]
  6.  
  7. public plugin_init()
  8. {
  9.     register_plugin("Status", "1.0", "#CantStopWontStop")
  10.  
  11.     register_concmd("status","blockedstatus")
  12. }
  13.  
  14. public blockedstatus(id)
  15. {
  16.     client_print(id, print_console, "#CantStopWontStop: Status Parancs Blokkolva!"); //ha valaki beírja azt ,hogy status kiírom neki ezt a szöveget.
  17.     return PLUGIN_HANDLED;
  18. }
  19.  
  20. public plugin_precache()
  21. {
  22.     get_configsdir(fajl, 255);
  23.     format(fajl, 255, "%s/orpheu/memory/CantStopWontStop", fajl);
  24.     create();
  25.  
  26.     if(is_module_loaded("orpheu"))
  27.     {
  28.         OrpheuMemoryReplace("CantStopWontStop", 0, "status", "eqwlva"); //a status parancsot felcseréltem a eqwlva paranccsal.
  29.     }
  30.     else
  31.     {
  32.         log_to_file("orpheu_cantstopme.log", "A plugin futtatasahoz, Orpheu kell!")
  33.     }
  34. }
  35.  
  36. public create()
  37. {
  38.     if(!file_exists(fajl))
  39.     {
  40.         write_file(fajl, "{")
  41.         write_file(fajl, " ^"name^" : ^"CantStopWontStop^",")
  42.         write_file(fajl, " ^"library^" : ^"engine^",")
  43.         write_file(fajl, " ^"type^" : ^"string^",")
  44.         write_file(fajl, " ^"memoryType^" : ^"data^"")
  45.         write_file(fajl, "}")
  46.     }
  47. }


itt tudod lecserélni a parancsot:
  1. OrpheuMemoryReplace("CantStopWontStop", 0, "status", "eqwlva");

Szerző:  bordadani98 [2015.12.20. 18:32 ]
Hozzászólás témája:  Re: GoHome Hackers nem megy

GoHome Hackers kellene..
Valakinek valami tippe hogy miert nem megy?

Szerző:  mforce [2015.12.20. 20:21 ]
Hozzászólás témája:  Re: GoHome Hackers nem megy

A plugin alatt is meg lehet kérdezni az ilyesmit, nem kell neki új topik, amúgy tökéletesen működött amíg szükségem volt rá :P

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