Jump to content

respawn


eldelahoz

Recommended Posts

Posted

Hola lo que pasa es que no ce como hacer para que cuando uno se muera se demore en revivir yo se que esta el hospitalrespawn pero yo lo quería sacar de hay pero el recurso esta codificado así que quería saber si me pueden ayudar por fis

Posted

Prueba creando un script con este codigo.

function cuandoMuere() 
   spawnPlayer (source, x, y, z, rotacion, skinID, 0, 0) 
   setCameraTarget(source, source) 
   showChat(source, true) 
addEventHandler ("onPlayerWasted", getRootElement(), cuandoMuere) 

le cambias la posicion x, y ,z, la rotación y el skin.

Posted
no teve llevar setTimer?

prueba con

function cuandoMuere() 
   spawnPlayer (source, x, y, z, rotacion, skinID, 0, 0) 
   setCameraTarget(source, source) 
   showChat(source, true) 
end 
  
 function timer() 
  setTimer ( cuandoMuere, tiempo en milisegundos, 1) 
end 
addEventHandler ("onPlayerWasted", getRootElement(), timer) 

  • Recently Browsing   0 members

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