This is a copy paste from a guide made by tr1k.
Creating new Player Rights and Crowns in your server
I will try to make this is simple as can be, if you need any help email me
[email protected]
Step 1
In your Client Class, search for "cr1"
After you find it, Copy it and Paste it right below it, and change the number with 4 and whatever number changes
Step 2
Now, still in the Client Class, search for "modicon" and copy this:
Code:
if(byte0 == 1) {
modIcons[0].drawBackground(xPos + 1, yPos - 12);
xPos += 14;
Make a new line after that and paste this:
Code:
} else if(byte0 == 4) {
CrownName.drawSprite(xPos + 1, yPos - 12);
xPos += 14;
Change this to your Crown Name
Ok, Now would be a good time to compile, Make sure you have no errors so we can move on.
Step 3
Now, Still in the Client Class, Search for "declare custom sprites". Under this, add the following Code:
Code:
private sprite CrownName;
After that, search for "custom sprite unpacking"
Now type the following code below it:
Code:
CrownName = new Sprite("CrownName");
Now would be another good time to compile
Step 4
Ok, almost done, we just need to actually add the crown to the Client.
Go into your Sprites Folder and add the picture you want to use as the Crown, it must end in .png
Now compile and test it, if you have any errors comment or email me, I will gladly help. Let me know what you think!
Thanks
Tr1k