MrJenn 0 Posted September 19, 2019 I can't use c++ private string PlayerIdentityName = "empty"; string GetPlayerIdentityName() { return this.PlayerIdentityName; } void SetPlayerIdentityName(string name) { this.PlayerIdentityName = name; } Then added in PlayerBase -> EEKilled SurvivorBase sbKilled = this; if (killer.IsMan()) { Man manKiller = Man.Cast(killer); GetGame().ChatPlayer( 0, sbKilled.GetPlayerIdentityName() + " Killed By " + manKiller.GetIdentity().GetName()); } else { GetGame().ChatPlayer( 0, sbKilled.GetPlayerIdentityName() + " Killed by zombie/bleedout/fall?"); } and added in PlayerBase -> OnConnect SurvivorBase sb = this; sb.SetPlayerIdentityName(this.GetIdentity().GetName()); How can I add it in playbase and survivorBase ? Share this post Link to post Share on other sites