Raised This Month: $ Target: $400
 0% 

Simulating UTIL_LogPrintf


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-22-2017 , 11:42   Re: Simulating UTIL_LogPrintf
Reply With Quote #1

I knew you will ask that and you know I'll tell you that including a module is perfectly fine is this module can do the job.
But, to answer your question, I could not find a way without orpheu. UTIL_LogPrintf is using ALERT which is pfnAlertMessage. I tried using EngFunc_AllertMessage and even calling that function with orpheu instead of fakemeta, but it seems like metamod ignores this calls.
I did not check more than that, but at a first glance it looks like it's not possible without manually calling C_AlertMessage.
__________________

Last edited by HamletEagle; 07-22-2017 at 11:43.
HamletEagle 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 22:46.


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