Raised This Month: $ Target: $400
 0% 

Get the count of characters or words in chat.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 09-04-2009 , 19:12   Re: Get the count of characters or words in chat.
Reply With Quote #1

Hey, thanks, but my doubt persists. For example, how I can do it using strlen?

An example code that I wrote for this purpose:
Code:
register_clcmd( "say", "HandleSay" );

public HandleSay( id )
{
	new arg[ 128 ];
	read_args( arg, charsmax( arg ) );

	new szString = strlen( arg )
}
Is pretty obvious that I have no idea how to continue xD
__________________
"There is no knowledge, that is not power"
fezh is offline
Reply



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 15:08.


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