Jump to page content
English English   Polish Polish   Dutch Dutch   Russian Russian   German German   Hungarian Hungarian   Norwegian Norwegian   Swedish Swedish   Finnish Finnish   Romanian Romanian   Spanish Spanish   Portuguese Portuguese   Latvian Latvian  
Homepage
Home
Register
Login

Resources
Forum
Wiki
Servers

rssAdmin Logueado Espanol ([lg]admin_logueado)

Category:script
Author(s):sebastin77
Downloads:87
Rate:You need to be logged in to vote
Rating:None (0)
Description:
hola este recurso podria servir para tu servidor.
este recurso solo podras usarlo,cuando te logues dira
Sea logueado el administrador o creador o creadora
si quieres puede modificar esos dos

dzautomaticmessages este,recurso tambièn.sirve para que puedas enviar un mensaje que aparesera abajo ejemplo
texto = "David Alcalá(Drex) les presenta... (DX Mensajes automáticos)" ------Mensaje de inicio, si quieres lo puedes borrar... y dejarlo así ""
rc, gc, bc = 0, 255, 0 ------Colores de inicio
posicion = "abajo" ---------Posición de los mensajes puede ser "arriba" o "abajo"
barra = "true" ---- (Ésto es broma e.e) te amo zorro <3
local screenW, screenH = guiGetScreenSize()

textos = { ---------------------------------------tabla para tus textos---------------------------------------
--------------------- "texto", r, g, b ---------------------
{"Bienbenidos, Al servidor MTA Anime YT. espero que la pases super bien y leer f9 para tener imfo", 0, 255, 0},
{"Nuestro grupos de discord https://discord.gg/HR9PUz facebook https://www.facebook.com/groups/2297177430340197/", 0, 0, 255},
{"estee servidor es divertido y no podras hablar mal del servidor o seras ignorado", 0, 0, 255},
}

------------función que cambia los textos cada segundo------------
function cambiartexto()
texto, rc, gc, bc = unpack(textos[math.random(#textos)])
end
setTimer(cambiartexto,1000,0) ----------tiempo en el que cambiará los mensajes, segundo multiplicado x 1000

---------------------------------EL DX QUE MOSTRARÁ LOS MENSAJES AUTOMÁTICOS---------------------------------
addEventHandler("onClientRender", root,
function()
if posicion == "abajo" then
if barra == "true" then
dxDrawLine((screenW * 0.0000) - 1, (screenH * 0.9661) - 1, (screenW * 0.0000) - 1, screenH * 1.0000, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(screenW * 1.0000, (screenH * 0.9661) - 1, (screenW * 0.0000) - 1, (screenH * 0.9661) - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine((screenW * 0.0000) - 1, screenH * 1.0000, screenW * 1.0000, screenH * 1.0000, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(screenW * 1.0000, screenH * 1.0000, screenW * 1.0000, (screenH * 0.9661) - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawRectangle(screenW * 0.0000, screenH * 0.9661, screenW * 1.0000, screenH * 0.0339, tocolor(0, 0, 0, 155), false)
end
dxDrawText(texto, (screenW * 0.0007) - 1, (screenH * 0.9635) - 1, (screenW * 0.9971) - 1, (screenH * 1.0000) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
dxDrawText(texto, (screenW * 0.0007) + 1, (screenH * 0.9635) - 1, (screenW * 0.9971) + 1, (screenH * 1.0000) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
dxDrawText(texto, (screenW * 0.0007) - 1, (screenH * 0.9635) + 1, (screenW * 0.9971) - 1, (screenH * 1.0000) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
dxDrawText(texto, (screenW * 0.0007) + 1, (screenH * 0.9635) + 1, (screenW * 0.9971) + 1, (screenH * 1.0000) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
dxDrawText(texto, screenW * 0.0007, screenH * 0.9635, screenW * 0.9971, screenH * 1.0000, tocolor(rc, gc, bc, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
elseif posicion == "arriba" then
if barra == "true" then
dxDrawLine((screenW * 0.0007) - 1, (screenH * 0.0000) - 1, (screenW * 0.0007) - 1, screenH * 0.0339, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(screenW * 1.0007, (screenH * 0.0000) - 1, (screenW * 0.0007) - 1, (screenH * 0.0000) - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine((screenW * 0.0007) - 1, screenH * 0.0339, screenW * 1.0007, screenH * 0.0339, tocolor(0, 0, 0, 255), 1, false)
dxDrawLine(screenW * 1.0007, screenH * 0.0339, screenW * 1.0007, (screenH * 0.0000) - 1, tocolor(0, 0, 0, 255), 1, false)
dxDrawRectangle(screenW * 0.0007, screenH * 0.0000, screenW * 1.0000, screenH * 0.0339, tocolor(0, 0, 0, 155), false)
end
dxDrawText(texto, (screenW * 0.0007) - 1, (screenH * 0.0000) - 1, (screenW * 0.9971) - 1, (screenH * 0.0365) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
dxDrawText(texto, (screenW * 0.0007) + 1, (screenH * 0.0000) - 1, (screenW * 0.9971) + 1, (screenH * 0.0365) - 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
dxDrawText(texto, (screenW * 0.0007) - 1, (screenH * 0.0000) + 1, (screenW * 0.9971) - 1, (screenH * 0.0365) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
dxDrawText(texto, (screenW * 0.0007) + 1, (screenH * 0.0000) + 1, (screenW * 0.9971) + 1, (screenH * 0.0365) + 1, tocolor(0, 0, 0, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)
dxDrawText(texto, screenW * 0.0007, screenH * -0.0013, screenW * 0.9971, screenH * 0.0352, tocolor(rc, gc, bc, 255), 1.00, "default-bold", "center", "center", true, true, false, true, false)

end
end
ay ves todo lo que quieras modificar
...

(more)

Download latest version | Report

Version history

Version Publish Date Changes
1.1.0 2019-06-03 00:08:28 First public release Download