Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(RegistrationStep[playerid] == 10)
- {
- new idx2;
- tmp = strtok(text, idx2);
- if((strcmp("1", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("1")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta sbagliata. RP significa RolePlay!");
- RegistrationStep[playerid] = 11;
- TogglePlayerControllable(playerid,0);
- RisposteSbagliate[playerid]++;
- if(RisposteSbagliate[playerid] >= 4)
- {
- SendClientMessage(playerid, COLOR_RED, "Hai superato il limite delle risposte sbagliate! Sei stato quindi kickato!");
- SendClientMessage(playerid, COLOR_RED, "Rientra nel server e riprova, facendo più attenzione al tutorial.");
- Kick(playerid);
- return 0;
- }
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 2 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Cosa significano Chat IC e chat OOC: (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) In Character e Out of Character");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) In Crecker e Out of Cherce");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) Irc Charachter e Other or Charcther");
- return 0;
- }
- if((strcmp("2", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("2")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta sbagliata. RP significa RolePlay!");
- RegistrationStep[playerid] = 11;
- TogglePlayerControllable(playerid,0);
- RisposteSbagliate[playerid]++;
- if(RisposteSbagliate[playerid] >= 4)
- {
- SendClientMessage(playerid, COLOR_RED, "Hai superato il limite delle risposte sbagliate! Sei stato quindi kickato!");
- SendClientMessage(playerid, COLOR_RED, "Rientra nel server e riprova, facendo più attenzione al tutorial.");
- Kick(playerid);
- return 0;
- }
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 2 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Cosa significano Chat IC e chat OOC: (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) In Character e Out of Character");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) In Crecker e Out of Cherce");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) Irc Charachter e Other or Charcther");
- return 0;
- }
- if((strcmp("3", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("3")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta corretta.");
- RegistrationStep[playerid] = 11;
- TogglePlayerControllable(playerid,0);
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 2 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Cosa significano Chat IC e chat OOC: (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) In Character e Out of Character");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) In Crecker e Out of Cherce");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) Irc Charachter e Other or Charcther");
- return 0;
- }
- else
- {
- SendClientMessage(playerid, COLOR_RED, "[INFO:] Devi rispondere scrivendo 1, 2 o 3!");
- }
- return 0;
- }
- if(RegistrationStep[playerid] == 11)
- {
- new idx2;
- tmp = strtok(text, idx2);
- if((strcmp("1", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("1")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta corretta.");
- RegistrationStep[playerid] = 12;
- TogglePlayerControllable(playerid,0);
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 3 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Cos'è la guida No Roleplay? (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) Guidare per la giusta corsia");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) Guidare senza rispettare le regole stradali");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) Guidare con il dito medio da fuori");
- return 0;
- }
- if((strcmp("2", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("2")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta sbagliata. IC significa In Character e OOC Out of Character!");
- RegistrationStep[playerid] = 12;
- TogglePlayerControllable(playerid,0);
- RisposteSbagliate[playerid]++;
- if(RisposteSbagliate[playerid] >= 4)
- {
- SendClientMessage(playerid, COLOR_RED, "Hai superato il limite delle risposte sbagliate! Sei stato quindi kickato!");
- SendClientMessage(playerid, COLOR_RED, "Rientra nel server e riprova, facendo più attenzione al tutorial.");
- Kick(playerid);
- return 0;
- }
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 3 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Cos'è la guida No Roleplay? (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) Guidare per la giusta corsia");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) Guidare senza rispettare le regole stradali");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) Guidare con il dito medio da fuori");
- return 0;
- }
- if((strcmp("3", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("3")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta sbagliata. IC significa In Character e OOC Out of Character!");
- RegistrationStep[playerid] = 12;
- TogglePlayerControllable(playerid,0);
- RisposteSbagliate[playerid]++;
- if(RisposteSbagliate[playerid] >= 4)
- {
- SendClientMessage(playerid, COLOR_RED, "Hai superato il limite delle risposte sbagliate! Sei stato quindi kickato!");
- SendClientMessage(playerid, COLOR_RED, "Rientra nel server e riprova, facendo più attenzione al tutorial.");
- Kick(playerid);
- return 0;
- }
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 3 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Cos'è la guida No Roleplay? (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) Guidare per la giusta corsia");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) Guidare senza rispettare le regole stradali");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) Guidare con il dito medio da fuori");
- return 0;
- }
- else
- {
- SendClientMessage(playerid, COLOR_RED, "[INFO:] Devi rispondere scrivendo 1, 2 o 3!");
- }
- return 0;
- }
- if(RegistrationStep[playerid] == 12)
- {
- new idx2;
- tmp = strtok(text, idx2);
- if((strcmp("1", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("1")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta sbagliata. Guida No RolePlay significa guidare senza rispettare il codice della strada!");
- RegistrationStep[playerid] = 13;
- TogglePlayerControllable(playerid,0);
- RisposteSbagliate[playerid]++;
- if(RisposteSbagliate[playerid] >= 4)
- {
- SendClientMessage(playerid, COLOR_RED, "Hai superato il limite delle risposte sbagliate! Sei stato quindi kickato!");
- SendClientMessage(playerid, COLOR_RED, "Rientra nel server e riprova, facendo più attenzione al tutorial.");
- Kick(playerid);
- return 0;
- }
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 4 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Quali tra questi è una pena di Ban: (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) DM");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) Cheat");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) CarKill");
- return 0;
- }
- if((strcmp("2", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("2")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta corretta.");
- RegistrationStep[playerid] = 13;
- TogglePlayerControllable(playerid,0);
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 4 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Quali tra questi è una pena di Ban: (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) DM");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) Cheat");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) CarKill");
- return 0;
- }
- if((strcmp("3", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("3")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta sbagliata. Guida No RolePlay significa guidare senza rispettare il codice della strada!");
- RegistrationStep[playerid] = 13;
- TogglePlayerControllable(playerid,0);
- RisposteSbagliate[playerid]++;
- if(RisposteSbagliate[playerid] >= 4)
- {
- SendClientMessage(playerid, COLOR_RED, "Hai superato il limite delle risposte sbagliate! Sei stato quindi kickato!");
- SendClientMessage(playerid, COLOR_RED, "Rientra nel server e riprova, facendo più attenzione al tutorial.");
- Kick(playerid);
- return 0;
- }
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 4 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Quali tra questi ha come pena il Ban: (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) DM");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) Cheat");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) CarKill");
- return 0;
- }
- else
- {
- SendClientMessage(playerid, COLOR_RED, "[INFO:] Devi rispondere scrivendo 1, 2 o 3!");
- }
- return 0;
- }
- if(RegistrationStep[playerid] == 13)
- {
- new idx2;
- tmp = strtok(text, idx2);
- if((strcmp("1", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("1")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta sbagliata. Chi usa cheat viene bannato!");
- RegistrationStep[playerid] = 14;
- TogglePlayerControllable(playerid,0);
- RisposteSbagliate[playerid]++;
- if(RisposteSbagliate[playerid] >= 4)
- {
- SendClientMessage(playerid, COLOR_RED, "Hai superato il limite delle risposte sbagliate! Sei stato quindi kickato!");
- SendClientMessage(playerid, COLOR_RED, "Rientra nel server e riprova, facendo più attenzione al tutorial.");
- Kick(playerid);
- return 0;
- }
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 5 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Qual'è il comando per contattare gli admin? (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) /admin");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) /report");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) /aiuto");
- return 0;
- }
- if((strcmp("2", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("2")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta corretta.");
- RegistrationStep[playerid] = 14;
- TogglePlayerControllable(playerid,0);
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 5 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Qual'è il comando per contattare gli admin? (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) /admin");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) /report");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) /aiuto");
- return 0;
- }
- if((strcmp("3", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("3")))
- {
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[INFO:] Risposta sbagliata. Chi usa cheat viene bannato!");
- RegistrationStep[playerid] = 14;
- TogglePlayerControllable(playerid,0);
- RisposteSbagliate[playerid]++;
- if(RisposteSbagliate[playerid] >= 4)
- {
- SendClientMessage(playerid, COLOR_RED, "Hai superato il limite delle risposte sbagliate! Sei stato quindi kickato!");
- SendClientMessage(playerid, COLOR_RED, "Rientra nel server e riprova, facendo più attenzione al tutorial.");
- Kick(playerid);
- return 0;
- }
- SendClientMessage(playerid, COLOR_DARKRED, "|____ Quesito n° 5 ____|");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "Qual'è il comando per contattare gli admin? (scrivi solo il numero della risposta corretta)");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "1) /admin");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "2) /report");
- SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "3) /aiuto");
- return 0;
- }
- else
- {
- SendClientMessage(playerid, COLOR_RED, "[INFO:] Devi rispondere scrivendo 1, 2 o 3!");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement