Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Si quieres añadir más, recuerda separarlos por comas. Por ejemplo: Dariemlock = true, Eliaseeg = true. Y así sucesivamente.
- moderadores = {Dariemlock = true}
- ui.addTextArea(0, "", nil, 0, 334, 800, 60, 5395026, 5395026, 0.8);
- -- Comandos
- function eventChatCommand (player, cmd)
- if moderadores[player] then
- if cmd:sub(0,1) == "m" then
- ui.addTextArea(0, "<b><J>[~Moderación] "..cmd:sub(3).."", nil, 0, 334, 800, 60, 5395026, 5395026, 0.8);
- end
- end
- end
- -- Desaparecer el comando a la visibilidad del jugador.
- system.disableChatCommandDisplay("m", true)
- -- Gracias Thetroz por los textAreas, lo único que hice fue modificarlo al gusto del pedido.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement