[INC] ColorStatus
6 Attachment(s)
Description
With that inc you can send StatusText in 4 colors
But there are some limits
Usage First you must add initColorStatus() to your plugin_init for example Code:
public plugin_init() { Code:
makeStatusText(id,COLOR_STATUS:color,Float:fTime = 0.0,const szText[] = "",any:...)
Example Code statustext_test.sma in Attached Files Code:
makeStatusText(id,GREY_STATUS,0.0,"Szary statustext"); Code:
makeStatusText(0,RED_STATUS,0.0,"Czerwony statustext"); Code:
makeStatusText(0,BLUE_STATUS,5.0,"Niebieski statustext"); Code:
makeStatusText(id,YELLOW_STATUS,5.0,"formatowany %d %s",1,"string"); yellow text to one player displayed for 5 seconds "formatowany 1 string" |
Re: [INC] ColorStatus
Good job.
|
Re: [INC] ColorStatus
If i remember well, this method with tasks doesn't work very well, i used to make something like that.
I hope yours is better. |
Re: [INC] ColorStatus
Good job. I will use it when I need it. :)
|
Re: [INC] ColorStatus
You could implement a position changing hud_centerid.
|
Re: [INC] ColorStatus
Good job.
|
Re: [INC] ColorStatus
Good Job!
|
Re: [INC] ColorStatus
This is pretty interesting. So you're using the ability to change all of the text chat colors, to simply change one line of text? Love it. I would definitely use this over color chat considering sometimes all I want to do is print a simple colored text line.
|
Re: [INC] ColorStatus
Quote:
|
Re: [INC] ColorStatus
Quote:
Like the display used in War3ft, where the XP amount is displayed constantly, level, race, etc... |
All times are GMT -4. The time now is 00:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.