Raised This Month: $ Target: $400
 0% 

format_args


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 01-19-2005 , 09:20  
Reply With Quote #2

Well, this function is useful if you want to do format-like formatting in your own function, for example for some sort of logging function:

Code:
my_log_function(LOG_FATAL_ERROR_CRASH_SERVER_AND_BURN_MACHINE, "FATAL ERROR!!!1111 omgomgomg ERROR NUMBAH: %d", 1234);


I remember there was a post by OLO that mentioned this on AMX forums... Ah yes, here: http://djeyl.net/forum/index.php?sho...hl=format_args
__________________
hello, i am pm
PM is offline
 



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 19:26.


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