script_name('Looters Film Maker')
local memory = require 'memory'
act = false
function main()
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('ass', function ()
act = not act
sampAddChatMessage(act and '{3660E9}['..thisScript().name..']{FFFFFF} Interface off' or '{3660E9}['..thisScript().name..']{FFFFFF} Interface on', -1)
end)
while true do
wait(0)
if act then
memory.setint16(sampGetBase() + 0x70D40, 0xC390, true)
else
memory.setint16(sampGetBase() + 0x70D40, 0x8B55, true)
end
end
end
function main()
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand('ass', function ()
act = not act
end)
local sampev = require 'lib.samp.events'
local tds = {4, 2051, 2052, 2053, 2054, 2055, 2056, 2057, 2058, 2075, 2076, 2077, 2078, 2079, 2080, 2091, 2092, 2093} --айди текстдравов
function sampev.onShowTextDraw(id, data)
table.insert(tds,id)
for i = 1, #tds do
if id == tds[i] then
table.remove(tds,id)
return false
end
end
end