DIALOG SPOOF PROBLEM
#1

Hey i made a new Faction then when i using the Command /rapid this is a locker for a faction then it works and the Menu Shows but when i choose one of it the server saying


pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
    new
        sendername[MAX_PLAYER_NAME];

    new string[876];
    if(GetPVarInt(playerid, "dialog") != dialogid) { // Confirm the dialogid matches what we have in the PVar
        format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s (ID %d) is possibly trying to spoof a dialog ID (%d).", GetPlayerNameEx(playerid), playerid, dialogid);
        ABroadCast(COLOR_YELLOW, string, 2);

        format(string, sizeof(string), "%s has possibly tried to spoof a dialog ID.", GetPlayerNameEx(playerid));
        AddAutomatedFlag(playerid, string);

        format(string, sizeof(string), "%s has possibly tried to spoof a dialog ID (%d, %d).", GetPlayerNameEx(playerid), dialogid, response);
        Log("logs/crash.log", string);

        return 1;
    }
is possible trying to spoof a dialog ID . . .. . . ..

the CMD is here
pawn Код:
CMD:rapid(playerid, params[])
{
    if(PlayerInfo[playerid][pFaction] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pFaction] == 17 || PlayerInfo[playerid][pLeader] == 17)
    {
        ShowPlayerDialog(playerid, RRMENU, DIALOG_STYLE_LIST, "Rapid Recovery","Rapid Uniforms\nRapid Equipment\nRefill Health($1000)\nKevlar Vest($1000)\nMechanic Job", "Select", "Cancel");
    }
    return 1;
}

HELP HELP!
Reply


Messages In This Thread
DIALOG SPOOF PROBLEM - by cedizon - 18.05.2014, 06:12
Re: DIALOG SPOOF PROBLEM - by ball - 18.05.2014, 07:55
Re: DIALOG SPOOF PROBLEM - by jihadmeneer - 18.05.2014, 08:39
Re: DIALOG SPOOF PROBLEM - by cedizon - 18.05.2014, 12:31

Forum Jump:


Users browsing this thread: 1 Guest(s)