ItsMods

Full Version: Modify and rename class
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
To modify class i found this:

Code:
self.custom_class[0]["primary"] = "dragunov_mp";
so i do a funcition like this:
Code:
setClassMod()
{
    self.custom_class[0]["primary"] = "dragunov_mp";
    self.custom_class[0]["secondary"] = "dragunov_mp";
    self.custom_class[1]["primary"] = "l96a1_mp";
    self.custom_class[2]["primary"] = "wa2000_mp";
    self.custom_class[3]["primary"] = "psg1_mp";
}
but if i call it on onplayerjoinedteam() team it doesnt work, i need to re-join team. Same if i call it on onplayerconnect()

Where i have to put it?
Pages: 1 2