[HELP]Email Verification On Register
#2

Well you're showing the dialog on spawn without any conditions. Make a global boolean to check if the player has an account or not:

pawn Код:
new
    bool:g_bRegistered[ MAX_PLAYERS ]
;
Then set it to true when a player registers:

pawn Код:
g_bRegistered[ playerid ] = true;
Then on spawn add a condition to check if it's set to true, and if it is; show the e-mail dialog:

pawn Код:
if( g_bRegistered[ playerid ] )
{
    // show dialog
}
Reply


Messages In This Thread
DELETE-DELETE-DELETE-DELETE-DELETE-DELETE - by TehSprit - 22.03.2013, 10:24
Re: [HELP]Email Verification On Register - by LarzI - 22.03.2013, 10:31
Re: [HELP]Email Verification On Register - by TehSprit - 22.03.2013, 10:40
Re: [HELP]Email Verification On Register - by Vince - 22.03.2013, 10:57
Re: [HELP]Email Verification On Register - by TehSprit - 22.03.2013, 12:01
Re: [HELP]Email Verification On Register - by TehSprit - 22.03.2013, 16:10

Forum Jump:


Users browsing this thread: 1 Guest(s)