21.07.2014, 18:36
You can't tell which classes are shown for which players. All classes you add (AddPlayerClass(...)) are shown for every player in the class selection.
it it best if you only add classes in OnGameModeInit or OnFilterScriptInit.
You can however force a player to wear a certain skin. when the player goes into the class selection menu and the player has a saved skin, use SetSpawnInfo and then SpawnPlayer
https://sampwiki.blast.hk/wiki/SetSpawnInfo
https://sampwiki.blast.hk/wiki/SpawnPlayer
it it best if you only add classes in OnGameModeInit or OnFilterScriptInit.
You can however force a player to wear a certain skin. when the player goes into the class selection menu and the player has a saved skin, use SetSpawnInfo and then SpawnPlayer
https://sampwiki.blast.hk/wiki/SetSpawnInfo
https://sampwiki.blast.hk/wiki/SpawnPlayer

