19.05.2011, 08:42
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 ;
}