Jump to content

Ayuda con un comando !!!!


djantony

Recommended Posts

function MsgDetran(source, cmd, ...) 
    local MensagemDetran = table.concat ( { ... }, " " ); 
    local name = getPlayerName(source); 
    local localidade = getZoneName(x, y, z);
    local x, y, z = getElementPosition(thePlayer)
for _,v in ipairs(getElementsByType("player")) do 
    outputChatBox("#ffffff[ #02FFFFENTORNO #ffffff]  "..name.." #FFFFFF " ..localidade.. ": #ffffff "..MensagemDetran,v, 255, 255, 255, true) -- O "Efeito" que vai aparecer no chat. Caso queira alterar as coires, aconselho esse site -> https://htmlcolorcodes.com/
    end 
end 
addCommandHandler("entorno",  MsgDetran) -- Comando

ESPAÑOL :

Hola lo que pasa es me copie de un script de chat , y quise aser un entorno ----> ejemplo (ENTORNO) Tony - Maria Beach - Mensaje /  eso seria mi ejemplo me ayudan que es lo que estoy asiendo mal ??'

 

INGLES :

Hello, what happens is I copied myself from a chat script, and I wanted to make an environment ----> example (ENVIRONMENT) Tony - Maria Beach - Message / that would be my example, help me, what am I getting wrong? '

Link to comment
  • Administrators

Thread moved to Spanish language forum. For any further posting in said language, please use this section.

If you want to post in the international section, make sure that the title and post is in English.

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...