03.08.2011, 23:28
You're relying on the 'iSpawnSet' array to determine which class a player selects, but you haven't ever set a value (at least within the code you gave us) for iSpawnSet, so it's always 0.
Use the 'OnPlayerClassRequest' callback to determine which class a player selects, then you can set a relevant value for 'iSpawnSet' from within that callback.
Use the 'OnPlayerClassRequest' callback to determine which class a player selects, then you can set a relevant value for 'iSpawnSet' from within that callback.