|
|
المشاركات 504 |
+التقييم 0.25 |
تاريخ التسجيل Jun 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 325 |
أفضل جواب - كتبه Users |
قسم السورسات عندنا مليان اختااار الى تحبوو |
[vip~6~player]
title.ini
#region Drop
if (killer.PlayerFlag == Game.PlayerFlag.Player)
{
if (killer.Owner.Player.VIPLevel < 4)
{
uint amount = (uint)Level / 1;
if (amount < 50)
amount = 50;
if (amount > 170)
amount = 170;
if (killer != null && killer.Owner != null)
{
uint ItemID = 729911;
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
if (Map.SelectCoordonates(ref X, ref Y))
{
Network.GamePackets.MsgMapItem floorItem = new Network.GamePackets.MsgMapItem(true);
floorItem.ValueType = Network.GamePackets.MsgMapItem.FloorValueType.ConquerPoints;
floorItem.Value = amount;
floorItem.ItemID = ItemID;
floorItem.MapID = Owner.MapID;
floorItem.MapObjType = Game.MapObjectType.Item;
floorItem.X = X;
floorItem.Y = Y;
floorItem.Type = Network.GamePackets.MsgMapItem.Drop;
floorItem.OnFloor = Time32.Now;
floorItem.UID = Network.GamePackets.MsgMapItem.FloorUID.Next;
while (Map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.MsgMapItem.FloorUID.Next;
Map.AddFloorItem(floorItem);
SendScreenSpawn(floorItem);
}
}
}
else
{
if (killer.PlayerFlag == Game.PlayerFlag.Player)
{
#region Drop By DavidEid
if (Kernel.Rate(100))
{
if (killer.Owner.Player.VIPLevel >= 4)
{
if (killer.InHangUp)
{
killer.ConquerPoints += 0;
// killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 500 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 5)
{
killer.ConquerPoints += 1000;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 1000 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 6)
{
killer.ConquerPoints += 1000;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 1000 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
}
}
#endregion
}
}
}
if (killer.PlayerFlag == Game.PlayerFlag.Player)
{
#region Drop By DavidEid
if (Kernel.Rate(100))
{
if (killer.InHangUp)
{
killer.ConquerPoints += 0;
// killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 500 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 4)
{
killer.ConquerPoints += 1000;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 1000 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 1)
{
killer.ConquerPoints += 500;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 500 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 0)
{
killer.ConquerPoints += 500;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 500 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 2)
{
killer.ConquerPoints += 500;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 500 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 3)
{
killer.ConquerPoints += 500;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 500 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 5)
{
killer.ConquerPoints += 500;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 500 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
if (killer.VIPLevel == 6)
{
killer.ConquerPoints += 500;
killer.Owner.Send(new MsgTalk("You Killed Monster And Get ( 500 ) Cps #00", System.Drawing.Color.Azure, MsgTalk.TopLeft));
}
}
#endregion
}
#endregion
#region drop
if (killer.playerflag == game.playerflag.player)
{
if (killer.owner.player.viplevel < 4)
{
uint amount = (uint)level / 1;
if (amount < 50)
amount = 50;
if (amount > 170)
amount = 170;
if (killer != null && killer.owner != null)
{
uint itemid = 729911;
ushort x = owner.x, y = owner.y;
game.map map = kernel.maps[owner.mapid];
if (map.selectcoordonates(ref x, ref y))
{
network.gamepackets.msgmapitem flooritem = new network.gamepackets.msgmapitem(true);
flooritem.valuetype = network.gamepackets.msgmapitem.floorvaluetype.conquerpoints;
flooritem.value = amount;
flooritem.itemid = itemid;
flooritem.mapid = owner.mapid;
flooritem.mapobjtype = game.mapobjecttype.item;
flooritem.x = x;
flooritem.y = y;
flooritem.type = network.gamepackets.msgmapitem.drop;
flooritem.onfloor = time32.now;
flooritem.uid = network.gamepackets.msgmapitem.flooruid.next;
while (map.npcs.containskey(flooritem.uid))
flooritem.uid = network.gamepackets.msgmapitem.flooruid.next;
map.addflooritem(flooritem);
sendscreenspawn(flooritem);
}
}
}
else
{
if (killer.playerflag == game.playerflag.player)
{
#region drop by davideid
if (kernel.rate(100))
{
if (killer.owner.player.viplevel >= 4)
{
if (killer.inhangup)
{
killer.conquerpoints += 0;
// killer.owner.send(new msgtalk("you killed monster and get ( 500 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 5)
{
killer.conquerpoints += 1000;
killer.owner.send(new msgtalk("you killed monster and get ( 1000 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 6)
{
killer.conquerpoints += 1000;
killer.owner.send(new msgtalk("you killed monster and get ( 1000 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
}
}
#endregion
}
}
}
if (killer.playerflag == game.playerflag.player)
{
#region drop by davideid
if (kernel.rate(100))
{
if (killer.inhangup)
{
killer.conquerpoints += 0;
// killer.owner.send(new msgtalk("you killed monster and get ( 500 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 4)
{
killer.conquerpoints += 1000;
killer.owner.send(new msgtalk("you killed monster and get ( 1000 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 1)
{
killer.conquerpoints += 500;
killer.owner.send(new msgtalk("you killed monster and get ( 500 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 0)
{
killer.conquerpoints += 500;
killer.owner.send(new msgtalk("you killed monster and get ( 500 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 2)
{
killer.conquerpoints += 500;
killer.owner.send(new msgtalk("you killed monster and get ( 500 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 3)
{
killer.conquerpoints += 500;
killer.owner.send(new msgtalk("you killed monster and get ( 500 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 5)
{
killer.conquerpoints += 500;
killer.owner.send(new msgtalk("you killed monster and get ( 500 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
if (killer.viplevel == 6)
{
killer.conquerpoints += 500;
killer.owner.send(new msgtalk("you killed monster and get ( 500 ) cps #00", system.drawing.color.azure, msgtalk.topleft));
}
}
#endregion
}
#endregion
|
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
لو سمحت محتاج مساعدة انا محتاج اتعلم ازاى اعدل على سورسات كونكر وافكسدها | fersony | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-03-09 01:46 PM |
لو سمحتو حل للمشكلتين دول وياريت نزول حلهم فى قسم التطوير | ابو مروان | مشكلات السيرفيرات كونكر الشخصيه | 10 | 2019-10-24 07:38 AM |