fix nametags and feedback module issue

This commit is contained in:
Lorenc Pekaj 2019-01-01 18:11:03 +11:00
parent 99f6370bd1
commit 0b2feabcb8
2 changed files with 2 additions and 3 deletions

View File

@ -30,8 +30,7 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
mysql_format( dbHandle, szLargeString, sizeof( szLargeString ), "INSERT INTO `FEEDBACK` (`USER_ID`, `FEEDBACK`) VALUES (%d, '%e')", p_AccountID[ playerid ], inputtext );
mysql_single_query( szLargeString );
format( szLargeString, sizeof( szLargeString ), ""COL_GOLD"Thank you for your feedback!"COL_WHITE" If it can make a positive impact on the server then you will be rewarded.\n\nYou can speak as freely as you want. Be vulgar, serious if you need to. It's okay as long as it's constructive.\n\nHere is what you have submitted!\n\n"COL_GREY"%s", szFeedback );
return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_MSGBOX, ""COL_GOLD"Server Feedback", szLargeString, "Close", "" );
return ShowPlayerDialog( playerid, DIALOG_NULL, DIALOG_STYLE_MSGBOX, ""COL_GOLD"Server Feedback", ""COL_GOLD"Thank you for your feedback!"COL_WHITE" If it can make a positive impact on the server then you will be rewarded.\n\nYou can speak as freely as you want. Be vulgar, serious if you need to. It's okay as long as it's constructive.", "Close", "" );
}
return 1;
}

View File

@ -8,7 +8,7 @@
/* ** Includes ** */
#include < YSI\y_hooks >
/* ** Variables ** */,
/* ** Variables ** */
static stock bool: p_HiddenNameTags [ MAX_PLAYERS char ];
/* ** Commands ** */