22.03.2013, 10:31
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:
Then set it to true when a player registers:
Then on spawn add a condition to check if it's set to true, and if it is; show the e-mail dialog:
pawn Код:
new
bool:g_bRegistered[ MAX_PLAYERS ]
;
pawn Код:
g_bRegistered[ playerid ] = true;
pawn Код:
if( g_bRegistered[ playerid ] )
{
// show dialog
}