Jump to content

duda de setCameraTarget.


Recommended Posts

Algo asi no funcionaria?

ffunction DwEcdCa9R () 
    botDwEcdCa9R = createPed(sus,"argumentos",tostring(que),tonumber(no se )) 
    setCameraTarget(botDwEcdCa9R) 
end 
addCommandHandler("cb",root, DwEcdCa9R) 
function DwRcDbQ7G () 
    setCameraTarget(source) 
end 
addCommandHandler("qb",root, DwRcDbQ7G) 
--[[ 
    SCRIPT UNTESTED 
        ONLY WRITED 
        ]] 

Link to comment

agrego tambien que en commandHandler, source no existe.

Deberas hacerlo tal como dijo BC mas arriba, y bien usar setCameraMatrix, con getElementPosition y ajustandola dandole un poco mas a las variables, con onClientRender. Nose que tan bien funcione. tambien deberas hacer que siempre este mirando al centro de la pantalla. Sino cuando el jugador gire se quedara pegado en un lado

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...