07.06.2011, 23:29
I'm messing around with grandlarc's code and I'm trying to have city locked classes.
So for example, if you pick Los Santos, you can only pick Grove skins.
The thing is, I can't figure out how to modify grandlarc's code to only have certain skins for certain cities.
Can someone help me with the logic?
EDIT:
This question comes up because classes are added on script initialization, so I can't check teams until after the city is selected.
So for example, if you pick Los Santos, you can only pick Grove skins.
The thing is, I can't figure out how to modify grandlarc's code to only have certain skins for certain cities.
Can someone help me with the logic?
EDIT:
This question comes up because classes are added on script initialization, so I can't check teams until after the city is selected.