Class selection after being spawned has been toggled
#1

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?
Reply
#2

Код:
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.
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)