Using TogglePlayerSpectating and spawning the player ?
#3

This is what im using:
pawn Code:
case DIALOG_REGISTER:
        {
            if (!response) return Kick(playerid);
            if(response)
            {
// Register dialog
                if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, "Registering...","{FFFFFF}You have entered an {ADFF2F} invalid password.\n{FFFFFF}Type your password below to register a new account.","Register","Quit");
// Player File, Creating etc.
// Gender Dialog
                ShowPlayerDialog(playerid, DIALOG_SEX, DIALOG_STYLE_MSGBOX, "- Sex -","What gender are you?","Male","Female");
            }
        }
You can do the same thing with the Age dialog. And you can use SetSpawnInfo, TogglePlayerSpectating(playerid, 0) Turning off the spectating and SpawnPlayer(playerid)
Reply


Messages In This Thread
Using TogglePlayerSpectating and spawning the player ? - by -CaRRoT - 08.06.2013, 16:26
Re: Using TogglePlayerSpectating and spawning the player ? - by random123 - 08.06.2013, 19:25
Re: Using TogglePlayerSpectating and spawning the player ? - by Facerafter - 08.06.2013, 19:37
Re: Using TogglePlayerSpectating and spawning the player ? - by -CaRRoT - 08.06.2013, 19:38
Re: Using TogglePlayerSpectating and spawning the player ? - by Facerafter - 08.06.2013, 19:41

Forum Jump:


Users browsing this thread: 4 Guest(s)