Raised This Month: $ Target: $400
 0% 

Overlay


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 03-16-2013 , 15:13   Overlay
Reply With Quote #1

What's a good way to put up an overlay with r_screenoverlay for l4d2?

engine->ClientCommand() doesn't work, neither does CheatCommand, nor helpers->ClientCommand(). Anyone have a c++ function I could use?
ajr1234 is offline
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 03-21-2013 , 23:34   Re: Overlay
Reply With Quote #2

Bump!

I tried:

PHP Code:
engine->ClientCommand("r_screenoverlay \"test/file.vmt\"");
engine->ClientCommand("r_screenoverlay \"materials/test/file.vmt\""); 
Both come out as "Unknown command: r_screenoverlay". What am I doing incorrectly?
ajr1234 is offline
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 04-01-2013 , 17:26   Re: Overlay
Reply With Quote #3

So no one knows
ajr1234 is offline
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 04-01-2013 , 21:33   Re: Overlay
Reply With Quote #4

aww, does the include you posted here not work then or just for css/csgo?
__________________

Working on:
[CSGO/CSS] Mmorpg - an extensive XP/level modulair platform
Progress: [♣♣♣♣♣♣♣|♣♣♣]
striker07 is offline
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 04-02-2013 , 19:46   Re: Overlay
Reply With Quote #5

Those work, but only in pawn. Trying to do the exact same thing from a c++ plugin does not seem to be working on a MM plugin/VSP. I can't figure out why for the life of me.
ajr1234 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 13:44.


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