[HELP] Dialog ( strcat bug )
#4

You have to empty the string before you add stuff to it

pawn Код:
stock ChooseDialog ( dialogid , playerid ) {
    switch ( dialogid ) {
        case DIALOG_REG: {
            mstr = "";
            strcat ( mstr , ""YELLOW"This server using MySQL Cookie System that "RED"made by Mubarrak48\n" ) ;
            strcat ( mstr , ""YELLOW"If you want to see more feature you can register on our "RED"database\n" ) ;
            strcat ( mstr , ""YELLOW"Click "RED"Yes "YELLOW"to register on ourdatabase or\n" ) ;
            strcat ( mstr , ""YELLOW"You can click "RED"No "YELLOW"to continue without registering\n" ) ;
           
            ShowPlayerDialog ( playerid , DIALOG_REG , DIALOG_STYLE_MSGBOX , DIALOG_TITLE , mstr , "Yes" , "No" ) ;
        }
    }
    return 1 ;
}
Reply


Messages In This Thread
[HELP] Dialog ( strcat bug ) - by AK47317 - 18.05.2011, 08:59
Re: [HELP] Dialog ( strcat bug ) - by Babul - 18.05.2011, 13:37
Re: [HELP] Dialog ( strcat bug ) - by AK47317 - 19.05.2011, 06:51
Re: [HELP] Dialog ( strcat bug ) - by MadeMan - 19.05.2011, 08:42

Forum Jump:


Users browsing this thread: 4 Guest(s)