30.07.2018, 13:15
Save the team id and skin id as an integer in the database on PlayerDisconnect and then load it when the player connects.
Then
use setspawninfo on onplayerrequest class and set the team and skin id then use Spawnplayer(playerid).
Not that SetSpawnInfo doesn't set the team correctly to use SetPlayerTeam on onplayerspawn
Then
use setspawninfo on onplayerrequest class and set the team and skin id then use Spawnplayer(playerid).
Not that SetSpawnInfo doesn't set the team correctly to use SetPlayerTeam on onplayerspawn