Jump to content

Ayuda con este script


ImPeRiO

Recommended Posts

Ayudame con este script quiero que miren al entrar al servidor sale la camera matrix ahora quiero la linea que falta que al loguearce se desaparesca y salga en play normal :D

addEvent("onSpawnPlayer", true)

addEventHandler("onSpawnPlayer", getRootElement(), onSpawnPlayer)

function setCam() 
    fadeCamera(source, true, 5) 
    setCameraMatrix(source, 1424, -887, 57, 1416, -807, 86) 
end 
addEventHandler("onPlayerJoin", getRootElement(), setCam) 
  
function setCamDos() 
    fadeCamera(source, false, 5, 0,0,0) 
    setTimer(fadeCamera, 6000, 1, source, true, 5) 
    setTimer(setCameraMatrix, 6000, 1, source, 1424, -887, 57, 1416, -807, 86) 
end 
addEventHandler("onPlayerWasted", getRootElement(), setCamDos) 

Link to comment

No funciona :/

  
addEvent("onSpawnPlayer", true) 
addEventHandler("onSpawnPlayer", getRootElement(), onSpawnPlayer) 
  
function setCam() 
    fadeCamera(source, true, 5) 
    setCameraMatrix(source, 1424, -887, 57, 1416, -807, 86) 
end 
addEventHandler("onPlayerJoin", getRootElement(), setCam) 
  
function setCamDos() 
    fadeCamera(source, false, 5, 0,0,0) 
    setTimer(fadeCamera, 6000, 1, source, true, 5) 
    setTimer(setCameraMatrix, 6000, 1, source, 1424, -887, 57, 1416, -807, 86) 
end 
addEventHandler("onPlayerWasted", getRootElement(), setCamDos) 
setCameraTarget 

Link to comment
  • Recently Browsing   0 members

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