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

Render Name Player Color


PVJsquad
 Share

Recommended Posts

I made a new color data in my game that I call CUSTOM COLOR nah script like this

```
Case 18 'custom

dx8Colour = D3DColorARGB(Alpha, Player(MyIndex).Red, Player(MyIndex).Green, Player(MyIndex).Blue)
```
and its application like this

```
If GetPlayerAccess(Index) < 1 Then

RenderText Font_Default, Name, TextX, TextY, White, 0

'draw energy

RenderText Font_Default, LevelString, Text3X, Text3Y, White, 0

Else

RenderText Font_Default, Name, TextX, TextY, Custom, 0

'draw energy

RenderText Font_Default, LevelString, Text3X, Text3Y, White, 0

End If
```

is a problem, when I change my favorite color. then the other player was having the privileges more than 0, also change color to what I want.

picture

>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/dbb72b48bdb5b2787a0ebf36234e4e23.PNG)

so, changes were made to the player who changed his colors will affect the other, how to solve it?
Link to comment
Share on other sites

  • 2 weeks later...

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