<script src="./server/functions/auth.js" type="server" language="javascript" />
<script src="./server/functions/main.js" type="server" language="javascript" />
TypeError: gta.setCameraLookAt is not a function
var cameraPosition = new Vec3(-1000.0, 191.5, 12.0);
var cameraLookAtPosition = new Vec3(-1000.0, 185.5, 11.5);
var jumpCut = true;
addEventHandler("OnPlayerJoined", (event, client) => {
if (typeof gta !== 'undefined' && gta !== null) {
gta.setCameraLookAt(cameraPosition, cameraLookAtPosition, jumpCut);
}
});