Jump to content

Help


Recommended Posts

Posted

Hello, can somebody tell me the location of /me command, i want change the color of it.

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

Can you post an example code? and thanks.

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

@Tete, you can't do it with these function.

@StevyDK, you have to use the event onPlayerChat.

addEventHandler("onPlayerChat", root, 
function(msg, msgType) 
    if msgType == 1 then 
        cancelEvent() 
        outputChatBox("* "..getPlayerName(source).." Say "..msg, root, 255, 255, 255) 
    end 
end) 

CiTLh.png
Posted

Not working :(

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted
@Tete, you can't do it with these function.

@StevyDK, you have to use the event onPlayerChat.

addEventHandler("onPlayerChat", root, 
function(msg, msgType) 
    if msgType == 1 then 
        cancelEvent() 
        outputChatBox("* "..getPlayerName(source).." Say "..msg, root, 255, 255, 255) 
    end 
end) 

Why can't i?

F4MZM4.gif

Posted
Be sure it's server side.

Thanks working now 100% Thanks bro, and ramdan kareem. :)

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted
@Tete, you can't do it with these function.

@StevyDK, you have to use the event onPlayerChat.

addEventHandler("onPlayerChat", root, 
function(msg, msgType) 
    if msgType == 1 then 
        cancelEvent() 
        outputChatBox("* "..getPlayerName(source).." Say "..msg, root, 255, 255, 255) 
    end 
end) 

Why can't i?

Simply because you will cancel the command 'me' with the event onPlayerCommand so that you won't be able to use it anymore even with addCommandHandler.

Be sure it's server side.

Thanks working now 100% Thanks bro, and ramdan kareem. :)

You're welcome.

CiTLh.png
Posted

And i want use get player nametag color

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

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