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

[CSS] Make a player invisible?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
maxi2014
Junior Member
Join Date: Jun 2022
Old 06-19-2022 , 10:57   [CSS] Make a player invisible?
Reply With Quote #1

Hi!
Is it possible to make a player invisible in css?

PHP Code:
public void OnPluginStart() {
    
RegConsoleCmd("sm_invisible"invisible"_");
}
public 
Action invisible(int clientint args) {
    
// TODO

Thanks for helping.
maxi2014 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-19-2022 , 17:04   Re: [CSS] Make a player invisible?
Reply With Quote #2

Quote:
Originally Posted by maxi2014 View Post
Hi!
Is it possible to make a player invisible in css?

PHP Code:
public void OnPluginStart() {
    
RegConsoleCmd("sm_invisible"invisible"_");
}
public 
Action invisible(int clientint args) {
    
// TODO

Thanks for helping.
SDKHook(client, SDKHook_SetTransmit, Event_SetTransmit)

This allows you to prevent the client from being sent to other players.

In L4D2, it even removes the player from scoreboard.

In CS:GO, I've been told it bypasses wallhack when making a player invisible.

Simply return false from the Event_SetTransmit function
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 06-19-2022 , 19:28   Re: [CSS] Make a player invisible?
Reply With Quote #3

Some stuff can be achieved using SetEntityRenderMode = RENDER_TRANSCOLOR and SetEntityRenderColor with alpha "0" as well.
__________________
Marttt is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-20-2022 , 03:20   Re: [CSS] Make a player invisible?
Reply With Quote #4

Quote:
Originally Posted by Marttt View Post
Some stuff can be achieved using SetEntityRenderMode = RENDER_TRANSCOLOR and SetEntityRenderColor with alpha "0" as well.
In CS:GO, render mode appears to contain shadows.

SetTransmit is always the best approach, as it does ( or attempt ) three actions:

1. Removes a player and attachments from any target player's computer.

2. Prevent Wallhacking due to the server thinking the player should be invisible ( obstructed by something anyways )

3. Prevent high FPS due to the server thinking the player should be invisible ( obstructed by something anyways )
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 06-26-2022 , 06:10   Re: [CSS] Make a player invisible?
Reply With Quote #5

He was talking about CSS.....
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 06-26-2022 , 15:50   Re: [CSS] Make a player invisible?
Reply With Quote #6

Quote:
Originally Posted by andi67 View Post
He was talking about CSS.....
There isn't a reason CS:GO is different from CSS in the regard that SetTransmit is the best way, as SetTransmit seems more related to Hammer World Editor's way to optimize, something both games share.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 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 21:22.


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