Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] Chat name colour


Krumelz
 Share

Recommended Posts

So, i'd like to know what sub i gotta edit so when i add a new admin class the name shows up properly in the textbox,
cause my Admin/owner class is now set to 5, and it wont show the name, just a part black and after that the message.
If you dont understand what i mean heres a screenie:
![](http://www.freemmorpgmaker.com/files/imagehost/pics/72acee3cee6d26f0dcd4f33301a72e16.JPG)
The black part i marked red should say "[Map]Domeh:",
would be nice if someone could tell me what i have to change so it shows up properly again.
and pls excuse m y bad english.

~Krumelz
Link to comment
Share on other sites

search
b drawplayername

find

> Select Case GetPlayerAccess(Index)
>             Case 0
>                 color = RGB(255, 96, 0)
>             Case 1
>                 color = QBColor(DarkGrey)
>             Case 2
>                 color = QBColor(Cyan)
>             Case 3
>                 color = QBColor(BrightGreen)
>             Case 4
>                 color = QBColor(Yellow)
>         End Select

add,before the **end select**

> case else
> color = QBColor(White)
Link to comment
Share on other sites

well, my Select case GetPlayerAccess looks like this now:
```
Select Case GetPlayerAccess(Index)
            Case 0
                color = RGB(255, 96, 0)
            Case 1
                color = QBColor(DarkGrey)
            Case 2
                color = QBColor(Cyan)
            Case 3
                color = QBColor(BrightGreen)
            Case 4
                color = QBColor(Yellow)
            Case Else
                color = QBColor(White)
        End Select
```
but it still wont work =/
Link to comment
Share on other sites

@DshWinchester:

> try this then
>
> before end select
>
> put
>
> case 5
> color = QBColor(White)
>
> man,4 access is too much and you wanna more  :cheesy:

yea, well, my staff wants more xD
anyway, i fixed it, you gotta change it
in Private Sub HandleSayMsg, not DrawPlayerName.

thanks for your help, topic will be locked. ^^

~Krumelz
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...