Zeno Posted December 14, 2008 Author Share Posted December 14, 2008 More nitpicking than anything, but still a bug:Sub SetPlayerNameColor's effect is not as it should be.When used, it temporarily changes the colour of a player's name to the chosen input colour. Upon relogging, the player's name reverts to the original colour. That part of it works and makes sense. Unfortunately, _only the player whose name changes colour will see the change._Though a command of seemingly low worth, it is the most practical way to make names invisible for hiding or stealth skills, by using values above 15. Since only the affected player will see the change, it is currently useless for those purposes. Link to comment Share on other sites More sharing options...
unnown Posted December 15, 2008 Share Posted December 15, 2008 you could either download my compiled versionhttp://www.touchofdeathforums.com/smf/index.php?topic=35142.msg325352#neworclient side> ' :::::::::::::::::::::::::::::::: ' :: playername coloring packet :: ' :::::::::::::::::::::::::::::::: If (casestring = "namecolor") Then Player(parse(1)).color = Val(parse(2)) Exit Sub End Ifserver side>add this to the playerwarp subsCall SendDataToMap(Mapnum, "namecolor" & SEP_CHAR & Index & SEP_CHAR & Player(Index).Color & END_CHAR)and thisSub SetPlayerNameColor(ByVal Index As Long, ByVal Color As Long) Call SendDataToMap(GetPlayerMap(Index), "namecolor" & SEP_CHAR & Index & SEP_CHAR & Color & END_CHAR) Player(Index).Color = ColorEnd Suband of cours the server needs the color type :) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now