function main()
sampRegisterChatCommand("random", function()
local x, y = math.random(-3000, 3000), math.random(-3000, 3000)
requestCollision(x, y); loadScene(x, y, 999)
local z = getGroundZFor3dCoord(x, y, 999)
setCharCoordinates(1, x, y, z)
end)
wait(-1)
end