07-21-2011, 23:02
To modify class i found this:
so i do a funcition like this:
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?
Code:
self.custom_class[0]["primary"] = "dragunov_mp";
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";
}
Where i have to put it?