26.07.2017, 13:16
/*if(dialogid == OOCMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] == 3)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] == 3)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] == 3)
{
RegistrationStep[playerid] = 4;
ShowPlayerDialog(playerid, DMMENU, DIALOG_STYLE_LIST, "What does DM mean?","Death Metal\nDeath Match\nDangerous Monkey ", "Select", "Cancel");
return 1;
}
}
}
return 1;
}
if(dialogid == DMMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] == 4)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] == 4)
{
RegistrationStep[playerid] = 5;
ShowPlayerDialog(playerid, PGMENU, DIALOG_STYLE_LIST, "What does PG mean?","Power Gaming\nPig Gaming\nPlay Grants", "Select", "Cancel");
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] == 4)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
}
return 1;
}
if(dialogid == PGMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] == 5)
{
RegistrationStep[playerid] = 6;
ShowPlayerDialog(playerid, PCMENU, DIALOG_STYLE_LIST, "Provoking Cops is allowed ?","Yes it is.\nIf the cop Agree\nNever unless with Admin Permission", "Select", "Cancel");
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] == 5)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] == 5)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
}
return 1;
}
if(dialogid == PCMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] == 6)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] == 6)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] == 6)
{
RegistrationStep[playerid] = 7;
ShowPlayerDialog(playerid, CKMENU, DIALOG_STYLE_LIST, "What does CK mean?","Never heard of\nChicken Krap\nCharchter Kill", "Select", "Cancel");
return 1;
}
}
}
return 1;
}
if(dialogid == CKMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] ==
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] ==
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] ==
{
RegistrationStep[playerid] = 0;
CanTalk[playerid] = 1;
TutTime[playerid] = 0;
return 1;
}
}
}
return 1;
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] == 3)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] == 3)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] == 3)
{
RegistrationStep[playerid] = 4;
ShowPlayerDialog(playerid, DMMENU, DIALOG_STYLE_LIST, "What does DM mean?","Death Metal\nDeath Match\nDangerous Monkey ", "Select", "Cancel");
return 1;
}
}
}
return 1;
}
if(dialogid == DMMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] == 4)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] == 4)
{
RegistrationStep[playerid] = 5;
ShowPlayerDialog(playerid, PGMENU, DIALOG_STYLE_LIST, "What does PG mean?","Power Gaming\nPig Gaming\nPlay Grants", "Select", "Cancel");
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] == 4)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
}
return 1;
}
if(dialogid == PGMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] == 5)
{
RegistrationStep[playerid] = 6;
ShowPlayerDialog(playerid, PCMENU, DIALOG_STYLE_LIST, "Provoking Cops is allowed ?","Yes it is.\nIf the cop Agree\nNever unless with Admin Permission", "Select", "Cancel");
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] == 5)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] == 5)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
}
return 1;
}
if(dialogid == PCMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] == 6)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] == 6)
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] == 6)
{
RegistrationStep[playerid] = 7;
ShowPlayerDialog(playerid, CKMENU, DIALOG_STYLE_LIST, "What does CK mean?","Never heard of\nChicken Krap\nCharchter Kill", "Select", "Cancel");
return 1;
}
}
}
return 1;
}
if(dialogid == CKMENU)
{
if(response)
{
if(listitem == 0) //
{
if(RegistrationStep[playerid] ==
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 1) //
{
if(RegistrationStep[playerid] ==
{
SendClientMessage(playerid, COLOR_RED, "Answer Result : Wrong - You have been Kicked.");
Kick(playerid);
return 1;
}
}
if(listitem == 2) //
{
if(RegistrationStep[playerid] ==
{
RegistrationStep[playerid] = 0;
CanTalk[playerid] = 1;
TutTime[playerid] = 0;
return 1;
}
}
}
return 1;