Detect "Spawn" button press
#1

How do I detect when the player presses the 'Spawn' button on the Player Class Selection?
Reply
#2

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    return 1;
}
This needs to be in your gamemode. (standard)
Reply
#3

Код:
public OnPlayerRequestSpawn(playerid)
{
    return 0;
}
Reply
#4

that means they can not spawn..
return 1; allows them to spawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)