Exemplo n.º 1
0
 protected bool Equals(ZombiePed other)
 {
     return(this.Equals((Entity)other) && object.Equals((object)this._ped, (object)other._ped));
 }
Exemplo n.º 2
0
        private bool CanHearPed(Ped ped)
        {
            float distance = ((Entity)ped).get_Position().VDist(this.get_Position());

            return(!ZombiePed.IsWeaponWellSilenced(ped, distance) || ZombiePed.IsBehindZombie(distance) || ZombiePed.IsRunningNoticed(ped, distance));
        }