Crashing
#8

Not sure, but try adding this to your OnDialogResponse...
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...
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.
Reply


Messages In This Thread
Crashing - by Fernado Samuel - 12.03.2013, 04:46
Re: Crashing - by Denying - 12.03.2013, 04:53
Re: Crashing - by Fernado Samuel - 12.03.2013, 05:22
Re: Crashing - by Fernado Samuel - 12.03.2013, 06:07
Re: Crashing - by Yves - 12.03.2013, 06:12
Re: Crashing - by Fernado Samuel - 12.03.2013, 06:16
Re: Crashing - by Patrick - 12.03.2013, 07:19
Re: Crashing - by Threshold - 12.03.2013, 09:02
Re: Crashing - by Fernado Samuel - 12.03.2013, 09:53
Re: Crashing - by Patrick - 12.03.2013, 09:54

Forum Jump:


Users browsing this thread: 2 Guest(s)