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

  1. halfastrc

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

    Any ideia how to solve a Captcha like this? The textdraws number are random, and always have different positions. I was thinking in get the position with sampTextdrawGetPos, but how can Idefine the right numbers?
  2. halfastrc

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

    I remember a time ago I downloaded a auto complete to VSCode in Lua, I look in the forum but I don't found it, where I can found this auto complete? Thank's
  3. halfastrc

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

    It's possible convert the color to HEX, example convert 'color white' to "FFFFFF"? text, prefix, color, pcolor = sampGetChatString(99) --Convert color to hex
  4. halfastrc

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

  5. halfastrc

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

    I don't know if it's this what you want: local sampev = require 'lib.samp.events' local counter = 0 function main() while not isSampAvailable() do wait(0) end family = {"vv","vv","vv"} for k,v in pairs(family) do if v == "vv" then -- If family = vv then...
  6. halfastrc

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

    Can you explain a little better? You want insert the counter in a table?
  7. halfastrc

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

    Something like this? local sampev = require 'lib.samp.events' local counter = 0 function main() while not isSampAvailable() do wait(0) end asd = {"vv","vv"} for k,v in pairs(asd) do if v == "vv" then counter = counter + 1 print(counter)...
  8. halfastrc

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

    How can I know with which button a dialog get closed?
  9. halfastrc

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

  10. halfastrc

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

    Why the licence don't got expired? local https = require 'ssl.https' local effil = require 'effil' local sampev = require 'lib.samp.events' function main() while not isSampAvailable() do wait(0) end end function getTime(timezone) local time =...
  11. halfastrc

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

    There's anyway to bypass the flood of the server? For example,quickly send a command without get block by the serve.
  12. halfastrc

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

  13. halfastrc

    On / Off through the dialog

    I want Activate/Deactivate my script through the dialog, but the script just stay in ON, what i'm doing wrong? local sampev = require 'lib.samp.events' function main() while not isSampAvailable() do wait(0) end dialog() end function dialog() sampShowDialog(0...
  14. halfastrc

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

    There's any way to do this, but without Sampfuncs? Something like this {$CLEO .cs} 0000: NOP REPEAT WAIT 0 UNTIL 0AFA: WHILE TRUE WAIT 0 IF 0C29: $NOT_USED = stristr string1 0@ string2 "Salario" THEN 0AF9: samp say_msg "/caixinha" WAIT 5000 END END...
  15. halfastrc

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

    How to get a specific word in the chat and after send a command? For example, when the word "Salario" appear in chat, send this 0AF9: samp say_msg "/caixinha"