05.11.2017, 18:25
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):
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!)
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(287, 25000); // Will replace the ARMY skin id in class selection with our own custom skin with id 25000
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!)