[SNIPPET/CODE] Custom skins in class selection!
#1

In case any of you guys want to use custom skins in class selection.
In order for this to work, one of the VALID skins that work with AddPlayerClass will be "redirected" to the custom skin.

How to use (preferably in OnGMInit):
PHP Code:
RedirectClass(28725000); // Will replace the ARMY skin id in class selection with our own custom skin with id 25000 
code:
https://pastebin.com/KXutyr4D

(This is messy code, I only used this for my localhost testing 0.3.8, I wasn't intending on needing to do this!)

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)