Jump to content

respawn


eldelahoz

Recommended Posts

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.

Link to comment
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) 

Link to comment
  • Recently Browsing   0 members

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