main = function()
sampRegisterChatCommand('start', function()
f = not f
sampAddChatMessage(f and 'ok' or 'ko', -1)
end)
wait(-1)
end
require('samp.events').onSendPlayerSync = function(data)
if f then
data.position = {x = 1337, y = 1338, z = -1339}...