View Single Post
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 01-23-2018 , 15:12   Re: [ANY] Trails Chroma (Player Trails) [23-01-2018]
Reply With Quote #18

For check if player teleported you do not must hooking teleport ents
my EZ method:

if(GetVectorDistance(origin, g_fLastPosition[client], false) > 50.0) return;

'50.0' is a reserve for high speed players

This method fixing all three bugs
At the first spawn of the player, a trail is drawn from the center of the world. Fixed.
From the place of death of the player to the spawn a trail is drawn. Fixed.
Between the teleports of the engineer is also drawn a trail. I have no idea how the teleporter works in TF2. If it's not trigger_teleport, then I have no idea how to fix it.
__________________

Last edited by _GamerX; 01-23-2018 at 15:13.
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX