24.07.2016, 09:36
PHP код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
static string[500],strong[1500],string2[120];
static named[30];
GetPlayerName(playerid,named,sizeof(named));
if( strfind(inputtext, "%", true) != -1 ||
strfind(inputtext, "'", true) != -1 ||
strfind(inputtext, "`", true) != -1 ||
strfind(inputtext, ";", true) != -1 )
{
SCM(playerid,COLOR_RED,"don't use this characters!");
return 0;
}
switch(dialogid)
{
case DIALOG_LOGIN:
{