- -
moonbox help
(
https://www.elitepvpers.com/forum/co2-private-server/469821-moonbox-help.html)
| probitch18 |
02/24/2010 01:42 |
moonbox help
ok so ive dun this but it doesnt give u the item its for 5165 im not sure how to do random item im just learning :P
Code:
if (I.DBInfo.Name == "MoonBox")
{
MyClient.LocalMessage(2005, "MoonBox is in testing stage.");
Item It = new Item();
It.ID = 2100055;
It.MaxDur = It.DBInfo.Durability;
It.CurDur = It.MaxDur;
It.Plus = 0;
It.UID = (uint)Program.Rnd.Next(int.MaxValue);
It.TalismanProgress = BitConverter.ToUInt32(new byte[4] { 150, 255, 0, 0 }, 0);
RemoveItem(I);
AddItem(It);
return;
}
|
| All times are GMT +2. The time now is 09:38. |
|
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.