عرض مشاركة واحدة
قديم 2019-11-04, 08:38 AM
المشاركة 2
Rider
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: مشكله بخصوص سورس مصطفي سمير
رجاء عدم طرح اكتر من مشكله في وقت واحد لان ذلك يخالف قوانين المنتدي و يعرض حسابك الي الحظر

كلاس canattackplayer.cs


كود:
 public static bool Verified

تحت خالص هتلاقي

كود:
if (Constants.PKForbiddenMaps.Contains(client.Entity.MapID))
                return 
false

تحتها حط
if(!client.InMatch)
{
if (client.Entity.PKMode != Enums.PKMode.Capture && client.Entity.PKMode != Enums.PKMode.Peace && flashingname)
{
if (!attacked.ContainFlag(MsgUpdate.Flags.FlashingNam e) && !attacked.ContainFlag(MsgUpdate.Flags.RedName) && !attacked.ContainFlag(MsgUpdate.Flags.BlackName))
{
if (!Constants.PKFreeMaps.Contains(attacked.MapID))
client.Entity.AddFlag(MsgUpdate.Flags.FlashingName , 30, true);

}
}
return true;



Entity.cs


كود:
public void Die(Entity killer

سيرش
كود:
 killer.PKPoints += 10

ضيف جواه

كود:
  killer.AddFlag(MsgUpdate.Flags.FlashingName60true);
                            
killer.FlashingNameStamp Time32.Now;
                            
killer.FlashingNameTime 60

بالنسبه للمتريال حلها من قاعده ضيف ايدي الايتم و رقم 3500 الي هوه الاتش بي الي مفروض يزودوه