Raised This Month: $29 Target: $400
 7% 

formatex to client_print_color


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
raducuursu
Junior Member
Join Date: Sep 2012
Old 09-02-2013 , 14:15   formatex to client_print_color
Reply With Quote #1

Code:
public plugin_end()
{
	map_restoreOriginalTimeLimit();
}

public vote_setupEnd()
{
	g_originalTimelimit = get_cvar_float("mp_timelimit");

	new nextMap[32];
	if (get_pcvar_num(cvar_endOfMapVote))
	{
		formatex(nextMap, sizeof(nextMap)-1, "[not yet voted on]");
	}
	else
and


Code:
if (idxWinner == g_choiceCnt)
		{
			if (get_pcvar_num(cvar_endOfMapVote))
			{
				new nextMap[32];
				formatex(nextMap, sizeof(nextMap)-1, "[not yet voted on]");
				map_setNext(nextMap);
			}
[not yet Voted on] must in green
use # include <chatcolor>
client_print_color (, Grey)
raducuursu is offline
simanovich
AlliedModders Donor
Join Date: Jun 2012
Location: Israel
Old 09-02-2013 , 14:34   Re: formatex to client_print_color
Reply With Quote #2

client_print_color supports format, so why use formatex?
__________________

I'm awesome, and I really like cookies.

Last edited by simanovich; 09-02-2013 at 14:34.
simanovich is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:36.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode