Jump to content

outputChatBox


DjMixCuma

Recommended Posts

Posted

hello

how to outputChatBox for one player in server-side

i have outputChatBox("bla bla", getRootElement(), 255, 0, 0, true) but this message is sending to all players, not only for me.

Posted

Instead of:

getRootElement() 

You must use a player element, like this:

outputChatBox ( "bla bla", getPlayerFromName ( "someguy" ), 255, 0, 0, true ) 

Be aware that this is just an example, you don't have to use getPlayerFromName, it could be different.

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