Dialogs don't show up
#1

so when I connect i go straight to the class selection...
pawn Код:
public OnPlayerConnect( playerid )
{
    new
        name[ MAX_PLAYER_NAME ]
    ;

    GetPlayerName( playerid, name, sizeof( name ) );

    if ( BUD::IsNameRegistered( name ) == true )
    {
        SendClientMessage(playerid, 0xFFFFFFAA, " Welcome back to FFS GTA'S Classic TDM ");
        ShowPlayerDialog(playerid,1,DIALOG_STYLE_PASSWORD,"Login","Welcome to FFS Tactical TDM please register","Login","Cancel");
    }
    else
    {
        ShowPlayerDialog(playerid, 2, DIALOG_STYLE_PASSWORD,"Register","You are  NOT registered.\r\nPlease type your desired password below:","Login","Cancel");
    }
    return 1;
}
Reply


Messages In This Thread
Dialogs don't show up - by new121 - 17.03.2012, 06:04
Re: Dialogs don't show up - by Kitten - 17.03.2012, 06:17
Re: Dialogs don't show up - by new121 - 17.03.2012, 06:29
Re: Dialogs don't show up - by Psymetrix - 17.03.2012, 07:25
Re: Dialogs don't show up - by new121 - 17.03.2012, 16:26

Forum Jump:


Users browsing this thread: 2 Guest(s)