Raised This Month: $ Target: $400
 0% 

[ Help ] help charsmax


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-18-2018 , 16:13   [ Help ] help charsmax
Reply With Quote #1

Hey, something wrong here:

#1 - with charsmax - Not showing properly:
CheezPuff has used command.
Code:
		case MAP_MENU, KICK_MENU, BAN_MENU, SLAP_MENU, TEAM_MENU, GMENU:
		{
			new menu[64];
			
			parse( CommandsName[ command ], charsmax( menu ) ); // what wrong with charsmax?
			ColorChat( 0, "^3%s^1 has used ^4%s^1 command.",NameSz, menu)
			client_cmd( client, "amx_%smenu", menu );
		}
#2 - without charsmax - work good than #1 > i can see in chat
CheezPuff has used Map Menu command.

Code:
		case MAP_MENU, KICK_MENU, BAN_MENU, SLAP_MENU, TEAM_MENU, GMENU:
		{
			new menu[64];
			
			parse( CommandsName[ command ], menu, 63 ); // is work good with menu, 63
			ColorChat( 0, "^3%s^1 has used ^4%s^1 command.",NameSz, menu)
			client_cmd( client, "amx_%smenu", menu );
		}

Last edited by Fuck For Fun; 06-18-2018 at 16:42.
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
 



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 12:42.


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