Raised This Month: $ Target: $400
 0% 

format_args


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-18-2005 , 23:27   format_args
Reply With Quote #1

How does format_args work exactly? Is there a difference between "format_args(string,len,1)" and "read_argv(1,string,len)"? Is format_args an outdated version of read_argv or something? The include file and the funcwiki don't have much information.

Additionally, the only thing a forum search comes up with is this post I just made.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
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
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 19:26.


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