Raised This Month: $ Target: $400
 0% 

[ALL] Real Sky Changer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sekac
Senior Member
Join Date: Nov 2016
Old 10-20-2021 , 15:18   Re: [CSS|ZPS|CSGO] Real Sky Changer
Reply With Quote #31

For csgo you need to disable the 3d skybox first.

Code:
public void OnClientPostAdminCheck(int client)
{
    if (!IsFakeClient(client)) 
    {
        CreateTimer(1.0, Timer_DisableSkybox, client);
    }
}

public Action Timer_DisableSkybox(Handle timer, int client)
{
	if (!IsClientInGame(client))
        return Plugin_Stop;
	
	SetEntProp(client, Prop_Send, "m_skybox3d.area", 255);
	
	return Plugin_Continue;
}
sekac is offline
 


Thread Tools
Display Modes

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 17:43.


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