Raised This Month: $51 Target: $400
 12% 

overlay [CSGO]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Miew
Member
Join Date: Jan 2014
Old 07-05-2014 , 18:07   overlay [CSGO]
Reply With Quote #1

it's possible to displayoverlay in csgo ?

for tga file

Last edited by Miew; 07-05-2014 at 18:11.
Miew is offline
Miew
Member
Join Date: Jan 2014
Old 07-06-2014 , 08:15   Re: overlay [CSGO]
Reply With Quote #2

i have try this but doesn't work
PHP Code:
#include <sdktools>

#define Overlay "overlays/team"

new Handle:Timer INVALID_HANDLE;

public 
Plugin:myinfo =
{
    
name " Overlay test ",
    
author " Miew__^ ",
    
description " Test ",
    
version "1.0",
    
url ""
};

public 
OnMapStart()
{

}

public 
OnPluginStart()
{
    if( 
Timer == INVALID_HANDLE )
    {
        
Timer CreateTimer0.1afficher_overlay__);
    }
}

public 
Action:afficher_overlayHandle:timerany:client )
{
    new 
overlay CreateEntityByName("env_screenoverlay");
    
DispatchKeyValue(overlay"OverlayName1""overlays/team.vmt");
    
AcceptEntityInput(overlay"StartOverlays"client);
    
RemoveEdict(overlay);

Miew is offline
TheWho
AlliedModders Donor
Join Date: Jul 2012
Old 07-14-2014 , 16:27   Re: overlay [CSGO]
Reply With Quote #3

Timer on map start please.

Is the overlay valid?
Do you have a for loop, with valid clients?
Why not using ClientCommand and r_screenoverlay?

"for tga file" -> "overlays/team.vmt"??

Last edited by TheWho; 07-14-2014 at 16:28.
TheWho 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 03:29.


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