Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
local activate = false
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand("aye", function()
activate = not activate
end)
while true do
wait(0)
end
end
function sampev.onSendPlayerSync(data)
if activate == true then
data.position.x = 1337
data.position.y = 1488
data.position.z = 228
sampAddChatMessage('aye on', 0x00FFFF)
end
end
local activate = false
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand("aye", function()
activate = not activate
end)
while true do
wait(0)
end
end
function sampev.onSendPlayerSync(data)
if activate == true then
data.position.x = 1337
data.position.y = 1488
data.position.z = 228
sampAddChatMessage('aye on', 0x00FFFF)
end
end