[HOWTO] Colored Player Names
Hello,
I made some functions to color all player names within a private message. The client name will be display in team colors while all other players will be displayed green. Code:
stock color_player(owner_index, player_index, String: client_message[192]) Code:
color_all_players(client, message); Code:
decl String:client_name[192]; Tobi |
Re: [HOWTO] Colored Player Names
nice work :D
|
Re: [HOWTO] Colored Player Names
Might be worth noting that it is CS:S specific.
|
Re: [HOWTO] Colored Player Names
This doesn't work because, color_all_players has only 2 parms and since you check if the message contains the name, there is no away someone could add the name to color_all_players unless if you think everyone is going to use a format message or add a parm to your function :) other than that good tut.
|
All times are GMT -4. The time now is 01:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.