View Single Post
kgns
Senior Member
Join Date: May 2017
Location: Istanbul, Turkey
Old 02-06-2020 , 11:43   Re: [CS:GO] Fortnite Emotes Extended version (dances and emotes)[updated 06-Dec-2019]
Reply With Quote #124

Quote:
Originally Posted by _GamerX View Post
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");
since no one had sent a pull request with this change on github, and francisco had ignored it for so long for some reason, i have sent a pull request for it: https://github.com/Franc1sco/Fortnit...tended/pull/15
__________________

OyunHost Sunucu Hizmetleri: https://www.oyunhost.net

Last edited by kgns; 02-06-2020 at 11:44.
kgns is offline