PlayerRequestClass - Quick Question!! :)
#1

Hey Guys Check this out below on my login screen, At the bottom of the login screen it has the << >> Spawn dialog thingy. Well I need to remove that so what would be the quickest way ?! Thanks guys!!!

Reply
#2

Anyone? I'm sure its not that hard.
Reply
#3

Toggle on player spectation and use InterpolateCameraPos.
Reply
#4

You could use TogglePlayerSpectating(playerid, 0 = false & 1 = true), I'll show you a quick code to remove it.

pawn Код:
#define DIALOG_LOG          1

public OnPlayerConnect(playerid)
{
    TogglePlayerSpectating(playerid, 1);
    return true;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case DIALOG_LOG:
        {
            if(!response) return 1;
            if(response)
            {
                TogglePlayerSpectating(playerid, 0);
                SpawnPlayer(playerid);
                SetSpawnInfo(playerid, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
                //More Stuff
            }
        }
    }
    return true;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)