
Originally Posted by
duckietm
Hello Tha,
I understand that and that the Code 3372, 3373, 3374 etc. are for the color select.
But what i am looking for is the parmeter for the Present :

I told you.. the structure contains the SPRITE IDS (!!) and it will get the sprite from furnidata.
3372, 3373, 3374 are NOT(!!) for colors but those are the sprite IDs.
Look:
PHP Code:
/// <summary>
/// 473 - "GY"
/// </summary>
private void GiftWrapping()
{
var Gifts = IonEnvironment.GetHabboHotel().GetCatalog().GetWrappings();
Response.Initialize(620);
Response.AppendBoolean(IonEnvironment.GiftWrappingEnabled);
if (IonEnvironment.GiftWrappingEnabled)
{
Response.AppendUInt32(IonEnvironment.GiftWrappingPrice);
Response.AppendInt32(Gifts.Count);
Enumeration.ForEach(Gifts, x => Response.AppendInt32(Convert.ToInt32(x)));
Response.AppendInt32(7);
Enumeration.For(0, 7, x => Response.AppendInt32(x));
Response.AppendInt32(11);
Enumeration.For(0, 11, x => Response.AppendInt32(x));
}
SendResponse();
}
The gifts are the sprite IDs, the for of 7 and 11 are the extra data (colors or w/e)