SlonPvpru

[SRP] Poker-Bot

Jun 8th, 2020
950
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.00 KB | None | 0 0
  1. -- Не нужно стоять тыкать покер ,скрипт будет делать это за вас. По мимо этого не кикает за афк можно работать стоять скок угодно и получать чай + и зп.
  2.  
  3. local sampev = require 'lib.samp.events'
  4.     local memory = require 'memory'
  5.     memory.setuint8(7634870, 1)
  6.     memory.setuint8(7635034, 1)
  7.     memory.fill(7623723, 144, 8)
  8.     memory.fill(5499528, 144, 6)
  9.     memory.fill(0x00531155, 0x90, 5, true) -- fix jump by FYP
  10. pp = false
  11.  
  12. function main()
  13.     if not isSampLoaded() or not isSampfuncsLoaded() then return end
  14.     while not isSampAvailable() do wait(0) end
  15.     sampRegisterChatCommand('poker', function()
  16.         pp = not pp
  17.         printStringNow((pp and 'Poker ON' or 'Poker OFF'), 1000)
  18.     end)
  19.     wait(-1)
  20. end
  21.  
  22. function sampev.onShowTextDraw(textdrawId, data)
  23.     if pp and data.text:lower():find('start') then
  24.         lua_thread.create(function(id)
  25.             wait(1000)
  26.             sampSendClickTextdraw(id)
  27.         end, textdrawId)
  28.     end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment