[FSOD] How to make admins unable to drop items!
Guys your lucky day has come. I am gonna make a stop to some of the admin abuse ;3 xD
This tutorial would be used to stop admins from dropping items, and ruining the economy!
This will make all items dropped by admins drop in a soulbound bag!
So, what you would do is go to InvDrop Handler.cs
Then you would find the code
and under there you would add;
Then you would change the *rank* for a number. Let's say 80.
This would stop anyone whos rank 80 and up from dropping items. Even if they aren't soubound.
[IMG]
[/IMG]
Simple as that. Basic yet useful.

Hope you enjoy!
This tutorial would be used to stop admins from dropping items, and ruining the economy!

This will make all items dropped by admins drop in a soulbound bag!
So, what you would do is go to InvDrop Handler.cs
Then you would find the code
Code:
if (item.Soulbound)
{
container = new Container(client.Player.Manager, SOUL_BAG, 1000*30, true)
{
BagOwners = new string[1] { client.Player.AccountId }
};
}
}
Code:
if (Client.Account.Rank >= *rank*)
{
container = new Container(client.Player.Manager, SOUL_BAG, 1000 * 30, true)
{
BagOwners = new string[1] { client.Player.AccountId }
};
}
}
Code:
if (Client.Account.Rank >= 80)
{
container = new Container(client.Player.Manager, SOUL_BAG, 1000 * 30, true)
{
BagOwners = new string[1] { client.Player.AccountId }
};
}
[IMG]
[/IMG]Simple as that. Basic yet useful.

Hope you enjoy!
