Jump to content

winer text "is the final survivor"


Marvellous

Recommended Posts

Please help :/

addEvent("onWins", true) 
function drawNexMapString(player) 
local x, y = guiGetScreenSize() 
winner = dxText:create("#ECECEC"..getPlayerNametagText(player).." #00B2EEhas pwnd you all", x / 2, y / 2 - 10 + 75 - 41, false, "bankgothic", 1, "center") 
nextmap = dxText:create( "#ECECECRandom map start after:", x / 2, y / 2 - 10 + 75 + 11, false, "bankgothic", 1, "center") 
winner:type('stroke', 1, 0, 0, 0, 255) 
nextmap:type('stroke', 1, 0, 0, 0, 255) 
local timerTime = 5 
timer = dxText:create( tostring(timerTime), x / 2, y / 2 - 10 + 75 + 41, false, "bankgothic", 1, "center") 
timer:type('stroke', 1, 0, 0, 0, 255) 
setTimer(function()timerTime = timerTime - 1 timer:text(tostring(timerTime)) end, 1000, 4) 
setTimer(function()winner:visible(false) nextmap:visible(false) timer:visible(false)end, 5500, 1) 
end 
addEventHandler("onWins", getRootElement(), drawNexMapString) 

Link to comment
Please help :/

addEvent("onWins", true) 

function drawNexMapString(player)

local x, y = guiGetScreenSize()

winner = dxText:create("#ECECEC"..getPlayerNametagText(player).." #00B2EEhas pwnd you all", x / 2, y / 2 - 10 + 75 - 41, false, "bankgothic", 1, "center")

nextmap = dxText:create( "#ECECECRandom map start after:", x / 2, y / 2 - 10 + 75 + 11, false, "bankgothic", 1, "center")

winner:type('stroke', 1, 0, 0, 0, 255)

nextmap:type('stroke', 1, 0, 0, 0, 255)

local timerTime = 5

timer = dxText:create( tostring(timerTime), x / 2, y / 2 - 10 + 75 + 41, false, "bankgothic", 1, "center")

timer:type('stroke', 1, 0, 0, 0, 255)

setTimer(function()timerTime = timerTime - 1 timer:text(tostring(timerTime)) end, 1000, 4)

setTimer(function()winner:visible(false) nextmap:visible(false) timer:visible(false)end, 5500, 1)

end

addEventHandler("onWins", getRootElement(), drawNexMapString)

Why you stolen my old script?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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