function respawn(command, source)setTimer(spawnPlayer, 5000, 1, 1754.87695, -1930.87964, 13.57719)endaddEventHandler(\"onPlayerWasted\", respawn)
function respawnPlayer()local x,y,zx = 754.87695y = -1930.87964z = 13.57719skin = getElementModel(source)setTimer(reSpawnPlayer, 5000, 1, source, x,y,z,skin)endfunction reSpawnPlayer(source, x,y,z,skin)spawnPlayer(source, x,y,z,0,skin)setCameraTarget(source)endaddEventHandler(\"onPlayerWasted\", root, respawnPlayer)
-- Mielött elinditanád a timerrel a reSpawnPlayer-t megkell adni miaz :winkkiss: function reSpawnPlayer(source, x,y,z,skin) spawnPlayer(source, x,y,z,0,skin) setCameraTarget(source) end addEventHandler(\"onPlayerWasted\", root, respawnPlayer)function respawnPlayer() local x,y,z = 754.87695, -1930.87964, 13.57719-- Nem kell ide külön kiirkálni lehet lese fordulna a kód skin = getElementModel(source) setTimer(reSpawnPlayer, 5000, 1, source, x,y,z,skin) end