12.03.2013, 09:02
Not sure, but try adding this to your OnDialogResponse...
Just make sure this is before any other dialogs are called. That way, the player must be logged in to use dialogs and will provide at least SOME protection against these attacks.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(PlayerInfo[playerid][LoggedIn] != 1)
{
if(dialogid != DIALOGID0+1 && dialogid != DIALOGID0+2) return SendClientMessage(playerid, 0xFF0000FF, "You must be logged in to access this dialog.");
}
//code continues...