- 117
- 13
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
- Версия MoonLoader
- Другое
как сделать чтобы етот кусочек кода все время флудил принятием в фаму а не раз
Lua:
if imgui.Button(faicons("gear")..u8" Auto Invite",imgui.ImVec2(145, 35)) then
lua_thread.create(function()
local mx, my, mz = getCharCoordinates(playerPed)
for id = 0,1000 do
_, handle = sampGetCharHandleBySampPlayerId(id)
if _ then
local x, y, z = getCharCoordinates(handle)
if getDistanceBetweenCoords3d(x,y,z,mx,my,mz) <= 10 then
sampSendChat('/faminvite '..id)
wait(1000) --задержка
end
end
end
end)
end