23.05.2014, 02:12
Код:
if(dialogid == DIALOG_AUTOREFUND)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialogEx(playerid,REFUND1, DIALOG_STYLE_MSGBOX, "Philippines-Roleplay Refund package 1", "Free GD\nFree 1M Money\nFree 5 Token\n\n Cars:\nFree Turismo\nFree NRG-500\nFree Bullet", "OK", "");
return 0;
}
if(listitem == 1)
{
ShowPlayerDialogEx(playerid,REFUND2, DIALOG_STYLE_MSGBOX, "Philippines-Roleplay Refund package 2", "Free GD\nFree 1M Money\nFree 5 Token\n\n Cars:\nFree Sultan\nFree PCJ-600\nFree Helicopter (Maverick)", "OK", "");
return 0;
}
if(listitem == 2)
{
ShowPlayerDialogEx(playerid,REFUND3, DIALOG_STYLE_MSGBOX, "Philippines-Rolepay Refund package 3", "Free GD\nFree 500K Money\nFree 3 Token\n\n Cars:\nFree Kart\nFree Monster A\n Free Infernus\nFCR-500", "OK", "");
return 0;
}
}
return SendClientMessage(playerid, COLOR_RED, "You have cancel auto-refund, You dont have refund anymore!");
}
Код:
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;
}
I promise i will give an +rep who can help me



PleaSE HELp ME to FIX this bug!!