Jump to content

[AYUDA] Color script


nikolassx

Recommended Posts

Buenos días, quiero me ayuden a ponerle color a este script, antes tenia pero al actualizar el race dejo de funcionar los códigos de colores!

client

addEvent("onWins", true) 
function drawNexMapString(player) 
local x, y = guiGetScreenSize() 
winner = dxText:create( getPlayerNametagText(player).." #777777Winner", x/2, y/2, false, "bankgothic", 1, "center" ) 
nextmap = dxText:create( " ", x/2, y/2 - 10 + 40, false, "bankgothic", 1, "center" ) 
winner:type('stroke', 1, 0, 0, 0) 
nextmap:type('stroke', 1, 0, 0, 0, 255) 
local timerTime = 5 
timer = dxText:create( tostring(timerTime), x/2, y/2 - 10 + 40 + 40, 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) 

Xjk5.jpeg

Link to comment
  • Recently Browsing   0 members

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