Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function startSurvival()
- if not executesSurv then
- timeToSurvive = setTimer(outputChatBox, 20000,1, "Has sobrevivido 20 segundos sin morir",255,255,255,false)
- executesSurv = true
- outputChatBox( "Hola",255,255,255,false)
- setElementData(localPlayer, "logros", getElementData(localPlayer, "logros") + 1,false)
- end
- end
- end
- addEvent("onTimerSurvival",true)
- addEventHandler("onTimerSurvival", root, startSurvival)
- function onWastedKillSurviveTimer()
- if (isTimer(timeToSurvive)) then killTimer(timeToSurvive) end
- timeToSurvive = setTimer(outputChatBox, 5000,1, "Has sobrevivido 5 segundos sin morir",255,255,255,false)
- executesSurv = false
- end
- addEventHandler("onClientPlayerWasted",getLocalPlayer(), onWastedKillSurviveTimer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement