10.10.2017, 12:41
Hello, I need help asap, when my player spawns, after he spawns, he gets class selection and he stands on the spawn coordinates, how to disable that class selection?
public OnPlayerRequestClass(playerid, classid) {
#pragma unused classid
// Make sure you've got your SetSpawnInfo here
TogglePlayerSpectating(playerid, true); // Puts player in spectator mode -> cant see the bottom buttons
TogglePlayerSpectating(playerid, false); // Spawns player (OnPlayerSpawn), also get rid of SpawnPlayer(), and use TogglePlayerSpectating(playerid, false) for spawning the player.
}