require "lib.moonloader"
function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand("textdraws",get_textdraws)
while true do
wait(0)
end
end
function get_textdraws()
for id = 0, 3000 do
if sampTextdrawIsExists(id) then
print(id.."...