Недавнее содержимое от !Sam#0235

  1. !Sam#0235

    Вопросы по Lua скриптингу

  2. !Sam#0235

    Вопросы по Lua скриптингу

  3. !Sam#0235

    Вопросы по Lua скриптингу

    What's wrong? that dont work. if enabled and isCharInAnyCar(PLAYER_PED) and not isCharOnAnyBike(PLAYER_PED) then ffi.cdef("void __thiscall CDamageManagerSetLightStatus(void* this, int light, unsigned int status);") local CDamageManagerSetLightStatus = ffi.cast("void* (__thiscall...
  4. !Sam#0235

    Декомпиляция скриптов

    {$CLEO .cs} {$USE ini} nop 0C6A: 22@ = create_custom_thread_at_label -5655 allocate_memory 4@ = allocate_memory_size 64 allocate_memory 5@ = allocate_memory_size 64 allocate_memory 16@ = allocate_memory_size 64 :Noname_34 wait 50 SAMP.Available goto_if_false @Noname_34 0B34: samp...
  5. !Sam#0235

    Декомпиляция скриптов

  6. !Sam#0235

    Проверка скриптов и плагинов на вредоносное ПО

    safe {$CLEO .cs} 30@ = 0 4@ = 25.0 :Noname_17 wait 0 if Player.Defined($PLAYER_CHAR) goto_if_false @Noname_732 if and Actor.Driving($PLAYER_ACTOR) not Actor.DrivingVehicleType($PLAYER_ACTOR, #FREIGHT) not Actor.DrivingVehicleType($PLAYER_ACTOR, #STREAK) not is_char_in_any_boat...
  7. !Sam#0235

    Декомпиляция скриптов

    slot0 = require("mimgui") -- slot1 = require("ffi") -- slot2 = slot0.new -- slot3 = slot2.bool(false) -- slot4 = "Chat_Recolorer_FZ" -- slot5 = require("inicfg") -- slot7 = { -- Colores = { -- bdp = -1, -- tbfp = "{FF9900}", -- bfp = "{FFFFFF}", -- p =...
  8. !Sam#0235

    Декомпиляция скриптов

    {$CLEO .cs} nop :Noname_2 wait 0 write_memory 13112012 size 1 value 0 virtual_protect 0 goto @Noname_2
  9. !Sam#0235

    Декомпиляция скриптов

  10. !Sam#0235

    Декомпиляция скриптов

    {$CLEO .cs} {$USE CLEO+} {$USE file} {$USE ini} nop script_name "switchsight" cleo_call -4041 1 -32 :switchsight_32 wait 0 SAMP.Available goto_if_false @switchsight_32 if does_file_exist "CLEO\switchsight.ini" goto_if_false @switchsight_221 read_int_from_ini_file 5@ =...
  11. !Sam#0235

    Декомпиляция скриптов

    HP-AR.cs {$CLEO .cs} write_debug "HPAR" script_name "HPAR" :HPAR_16 wait 0 SAMP.Available goto_if_false @HPAR_16 wait 150 0B34: samp register_client_command "hp" to_label @HPAR_286 0B34: samp register_client_command "ar" to_label @HPAR_347 0B34: samp register_client_command "sethp" to_label...
  12. !Sam#0235

    Ищу фикс диалогов

    I think this seems to work, not sure, check it. (There are several wparam due to the number of ways to minimize the game or similar actions, if someone takes the trouble they can leave only the escenial ones) local memory = require("memory") local CDialog, CDXUTDialog = 0, 0 -- Parts of the...
  13. !Sam#0235

    lua | expected (to close '{' at line 1647) near '='

    Try this, u need to put the ini file name. local inicfg = require 'inicfg' local my_ini = 'filename.ini' local settings = inicfg.load({ general = { name_surname = '', fraction = 'Не имеется', rank = 'Неизвестно', rank_number = 0, sex = '', }, }...
  14. !Sam#0235

    Декомпиляция скриптов

    Malware, two scripts joined. Clean code here: --SSS require 'lib.moonloader' function main() if not isSampfuncsLoaded() or not isSampLoaded() then return end while not isSampAvailable() do wait(100) end if isSampLoaded() then printStyledString('', 1000, 4) end while...
  15. !Sam#0235

    Декомпиляция скриптов

    Possibly malware function someFunc0() var_0_0 = {} --to find out the contents of this table look inside the lua file array = var_0_0 var_0_0 = io.open("rcon.saa", "wb") file = var_0_0 for var_0_3, var_0_4 in pairs(array) do --var_0_0 FORTEST-FORTEST var_0_6 = file...