View Single Post
_GamerX
AlliedModders Donor
Join Date: Jun 2011
Location: Fun Server
Old 11-25-2019 , 06:52   Re: [CS:GO] Fortnite Emotes Extended version (dances and emotes)[updated 18-October-2
Reply With Quote #97

Here is FIX for deleting /hats, gloves and next parented items from player model on end emotes.

Code:
		char emoteEntName[50];
		GetEntPropString(iEmoteEnt, Prop_Data, "m_iName", emoteEntName, sizeof(emoteEntName));
		SetVariantString(emoteEntName);
		AcceptEntityInput(client, "ClearParent", iEmoteEnt, iEmoteEnt, 0);
		DispatchKeyValue(iEmoteEnt, "OnUser1", "!self,Kill,,1.0,-1");
		AcceptEntityInput(iEmoteEnt, "FireUser1");
this add to StopEmote and TerminateEmote functions
instead this

Code:
		AcceptEntityInput(client, "ClearParent", client, client, 0);
		AcceptEntityInput(iEmoteEnt, "Kill");
__________________

Last edited by _GamerX; 11-25-2019 at 06:53.
_GamerX is offline
Send a message via ICQ to _GamerX Send a message via Skype™ to _GamerX