Raised This Month: $ Target: $400
 0% 

[L4D2] Sinister Jockey


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BloodyBlade
Senior Member
Join Date: Feb 2018
Old 03-13-2020 , 17:53   Re: [L4D2] Sinister Jockey
Reply With Quote #15

Quote:
Originally Posted by Slaven555 View Post
With l4d_sjm_bacterialfeetride turned on, "1" after the jockey knocks the survivor, an error occurs. If you raise the survivor, he starts walking with accelerated movement.
You need change:
Code:
public Action Event_JockeyRideEnd(Event event, const char[] name, bool dontBroadcast)
{
	int client = GetClientOfUserId(GetEventInt(event, "userid"));
	int victim = GetClientOfUserId(GetEventInt(event, "victim"));
	if (IsValidClient(client))
	{
		isRiding[client] = false;
	}
	if (isBacterialFeetRide && IsValidClient(victim))
	{
		SetEntDataFloat(victim, laggedMovementOffset, 1.0 * GetConVarFloat(cvarBacterialFeetRideSpeed), true);
	}
}
To:
Code:
public Action Event_JockeyRideEnd(Event event, const char[] name, bool dontBroadcast)
{
	int client = GetClientOfUserId(GetEventInt(event, "userid"));
	int victim = GetClientOfUserId(GetEventInt(event, "victim"));
	if (IsValidClient(client))
	{
		isRiding[client] = false;
	}
	if (isBacterialFeetRide && IsValidClient(victim))
	{
		SetEntDataFloat(victim, laggedMovementOffset, 1.0, true);
	}
}
BloodyBlade is offline
 



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 04:45.


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