- 28
- 1
Как сделать чтобы в 220 инте бот начинал курд? function sampev.onSendSpawn()
newTask(function()
tp(1495.1408691406, -1279.9290771484, 14.574886322021)
checkpos()
end)
end
function checkpos()
if getBotInterior() == 220 then
newTask(function()
wait(20)
setBotPosition(1496.5258789063, 1335.7181396484, 10.978761672974)
wait(2000)
tp(1510.7685546875, 1360.7465820313, 10.97375202179)
end)
end
end
newTask(function()
tp(1495.1408691406, -1279.9290771484, 14.574886322021)
checkpos()
end)
end
function checkpos()
if getBotInterior() == 220 then
newTask(function()
wait(20)
setBotPosition(1496.5258789063, 1335.7181396484, 10.978761672974)
wait(2000)
tp(1510.7685546875, 1360.7465820313, 10.97375202179)
end)
end
end