06-26-2018, 05:14 PM
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); }