Raised This Month: $ Target: $400
 0% 

operator


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-05-2009 , 18:24   Re: operator
Reply With Quote #6

PHP Code:
new g_HudMessage[32]

new 
Pos format(g_HudMessage31"Hello %s""World")
// Or
new Pos format(g_HudMessagesizeof(g_HudMessage) - 1"Hello %s""World"
"Pos" is an integer. And, format() outputs the number of characters that were copied to the string "g_HudMessage". So in this case "Pos" is 11.
__________________

Last edited by fysiks; 06-05-2009 at 18:26.
fysiks is online now
 



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 23:36.


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