Недавнее содержимое от Warklot

  1. Warklot

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

    Hi, how to get some hidden information from server? Like you are fishing and pressing some keys then you get information in text about fish you caught. But i know that information about fish is already there on server when i wrote command to fish , but only shows in chat after i finish fishing...
  2. Warklot

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

    Is there a function or script that can help to trick server that i use "0.3.7-R4-2." version?
  3. Warklot

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

    local sampev = require "lib.samp.events" require "lib.moonloader" function main() while not isSampAvailable() do wait(0) end wait(1) while true do wait(0) end end function sampev.onServerMessage(color,text) if text:find("(.)plotas(.)") then local sync =...
  4. Warklot

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

    I tried and got new error, btw what about this "require 'ffi' because i dont have anything like this in my libraries [19:54:50.931763] (error) script.lua: ...\GTA-SanAndreas\moonloader\script.lua:65: attempt to index local 'sync_info' (a nil value) stack traceback...
  5. Warklot

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

    tried doesn't fix ERROR MESSAGE: [19:06:41.991754] (error) script.lua: ...\GTA-SanAndreas\moonloader\script.lua:28: attempt to call global 'samp_create_sync_data' (a nil value) stack traceback: ...\GTA-SanAndreas\moonloader\script.lua:28: in function 'callback' ...N...
  6. Warklot

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

    ^ why it doesn't work and crashes script ? i want it to sync position to that coordinates where shop located and write command /sellfish
  7. Warklot

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

    Why doesn't work? if text:find("(.)parduok(.)jas") then local sync = samp_create_sync_data('player') sync.position = {-2966, 476, 5} sync.send() sampSendChat("/parduotizuvi") end
  8. Warklot

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

    so how to make this "Raknet function that sends packet to that coordinate"
  9. Warklot

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

    Hello , is there a way to trick server like there is coordinate "-2966.76 , 476.04 , 5.41" where /sellfish command works , and let's say you are on other side of map and i wanna make that you can type /sellfish and it still works. Is it possible and how?
  10. Warklot

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

    It sends 1 and then crashes. ONLY IF I HAVE MOONLOADER INSTALLED. Why? #include SAMP.ahk q :: sendchat ("/ p1 werwrwerwer")
  11. Warklot

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

    is there a way to make is3dtextOnScreen(i) because now it draws lines even when im not looking at that 3d text. for i=0, 5000 do if sampIs3dTextDefined(i) then if enabled then local text, color, vx, vy, vz, distance, ignoreWalls, pID, vID =...
  12. Warklot

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

    tried with 0 and 1 nothing worked up
  13. Warklot

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

    btw it doesn't wait for 2sec it goes instantly to while why? and how to fix this or is there another function like sleep or something? if b==1 and im2==0 then lua_thread.create(function() wait(2000) --it should wait 2sec and then go for while end)...
  14. Warklot

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

    tried with 0 and 1 didn't help still server closed to the connection. BTW when i do it manually and dialog closes automatically , but with auto response it still visible.
  15. Warklot

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

    It sends response , but dialog still visible, if i close dialog i get "server closed to the connection". Why? function sampev.onShowDialog(dialogId,style,title,button,button2,text) if enabled then if dialogId==5002 then lua_thread.create(function() wait(1000)...