Make the player spawn after logging in, without hitting "Spawn"
#1

SO I want to set it to where after you login/register successfully, you instantly spawn where you would. No need for the "Spawn" button, I just want the player to spawn where they normally would. I've tried using SpawnPlayer(), but the "Spawn" button still appears, and you have to click it to spawn.
Reply
#2

try to this example if it will work.

pawn Код:
if(dialogid == DIALOG_LOGIN)//your login dialog
{
    if(response == 0)//no response
    {
        //Your Message here
    }
    if(response == 1)//password has entered correctly and ready to spawn!
    {
        //Loads all account information
        SpawnPlayer(playerid);//spawns a player directly
    }
    return 1;
}
Reply
#3

Use SetSpawnInfo With SpawnPlayer
Reply
#4

where to put the code
Reply
#5

Is there ForceClassSelection in ur script? Remove it and replace with SpawnPlayer or something
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)