how to ignore player knockback effect in creative mode
#2
Something like this might work:
// If not a player or not in creative mode
if (!a_Entity.IsPlayer() || !static_cast<cPlayer *>(a_Entity).IsGameModeCreative()) {
	a_Entity.AddSpeed(DistanceFromExplosion);
}
Reply
Thanks given by:


Messages In This Thread
RE: how to ignore player knockback effect in creative mode - by NiLSPACE - 06-26-2018, 05:14 PM



Users browsing this thread: 1 Guest(s)