Raised This Month: $ Target: $400
 0% 

client_print variable


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 02-28-2009 , 08:12   Re: client_print variable
Reply With Quote #2

Hi.
%s - String.
Example:
PHP Code:
new szString32 ]
formatszStringsizeof szString ) - 1"String Phrase" )
client_print0print_chat"This is your phrase: %s"szString 
%d or %i - Integer / cell.
Example:
PHP Code:
new iValue 1
client_print
0print_chat"This is your Integer: %d"iValue 
or
PHP Code:
new szString32 ]
formatszStringsizeof szString ) - 1"1" )
client_print0print_chat"This is your Integer: %d"str_to_num szString ) ) 

Last edited by TheRadiance; 02-28-2009 at 08:14.
TheRadiance is offline
Send a message via ICQ to TheRadiance
 



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 16:56.


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