Staff Group Badge

Status
Not open for further replies.

Leeroy

playsky.pw
Oct 24, 2015
28
10
We are wanting to make a staff group badge instead of a wearable badge.
We've sorted the image and the group works but we don't know the value to put in the colour field.

We tried hexes and everything but it evidently it isn't that - the colour does change we just don't know what to set it to

eyJ1cmwiOiJodHRwczovL2ltYWdlLnBybnRzY3IuY29tL2ltYWdlLzc2NTNkMWIyNmU1MDQxN2ViN2EzNTM0ODcxMGE1MmQxLnBuZyJ9.XI0L7T5nmpJ72udXGagrXKBC368

You must be registered for see images attach


Actual badge:
.eJwFwVEOgyAMANC7cABaKGjqbQgCEnUY2n0sy-6-977mPS-zmUP1kQ1g75LH3K3omKkV28ZoV0lPF5vHDUk15eMuLxXwS8TFB4-RV0IOAYEcO-ZI5F1gRooEcn5EU6229Wp-fylSIyM.b9zOHQ9iWn4VQXnzeaSl8ekFn0Y
 

Attachments

  • upload_2017-5-30_21-2-4.png
    upload_2017-5-30_21-2-4.png
    5.3 KB · Views: 12

Haid

Member
Dec 20, 2011
363
449
I have no idea what colour code you would use, ideally there would be a transparent option for your needs I guess but I doubt there is one so here's a different option.
We do it so it tries to get your actual badge image before all of that.
Code:
if (file_exists('custom-badges/' . $_GET['badge'])) {
    $img = imagecreatefromgif('custom-badges/' . $_GET['badge']);
    imagegif($img);
    return;
}
Add this to your badge.php in habbo-imaging then add your badge to habbo-imaging/custom-badges/ - finally, set the field `badge` to your filename.
That way you can easily add other custom ones at any time, this is how we do it for our RP anyway not sure if it's useful to you!
 
Status
Not open for further replies.

Users who are viewing this thread

Top