I've got a piece of code, thought I knew where to put it but not got a clue really. Not been involved in retros since uberEmulator was released.
if (!Session.GetHabbo().GetBadgeComponent().HasBadge("Z63"))
Session.GetHabbo().GetBadgeComponent().GiveBadge("Z63", true, Session);
Basically it checks if the user has the badge Z63 and if not, it gives the badge.
I had a quick look around, and was going to place it under the welcome message as I figured It'd be there that it would issue the badge but having no luck.
Any help is appreciated.
Thanks,
/r/
if (!Session.GetHabbo().GetBadgeComponent().HasBadge("Z63"))
Session.GetHabbo().GetBadgeComponent().GiveBadge("Z63", true, Session);
Basically it checks if the user has the badge Z63 and if not, it gives the badge.
I had a quick look around, and was going to place it under the welcome message as I figured It'd be there that it would issue the badge but having no luck.
Any help is appreciated.
Thanks,
/r/