Works beautifully <3
function moveCam(NewX,NewY,NewZ)
if (getElementData(getLocalPlayer(), "gamemode") == false) then
local x, y, z, x2, y2, z2 = getCameraMatrix( thePlayer )
if not NewX then NewX = 0 end
if not NewY then NewY = 0 end
if not NewZ then NewZ = 0 end
setCameraMatrix( x+NewX, y+NewY, z+NewZ, x2, y2, z2 )
else
killTimer(CamTimer)
end
end
addEventHandler("onClientResourceStart", getResourceRootElement(),
function()
if (getElementData(getLocalPlayer(), "gamemode") == false) then
-- Init the camera.
fadeCamera(true, 1.0, 0, 0, 0)
setCameraMatrix(-1451.81, -338.69, 14.71, -1413.49, -297.85, 25.43)
--setCameraMatrix ( -3899.1423339844, 1324.7391357422, 7446 , -3899.1423339844, 1324.7391357422, 7460, 20, 170)
CamTimer = setTimer(moveCam, 50, 0, 0.5, 0.5, 0.1)
setTime(0,0)
setWeather(9)
end
end
)
Now the basic thing work's, now do you have any idea of a good place to circulate on :3?