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

Jockey goes invisible when standing still


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
arclightarchery
Junior Member
Join Date: May 2022
Old 05-15-2022 , 14:51   Jockey goes invisible when standing still
Reply With Quote #1

Code:
public Action Event_PlayerSpawn(Event event, const char[] name, bool dontBrodcast)
{
	int client = GetClientOfUserId(GetEventInt(event, "userid"));
	if (IsValidJockey(client))
	{
		if (isGhostStalker)
		{
			GhostStalkerTimer[client] = CreateTimer(0.2, Timer_GhostStalker, client, TIMER_REPEAT);
		}
		if (isBacterialFeet)
		{
			cvarBacterialFeetTimer[client] = CreateTimer(0.5, Timer_BacterialFeet, client);
		}
	}
}

public Action Timer_GhostStalker(Handle timer, any client)
{
    if(!IsClientMoving(client) & IsValidJockey(client) & IsValidClient(client))
    {
        if(Opacity >= 17)
        {
            Opacity-=17;
            PrintToChatAll("%i", Opacity);
            SetEntityRenderMode(client, RENDER_TRANSCOLOR);
            SetEntityRenderColor(client, 255, 255, 255, Opacity);
            for(int i=0; i<sizeof(g_JockeySounds); i++)
            {
                StopSound(client, -1, g_JockeySounds[i]);
            }
        }
    }
    else
    {
        Opacity = 255;
        SetEntityRenderColor(client, 255, 255, 255, Opacity);
    }
}
I made a feature for Jockey, if he's not moving for 3 seconds he will goes invisible, the problem is he still emitting sound, alert the survivor and they can also trigger voice line that detects him, also another issue is other Jockey can break invi of each other, I don't know why
arclightarchery is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 05-22-2022 , 03:15   Re: Jockey goes invisible when standing still
Reply With Quote #2

Quote:
Originally Posted by arclightarchery View Post
Code:
public Action Event_PlayerSpawn(Event event, const char[] name, bool dontBrodcast)
{
	int client = GetClientOfUserId(GetEventInt(event, "userid"));
	if (IsValidJockey(client))
	{
		if (isGhostStalker)
		{
			GhostStalkerTimer[client] = CreateTimer(0.2, Timer_GhostStalker, client, TIMER_REPEAT);
		}
		if (isBacterialFeet)
		{
			cvarBacterialFeetTimer[client] = CreateTimer(0.5, Timer_BacterialFeet, client);
		}
	}
}

public Action Timer_GhostStalker(Handle timer, any client)
{
    if(!IsClientMoving(client) & IsValidJockey(client) & IsValidClient(client))
    {
        if(Opacity >= 17)
        {
            Opacity-=17;
            PrintToChatAll("%i", Opacity);
            SetEntityRenderMode(client, RENDER_TRANSCOLOR);
            SetEntityRenderColor(client, 255, 255, 255, Opacity);
            for(int i=0; i<sizeof(g_JockeySounds); i++)
            {
                StopSound(client, -1, g_JockeySounds[i]);
            }
        }
    }
    else
    {
        Opacity = 255;
        SetEntityRenderColor(client, 255, 255, 255, Opacity);
    }
}
I made a feature for Jockey, if he's not moving for 3 seconds he will goes invisible, the problem is he still emitting sound, alert the survivor and they can also trigger voice line that detects him, also another issue is other Jockey can break invi of each other, I don't know why
https://sm.alliedmods.net/new-api/sdkhooks/SDKHookCB

I was told SDKHook_SetTransmit is such a powerful disappearing enforcer that it bypasses even wallhack.

What I do know, is that it will wipe a survivor off the scoreboard. That's how powerful it is.
__________________
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 07:36.


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