View Full Version : [TF2] Stoping player animation
Michalplyoutube
10-21-2014, 08:45
Is there a way to stop it I didn't found anything at sourcemod api
Leonardo
10-21-2014, 09:01
try this
TE_Start( "PlayerAnimEvent" );
TE_WriteNum( "m_iPlayerIndex", iClient );
TE_WriteNum( "m_iEvent", 21 ); // Cancel/Respawn (event)
TE_WriteNum( "m_nData", 0 ); // ACT_RESET (activity)
TE_SendToAll();
Michalplyoutube
11-29-2014, 06:41
try this
TE_Start( "PlayerAnimEvent" );
TE_WriteNum( "m_iPlayerIndex", iClient );
TE_WriteNum( "m_iEvent", 21 ); // Cancel/Respawn (event)
TE_WriteNum( "m_nData", 0 ); // ACT_RESET (activity)
TE_SendToAll();
I Tried it stopped the anim but i m stuck in civilian pose
Leonardo
11-29-2014, 13:05
I Tried it stopped the anim but i m stuck in civilian pose
try nData -1
or any other iEvent variables
try stuff, and stop asking, since nobody else (except TF team) would know how exactly it works
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.