Raised This Month: $ Target: $400
 0% 

How to pass 'any ...' symbol?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 09-22-2018 , 14:28   How to pass 'any ...' symbol?
Reply With Quote #1

I would like to avoid VFormat code in Debug. Is there way to pass 'any ...' symbol to DebugEx function?
PHP Code:
void Debug(int bit, const char[] formatany ...)
{
    
// here some code...
    // getting value and passing it to another function

    
static char sFormattedStr[1024];
    
VFormat(sFormattedStrsizeof(sFormattedStr), format3);

    
DebugEx(bitvaluesFormattedStr);
}

void DebugEx(int bitint value, const char[] formatany ...)
{
    
// do VFormat here!

__________________

Last edited by disawar1; 09-22-2018 at 14:29.
disawar1 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 21:06.


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