JesusAliso Posted January 18, 2014 Share 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 Link to comment
MTA Team 0xCiBeR Posted January 18, 2014 MTA Team Share Posted January 18, 2014 setCameraTarget Eso soluciona tu error. Link to comment
Alexs Posted January 18, 2014 Share Posted January 18, 2014 Usa 'setCameraInterior' para posicionar la cámara en algún interior distinto y 'setCameraTarget' para fijarla en un jugador. Link to comment
JesusAliso Posted January 19, 2014 Author Share Posted January 19, 2014 ok, Gracias por responder. Link to comment
Recommended Posts