Help in OnplayerRequestclass
#2

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
Reply


Messages In This Thread
Help in OnplayerRequestclass - by AroseKhanNiazi - 21.07.2014, 18:16
Re: Help in OnplayerRequestclass - by ikkentim - 21.07.2014, 18:36
Re: Help in OnplayerRequestclass - by ikkentim - 21.07.2014, 18:44
Re: Help in OnplayerRequestclass - by AroseKhanNiazi - 21.07.2014, 19:43
Re : Help in OnplayerRequestclass - by ManuelNeuer - 21.07.2014, 19:51

Forum Jump:


Users browsing this thread: 1 Guest(s)