eldelahoz Posted March 30, 2013 Share Posted March 30, 2013 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 Link to comment
Freddy123 Posted March 30, 2013 Share Posted March 30, 2013 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
eldelahoz Posted March 30, 2013 Author Share Posted March 30, 2013 no teve llevar setTimer? Link to comment
Freddy123 Posted March 30, 2013 Share Posted March 30, 2013 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
Castillo Posted March 30, 2013 Share Posted March 30, 2013 Esta mal, porque "source" no esta definido en "cuandoMuere". Link to comment
Recommended Posts