05.02.2018, 15:13
At OnPlayerRequestClass you did 2 things:
1- Set player spawn info (make him spawn at some certain place) coords of exactly in front of the car.
2- SpawnPlayer (which will send the player to spawn immediately not giving him a chance to enter class select)
So basically if you don't want him to spawn, remove SpawnPlayer(playerid); if you want to change the spawn info change the parameters of setspawninfo.
Pretty crystal clear if you ask me.
1- Set player spawn info (make him spawn at some certain place) coords of exactly in front of the car.
2- SpawnPlayer (which will send the player to spawn immediately not giving him a chance to enter class select)
So basically if you don't want him to spawn, remove SpawnPlayer(playerid); if you want to change the spawn info change the parameters of setspawninfo.
Pretty crystal clear if you ask me.