JesusAliso Posted January 18, 2014 Posted January 18, 2014 (edited) addEventHandler("onClientPlayerWasted", getLocalPlayer(), function () setTimer ( function () setCameraMatrix ( 1317.666015625, -1424.8095703125, 22.257886886597, 1290.4267578125, -1368.068359375, 21.506776809692, 0, 180 ) setElementInterior (0) if not guiGetVisible(spawnwnd) then guiSetVisible(spawnwnd,true) showCursor(true) if loginAUX==0 and loginAUX2==0 then guiSetVisible(form,true) --guiSetInputEnabled(true) end end end, 7000, 1 ) end ) Alguna idea de como podría agregarle "setElementInterior" a la (setCameraMatrix). Por que cuando el jugador muere en un interior, la cámara quedaría viendo a un espacio en blanco. Edited January 19, 2014 by Guest
MTA Team 0xCiBeR Posted January 18, 2014 MTA Team Posted January 18, 2014 setCameraTarget Eso soluciona tu error.
Alexs Posted January 18, 2014 Posted January 18, 2014 Usa 'setCameraInterior' para posicionar la cámara en algún interior distinto y 'setCameraTarget' para fijarla en un jugador.
Recommended Posts