Go to BuyOfferEvent.cs and find:I want to change the currency used in the marketplace to be diamonds instead of coins. How would this be done?
Also need to change the color of the "10" here to red. Any ideas to where this would be done?
Ty
if (Convert.ToInt32(Row["total_price"]) > Session.GetHabbo().Credits)
{
Session.SendNotification("Oops, you do not have enough credits for this.");
return;
}
Session.GetHabbo().Credits -= Convert.ToInt32(Row["total_price"]);
Session.SendMessage(new CreditBalanceComposer(Session.GetHabbo().Credits));
if (Convert.ToInt32(Row["total_price"]) > Session.GetHabbo().Diamonds)
{
Session.SendNotification("Oops, you do not have enough diamonds for this.");
return;
}
Session.GetHabbo().Diamonds -= Convert.ToInt32(Row["total_price"]);
Session.SendMessage(new HabboActivityPointNotificationComposer(Session.GetHabbo().Diamonds, 0, 5));
I guess, it is in your Habbo.swf file.Thanks a lot! Any idea on the text color?
I thought this was just an image if you decompiled it, like you would to enter the image in the client.Yeah download HabboUI and edit the tag which contains the string for diamonds. Just use a hex colour.