SpawnPlayer
#1

------
Reply
#2

------
Reply
#3

Did you put the code related to register and login at OnPlayerRequestSpawn?

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(PlayerInfo[playerid][/*var*/] == 1)
    {
       //.... your code
        return false; // it will prevent the player to use Spawn button until they register/login
    }
    return true;
}
Reply
#4

Under the register and login dialogs, make a timer for 250 milliseconds that will spawn the player.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)