07.09.2012, 11:53
Alright, so I had generated a script for a roleplay quiz. Now, I got everything to work fine except for one rather major thing; the calculation. After the quiz it will say the percentage I got correct and if I had gotten below 90%, fail me. Now, I have answered all the questions correctly and it will say something like, "You have gotten -5 out of 15 correct" and "You have gotten -54 percent correct" and then the fail message. (Not exact numbers, just an example.) I need to isolate this problem before it greatly affects what players that do play on my server.
Код:
if(! strcmp(text, "A", true)) { if(Player[playerid][QuizStep] >= 1) { switch(Player[playerid][QuizStep]) { case 1: { Player[playerid][QuizCorrect]--; Player[playerid][QuizStep]++; } case 2: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Fair enough, what do you do if you see an A-Spawned infernus?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Drive that pimp-daddy around everywhere and never leave it out of your sight because it is valuable."); SendClientMessage(playerid, RED, "B: ICly call your friends and inform them of a random fast car with the keys already within the vehicle. "); SendClientMessage(playerid, RED, "C: Contact a Helper in order to /despawncar for you and for the other players."); SendClientMessage(playerid, RED, "D: Contact an administrator in order to /despawncar for you and for the other players."); Player[playerid][QuizStep]++; } case 3: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you immediately do when your health drops below 50?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Begin /s(houting) 'HEAL ME, HEAL ME DAMNIT!'."); SendClientMessage(playerid, RED, "B: Immediately get to roleplaying your injuries and get into a proper animation for such."); SendClientMessage(playerid, RED, "C: PM a medic to have them come and /heal with you no roleplay because you are in a hurry."); SendClientMessage(playerid, RED, "D: Continue doing as you were previously doing because the health must be below 30 to RP injuries."); Player[playerid][QuizStep]++; } case 4: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Which rules is not a rule here at Lost Life Roleplay?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: You may water evade during police chases."); SendClientMessage(playerid, RED, "B: You may /kill in order to avoid arrest."); SendClientMessage(playerid, RED, "C: You may not intentionally heli-blade ANYONE."); SendClientMessage(playerid, RED, "D: You must always properly RP your injuries."); Player[playerid][QuizStep]++; } case 5: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What should you do if you come into contact with corrupted deputy?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Approach a High Commanding member of the FCSD ICly and inform them of the story."); SendClientMessage(playerid, RED, "B: Follow the corrupted deputy around and blow a hole into him with the gun you just made."); SendClientMessage(playerid, RED, "C: Approach a High Commanding member of the FCSD OOCly and inform them of the story."); SendClientMessage(playerid, RED, "D: Stalk the corrupted deputy, watch every turn he makes and get him into the back alley."); Player[playerid][QuizStep]++; } case 6: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if an admin abuses their powers."); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Begin a rant topic on forums and insult the Administration Team as an entirety."); SendClientMessage(playerid, RED, "B: Approach Nathan Mader regarding the situation and provide any evidence in which you have."); SendClientMessage(playerid, RED, "C: Approach the admin in which abused their powers and begin ranting at them, especially when they kick you."); SendClientMessage(playerid, RED, "D: Approach the Head of Administration regarding the situation and provide any evidence you have."); Player[playerid][QuizStep]++; } case 7: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do the first minute you receive a gun?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Show it to everyone because you are so proud of it."); SendClientMessage(playerid, RED, "B: Take a Screenshot to send around the forums if need be."); SendClientMessage(playerid, RED, "C: Go trigger happy and go on an 'IC' killing spree with the gun."); SendClientMessage(playerid, RED, "D: Take that corrupted deputy around back and 'show' him your gun."); Player[playerid][QuizStep]++; } case 8: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does RPing stand for, and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Realplay - Acting a character as an actor or actress would in a movie."); SendClientMessage(playerid, RED, "B: Realplay - Acting a character as you would act In Real Life."); SendClientMessage(playerid, RED, "C: Roleplay - Acting a character as an actor or actress would in a movie."); SendClientMessage(playerid, RED, "D: Roleplay - Acting a character as you would act In Real Life."); Player[playerid][QuizStep]++; } case 9: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does DM stand for and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Deathmaker - Something you say when or before you completely rage on another player."); SendClientMessage(playerid, RED, "B: Deathmaker - One who killed on player and they cannot touch them for something before they were killed."); SendClientMessage(playerid, RED, "C: Deathmatch - Killing someone because they have ICly angered you."); SendClientMessage(playerid, RED, "D: Deathmatch - Killing someone for no IC reason whatsoever."); Player[playerid][QuizStep]++; } case 10: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if you see a hacker hacking?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Enable your hacks and begin using them because it looks like fun!"); SendClientMessage(playerid, RED, "B: Scream in /n, /o, or /s regarding the hacker to warn fellow players."); SendClientMessage(playerid, RED, "C: Report the player and if no admins are on, log off to avoid loosing anything valuable."); SendClientMessage(playerid, RED, "D: Hope he brings the deputy around back and shows him their Minigun."); Player[playerid][QuizStep]++; } case 11: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Which of the possibilities gives you more IG benefits?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Donating to the server and receiving benefits to favor your time here."); SendClientMessage(playerid, RED, "B: Enabling ****** and hacking everything known to man."); SendClientMessage(playerid, RED, "C: Being best friends with either Nathan Mader of AshleyAcidix."); SendClientMessage(playerid, RED, "D: Purchasing IG money IRL from a friend rather that donating."); Player[playerid][QuizStep]++; } case 12: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does OOC stand for and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Out-Of-Context - Using something that was not listed for you to use."); SendClientMessage(playerid, RED, "B: Out-Of-Context - Using something that was not given ICly."); SendClientMessage(playerid, RED, "C: Out-Of-Character - Anything that happens when you are not RPing."); SendClientMessage(playerid, RED, "D: Out-Of-Character - Randomly beginning to roleplay something/someone else."); Player[playerid][QuizStep]++; } case 13: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What is Lost-Life Roleplay's policy on any sexual actions?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: You must record or take screenshots to show people on the forums."); SendClientMessage(playerid, RED, "B: You must PM the other party and see if they accept - If they do, take SSes of the acceptance."); SendClientMessage(playerid, RED, "C: You must receive administrative permission."); SendClientMessage(playerid, RED, "D: Pick them up, flip them over, and go in for the sex."); Player[playerid][QuizStep]++; } case 14: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "When does Lost-Life Roleplay take place"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: 2012"); SendClientMessage(playerid, RED, "B: 1995"); SendClientMessage(playerid, RED, "C: 2001"); SendClientMessage(playerid, RED, "D: 1989"); Player[playerid][QuizStep]++; } case 15: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if you see a bug?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Immediately begin PMing all of the administrators you see."); SendClientMessage(playerid, RED, "B: PM all of your friends and take advantage of this bug."); SendClientMessage(playerid, RED, "C: Create a topic amungst the forums so a Developer can check them and fix them."); SendClientMessage(playerid, RED, "D: Hope the bug is bad and hope the Corrupted Deputy falls under it's spell."); Player[playerid][QuizStep]++; } case 16: { SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "YOUR RESULTS HAVE CAME IN!!"); SendClientMessage(playerid, WHITE, "------------------------------------------------"); SendClientMessage(playerid, RED, " "); format(string, sizeof(string), "You have scored %d out of 15!", Player[playerid][QuizCorrect]); SendClientMessage(playerid, LIGHTRED, string); new calculation1 = Player[playerid][QuizCorrect]/15; new calculation2 = calculation1*100; format(string, sizeof(string), "You have gotten %d percent correct!", calculation2); SendClientMessage(playerid, LIGHTRED, string); if (calculation2 >= 90) { format(string, sizeof(string), "Based upon your percentage you have PASSED the quiz!"); SendClientMessage(playerid, GREEN, string); Player[playerid][Tutorial] = 1; Player[playerid][SevQuiz] = 1; SendClientMessage(playerid, GREEN, "You will now begin the server tutorial!"); SendClientMessage(playerid, WHITE, "-----------------------------------------------------------------------------------------------------------------"); SendClientMessage(playerid, WHITE, "INTRODUCTION"); SendClientMessage(playerid, RED, "Congratulations on passing the Roleplay Quiz! We will now move onto the server tutorial. Just like every server, we do"); SendClientMessage(playerid, RED, "have quite a few unique portions as a community, as a script, or even as an administrative team, that is why we will give"); SendClientMessage(playerid, RED, "walkthough, to assure your most satisfaction within Lost Life Roleplay!"); SendClientMessage(playerid, GREY, "Please type next when you are ready to continue to the next section."); SendClientMessage(playerid, GREY, "-----------------------------------------------------------------------------------------------------------------"); Player[playerid][ServerTut] = 1; } else { format(string, sizeof(string), "Based upon your percentage, you have FAILED the quiz!"); SendClientMessage(playerid, RED, string); Kick(playerid); } } } } } if(! strcmp(text, "B", true)) { if(Player[playerid][QuizStep] >= 1) { switch(Player[playerid][QuizStep]) { case 1: { Player[playerid][QuizCorrect]--; Player[playerid][QuizStep]++; } case 2: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Fair enough, what do you do if you see an A-Spawned infernus?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Drive that pimp-daddy around everywhere and never leave it out of your sight because it is valuable."); SendClientMessage(playerid, RED, "B: ICly call your friends and inform them of a random fast car with the keys already within the vehicle. "); SendClientMessage(playerid, RED, "C: Contact a Helper in order to /despawncar for you and for the other players."); SendClientMessage(playerid, RED, "D: Contact an administrator in order to /despawncar for you and for the other players."); Player[playerid][QuizStep]++; } case 3: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you immediately do when your health drops below 50?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Begin /s(houting) 'HEAL ME, HEAL ME DAMNIT!'."); SendClientMessage(playerid, RED, "B: Immediately get to roleplaying your injuries and get into a proper animation for such."); SendClientMessage(playerid, RED, "C: PM a medic to have them come and /heal with you no roleplay because you are in a hurry."); SendClientMessage(playerid, RED, "D: Continue doing as you were previously doing because the health must be below 30 to RP injuries."); Player[playerid][QuizStep]++; } case 4: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Which rules is not a rule here at Lost Life Roleplay?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: You may not water evade."); SendClientMessage(playerid, RED, "B: You may /kill in order to avoid arrest."); SendClientMessage(playerid, RED, "C: You may not intentionally heli-blade ANYONE."); SendClientMessage(playerid, RED, "D: You must always properly RP your injuries."); Player[playerid][QuizStep]++; } case 5: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What should you do if you come into contact with corrupted deputy?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Approach a High Commanding member of the FCSD ICly and inform them of the story."); SendClientMessage(playerid, RED, "B: Follow the corrupted deputy around and blow a hole into him with the gun you just made."); SendClientMessage(playerid, RED, "C: Approach a High Commanding member of the FCSD OOCly and inform them of the story."); SendClientMessage(playerid, RED, "D: Stalk the corrupted deputy, watch every turn he makes and get him into the back alley."); Player[playerid][QuizStep]++; } case 6: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if an admin abuses their powers."); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Begin a rant topic on forums and insult the Administration Team as an entirety."); SendClientMessage(playerid, RED, "B: Approach Nathan Mader regarding the situation and provide any evidence in which you have."); SendClientMessage(playerid, RED, "C: Approach the admin in which abused their powers and begin ranting at them, especially when they kick you."); SendClientMessage(playerid, RED, "D: Approach the Head of Administration regarding the situation and provide any evidence you have."); Player[playerid][QuizStep]++; } case 7: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do the first minute you receive a gun?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Show it to everyone because you are so proud of it."); SendClientMessage(playerid, RED, "B: Take a Screenshot to send around the forums if need be."); SendClientMessage(playerid, RED, "C: Go trigger happy and go on an 'IC' killing spree with the gun."); SendClientMessage(playerid, RED, "D: Take that corrupted deputy around back and 'show' him your gun."); Player[playerid][QuizStep]++; } case 8: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does RPing stand for, and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Realplay - Acting a character as an actor or actress would in a movie."); SendClientMessage(playerid, RED, "B: Realplay - Acting a character as you would act In Real Life."); SendClientMessage(playerid, RED, "C: Roleplay - Acting a character as an actor or actress would in a movie."); SendClientMessage(playerid, RED, "D: Roleplay - Acting a character as you would act In Real Life."); Player[playerid][QuizStep]++; } case 9: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does DM stand for and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Deathmaker - Something you say when or before you completely rage on another player."); SendClientMessage(playerid, RED, "B: Deathmaker - One who killed on player and they cannot touch them for something before they were killed."); SendClientMessage(playerid, RED, "C: Deathmatch - Killing someone because they have ICly angered you."); SendClientMessage(playerid, RED, "D: Deathmatch - Killing someone for no IC reason whatsoever."); Player[playerid][QuizStep]++; } case 10: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if you see a hacker hacking?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Enable your hacks and begin using them because it looks like fun!"); SendClientMessage(playerid, RED, "B: Scream in /n, /o, or /s regarding the hacker to warn fellow players."); SendClientMessage(playerid, RED, "C: Report the player and if no admins are on, log off to avoid loosing anything valuable."); SendClientMessage(playerid, RED, "D: Hope he brings the deputy around back and shows him their Minigun."); Player[playerid][QuizStep]++; } case 11: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Which of the possibilities gives you more IG benefits?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Donating to the server and receiving benefits to favor your time here."); SendClientMessage(playerid, RED, "B: Enabling ****** and hacking everything known to man."); SendClientMessage(playerid, RED, "C: Being best friends with either Nathan Mader of AshleyAcidix."); SendClientMessage(playerid, RED, "D: Purchasing IG money IRL from a friend rather that donating."); Player[playerid][QuizStep]++; } case 12: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does OOC stand for and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Out-Of-Context - Using something that was not listed for you to use."); SendClientMessage(playerid, RED, "B: Out-Of-Context - Using something that was not given ICly."); SendClientMessage(playerid, RED, "C: Out-Of-Character - Anything that happens when you are not RPing."); SendClientMessage(playerid, RED, "D: Out-Of-Character - Randomly beginning to roleplay something/someone else."); Player[playerid][QuizStep]++; } case 13: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What is Lost-Life Roleplay's policy on any sexual actions?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: You must record or take screenshots to show people on the forums."); SendClientMessage(playerid, RED, "B: You must PM the other party and see if they accept - If they do, take SSes of the acceptance."); SendClientMessage(playerid, RED, "C: You must receive administrative permission."); SendClientMessage(playerid, RED, "D: Pick them up, flip them over, and go in for the sex."); Player[playerid][QuizStep]++; } case 14: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "When does Lost-Life Roleplay take place"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: 2012"); SendClientMessage(playerid, RED, "B: 1995"); SendClientMessage(playerid, RED, "C: 2001"); SendClientMessage(playerid, RED, "D: 1989"); Player[playerid][QuizStep]++; } case 15: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if you see a bug?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Immediately begin PMing all of the administrators you see."); SendClientMessage(playerid, RED, "B: PM all of your friends and take advantage of this bug."); SendClientMessage(playerid, RED, "C: Create a topic amungst the forums so a Developer can check them and fix them."); SendClientMessage(playerid, RED, "D: Hope the bug is bad and hope the Corrupted Deputy falls under it's spell."); Player[playerid][QuizStep]++; } case 16: { SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "YOUR RESULTS HAVE CAME IN!!"); SendClientMessage(playerid, WHITE, "------------------------------------------------"); SendClientMessage(playerid, RED, " "); format(string, sizeof(string), "You have scored %d out of 15!", Player[playerid][QuizCorrect]); SendClientMessage(playerid, LIGHTRED, string); new calculation1 = Player[playerid][QuizCorrect]/15; new calculation2 = calculation1*100; format(string, sizeof(string), "You have gotten %s percent correct!", calculation2); SendClientMessage(playerid, LIGHTRED, string); if (calculation2 >= 90) { format(string, sizeof(string), "Based upon your percentage you have PASSED the quiz!"); SendClientMessage(playerid, GREEN, string); Player[playerid][Tutorial] = 1; Player[playerid][SevQuiz] = 1; SendClientMessage(playerid, GREEN, "You will now begin the server tutorial!"); SendClientMessage(playerid, WHITE, "-----------------------------------------------------------------------------------------------------------------"); SendClientMessage(playerid, WHITE, "INTRODUCTION"); SendClientMessage(playerid, RED, "Congratulations on passing the Roleplay Quiz! We will now move onto the server tutorial. Just like every server, we do"); SendClientMessage(playerid, RED, "have quite a few unique portions as a community, as a script, or even as an administrative team, that is why we will give"); SendClientMessage(playerid, RED, "walkthough, to assure your most satisfaction within Lost Life Roleplay!"); SendClientMessage(playerid, GREY, "Please type next when you are ready to continue to the next section."); SendClientMessage(playerid, GREY, "-----------------------------------------------------------------------------------------------------------------"); Player[playerid][ServerTut] = 1; } else { format(string, sizeof(string), "Based upon your percentage, you have FAILED the quiz!"); SendClientMessage(playerid, RED, string); Kick(playerid); } } } } } if(! strcmp(text, "C", true)) { if(Player[playerid][QuizStep] >= 1) { switch(Player[playerid][QuizStep]) { case 1: { Player[playerid][QuizCorrect]--; Player[playerid][QuizStep]++; } case 2: { Player[playerid][QuizCorrect]-=; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Fair enough, what do you do if you see an A-Spawned infernus?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Drive that pimp-daddy around everywhere and never leave it out of your sight because it is valuable."); SendClientMessage(playerid, RED, "B: ICly call your friends and inform them of a random fast car with the keys already within the vehicle. "); SendClientMessage(playerid, RED, "C: Contact a Helper in order to /despawncar for you and for the other players."); SendClientMessage(playerid, RED, "D: Contact an administrator in order to /despawncar for you and for the other players."); Player[playerid][QuizStep]++; } case 3: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you immediately do when your health drops below 50?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Begin /s(houting) 'HEAL ME, HEAL ME DAMNIT!'."); SendClientMessage(playerid, RED, "B: Immediately get to roleplaying your injuries and get into a proper animation for such."); SendClientMessage(playerid, RED, "C: PM a medic to have them come and /heal with you no roleplay because you are in a hurry."); SendClientMessage(playerid, RED, "D: Continue doing as you were previously doing because the health must be below 30 to RP injuries."); Player[playerid][QuizStep]++; } case 4: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Which rules is not a rule here at Lost Life Roleplay?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: You may not water evade."); SendClientMessage(playerid, RED, "B: You may /kill in order to avoid arrest."); SendClientMessage(playerid, RED, "C: You may not intentionally heli-blade ANYONE."); SendClientMessage(playerid, RED, "D: You must always properly RP your injuries."); Player[playerid][QuizStep]++; } case 5: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What should you do if you come into contact with corrupted deputy?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Approach a High Commanding member of the FCSD ICly and inform them of the story."); SendClientMessage(playerid, RED, "B: Follow the corrupted deputy around and blow a hole into him with the gun you just made."); SendClientMessage(playerid, RED, "C: Approach a High Commanding member of the FCSD OOCly and inform them of the story."); SendClientMessage(playerid, RED, "D: Stalk the corrupted deputy, watch every turn he makes and get him into the back alley."); Player[playerid][QuizStep]++; } case 6: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if an admin abuses their powers."); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Begin a rant topic on forums and insult the Administration Team as an entirety."); SendClientMessage(playerid, RED, "B: Approach Nathan Mader regarding the situation and provide any evidence in which you have."); SendClientMessage(playerid, RED, "C: Approach the admin in which abused their powers and begin ranting at them, especially when they kick you."); SendClientMessage(playerid, RED, "D: Approach the Head of Administration regarding the situation and provide any evidence you have."); Player[playerid][QuizStep]++; } case 7: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do the first minute you receive a gun?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Show it to everyone because you are so proud of it."); SendClientMessage(playerid, RED, "B: Take a Screenshot to send around the forums if need be."); SendClientMessage(playerid, RED, "C: Go trigger happy and go on an 'IC' killing spree with the gun."); SendClientMessage(playerid, RED, "D: Take that corrupted deputy around back and 'show' him your gun."); Player[playerid][QuizStep]++; } case 8: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does RPing stand for, and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Realplay - Acting a character as an actor or actress would in a movie."); SendClientMessage(playerid, RED, "B: Realplay - Acting a character as you would act In Real Life."); SendClientMessage(playerid, RED, "C: Roleplay - Acting a character as an actor or actress would in a movie."); SendClientMessage(playerid, RED, "D: Roleplay - Acting a character as you would act In Real Life."); Player[playerid][QuizStep]++; } case 9: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does DM stand for and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Deathmaker - Something you say when or before you completely rage on another player."); SendClientMessage(playerid, RED, "B: Deathmaker - One who killed on player and they cannot touch them for something before they were killed."); SendClientMessage(playerid, RED, "C: Deathmatch - Killing someone because they have ICly angered you."); SendClientMessage(playerid, RED, "D: Deathmatch - Killing someone for no IC reason whatsoever."); Player[playerid][QuizStep]++; } case 10: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if you see a hacker hacking?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Enable your hacks and begin using them because it looks like fun!"); SendClientMessage(playerid, RED, "B: Scream in /n, /o, or /s regarding the hacker to warn fellow players."); SendClientMessage(playerid, RED, "C: Report the player and if no admins are on, log off to avoid loosing anything valuable."); SendClientMessage(playerid, RED, "D: Hope he brings the deputy around back and shows him their Minigun."); Player[playerid][QuizStep]++; } case 11: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Which of the possibilities gives you more IG benefits?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Donating to the server and receiving benefits to favor your time here."); SendClientMessage(playerid, RED, "B: Enabling ****** and hacking everything known to man."); SendClientMessage(playerid, RED, "C: Being best friends with either Nathan Mader of AshleyAcidix."); SendClientMessage(playerid, RED, "D: Purchasing IG money IRL from a friend rather that donating."); Player[playerid][QuizStep]++; } case 12: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What does OOC stand for and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Out-Of-Context - Using something that was not listed for you to use."); SendClientMessage(playerid, RED, "B: Out-Of-Context - Using something that was not given ICly."); SendClientMessage(playerid, RED, "C: Out-Of-Character - Anything that happens when you are not RPing."); SendClientMessage(playerid, RED, "D: Out-Of-Character - Randomly beginning to roleplay something/someone else."); Player[playerid][QuizStep]++; } case 13: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What is Lost-Life Roleplay's policy on any sexual actions?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: You must record or take screenshots to show people on the forums."); SendClientMessage(playerid, RED, "B: You must PM the other party and see if they accept - If they do, take SSes of the acceptance."); SendClientMessage(playerid, RED, "C: You must receive administrative permission."); SendClientMessage(playerid, RED, "D: Pick them up, flip them over, and go in for the sex."); Player[playerid][QuizStep]++; } case 14: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "When does Lost-Life Roleplay take place"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: 2012"); SendClientMessage(playerid, RED, "B: 1995"); SendClientMessage(playerid, RED, "C: 2001"); SendClientMessage(playerid, RED, "D: 1989"); Player[playerid][QuizStep]++; } case 15: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "What do you do if you see a bug?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Immediately begin PMing all of the administrators you see."); SendClientMessage(playerid, RED, "B: PM all of your friends and take advantage of this bug."); SendClientMessage(playerid, RED, "C: Create a topic amungst the forums so a Developer can check them and fix them."); SendClientMessage(playerid, RED, "D: Hope the bug is bad and hope the Corrupted Deputy falls under it's spell."); Player[playerid][QuizStep]++; } case 16: { SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "YOUR RESULTS HAVE CAME IN!!"); SendClientMessage(playerid, WHITE, "------------------------------------------------"); SendClientMessage(playerid, RED, " "); format(string, sizeof(string), "You have scored %d out of 15!", Player[playerid][QuizCorrect]); SendClientMessage(playerid, LIGHTRED, string); new calculation1 = Player[playerid][QuizCorrect]/15; new calculation2 = calculation1*100; format(string, sizeof(string), "You have gotten %s percent correct!", calculation2); SendClientMessage(playerid, LIGHTRED, string); if (calculation2 >= 90) { format(string, sizeof(string), "Based upon your percentage you have PASSED the quiz!"); SendClientMessage(playerid, GREEN, string); Player[playerid][Tutorial] = 1; Player[playerid][SevQuiz] = 1; SendClientMessage(playerid, GREEN, "You will now begin the server tutorial!"); SendClientMessage(playerid, WHITE, "-----------------------------------------------------------------------------------------------------------------"); SendClientMessage(playerid, WHITE, "INTRODUCTION"); SendClientMessage(playerid, RED, "Congratulations on passing the Roleplay Quiz! We will now move onto the server tutorial. Just like every server, we do"); SendClientMessage(playerid, RED, "have quite a few unique portions as a community, as a script, or even as an administrative team, that is why we will give"); SendClientMessage(playerid, RED, "walkthough, to assure your most satisfaction within Lost Life Roleplay!"); SendClientMessage(playerid, GREY, "Please type next when you are ready to continue to the next section."); SendClientMessage(playerid, GREY, "-----------------------------------------------------------------------------------------------------------------"); Player[playerid][ServerTut] = 1; } else { format(string, sizeof(string), "Based upon your percentage, you have FAILED the quiz!"); SendClientMessage(playerid, RED, string); Kick(playerid); } } } } } if(! strcmp(text, "D", true)) { if(Player[playerid][QuizStep] >= 1) { switch(Player[playerid][QuizStep]) { case 1: { Player[playerid][QuizCorrect]-=; Player[playerid][QuizStep]++; } case 2: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, RED, "Fair enough, what do you do if you see an A-Spawned infernus?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Drive that pimp-daddy around everywhere and never leave it out of your sight because it is valuable."); SendClientMessage(playerid, RED, "B: ICly call your friends and inform them of a random fast car with the keys already within the vehicle. "); SendClientMessage(playerid, RED, "C: Contact a Helper in order to /despawncar for you and for the other players."); SendClientMessage(playerid, RED, "D: Contact an administrator in order to /despawncar for you and for the other players."); Player[playerid][QuizStep]++; } case 3: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What do you immediately do when your health drops below 50?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Begin shouting 'HEAL ME, HEAL ME DAMNIT!'."); SendClientMessage(playerid, RED, "B: Immediately get to roleplaying your injuries and get into a proper animation for such."); SendClientMessage(playerid, RED, "C: PM a medic to have them come and /heal with you no roleplay because you are in a hurry."); SendClientMessage(playerid, RED, "D: Continue doing as you were previously doing because the health must be below 30 to RP injuries."); Player[playerid][QuizStep]++; } case 4: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "Which rules is not a rule here at Lost Life Roleplay?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: You may water evade in Police chases."); SendClientMessage(playerid, RED, "B: You may /kill in order to avoid arrest."); SendClientMessage(playerid, RED, "C: You may not intentionally heli-blade ANYONE."); SendClientMessage(playerid, RED, "D: You must always properly RP your injuries."); Player[playerid][QuizStep]++; } case 5: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What should you do if you come into contact with corrupted deputy?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Approach a High Commanding member of the FCSD ICly and inform them of the story."); SendClientMessage(playerid, RED, "B: Follow the corrupted deputy around and blow a hole into him with the gun you just made."); SendClientMessage(playerid, RED, "C: Approach a High Commanding member of the FCSD OOCly and inform them of the story."); SendClientMessage(playerid, RED, "D: Stalk the corrupted deputy, watch every turn he makes and get him into the back alley."); Player[playerid][QuizStep]++; } case 6: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What do you do if an admin abuses their powers."); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Begin a rant topic on forums and insult the Administration Team as an entirety."); SendClientMessage(playerid, RED, "B: Approach Nathan Mader regarding the situation and provide any evidence in which you have."); SendClientMessage(playerid, RED, "C: Approach the admin in which abused their powers and begin ranting at them, especially when they kick you."); SendClientMessage(playerid, RED, "D: Approach the Head of Administration regarding the situation and provide any evidence you have."); Player[playerid][QuizStep]++; } case 7: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What do you do the first minute you receive a gun?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Show it to everyone because you are so proud of it."); SendClientMessage(playerid, RED, "B: Take a Screenshot to send around the forums if need be."); SendClientMessage(playerid, RED, "C: Go trigger happy and go on an 'IC' killing spree with the gun."); SendClientMessage(playerid, RED, "D: Take that corrupted deputy around back and 'show' him your gun."); Player[playerid][QuizStep]++; } case 8: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What does RPing stand for, and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Realplay - Acting a character as an actor or actress would in a movie."); SendClientMessage(playerid, RED, "B: Realplay - Acting a character as you would act In Real Life."); SendClientMessage(playerid, RED, "C: Roleplay - Acting a character as an actor or actress would in a movie."); SendClientMessage(playerid, RED, "D: Roleplay - Acting a character as you would act In Real Life."); Player[playerid][QuizStep]++; } case 9: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What does DM stand for and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Deathmaker - Something you say when or before you completely rage on another player."); SendClientMessage(playerid, RED, "B: Deathmaker - One who killed on player and they cannot touch them for something before they were killed."); SendClientMessage(playerid, RED, "C: Deathmatch - Killing someone because they have ICly angered you."); SendClientMessage(playerid, RED, "D: Deathmatch - Killing someone for no IC reason whatsoever."); Player[playerid][QuizStep]++; } case 10: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What do you do if you see a hacker hacking?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Enable your hacks and begin using them because it looks like fun!"); SendClientMessage(playerid, RED, "B: Scream in /n, /o, or /s regarding the hacker to warn fellow players."); SendClientMessage(playerid, RED, "C: Report the player and if no admins are on, log off to avoid loosing anything valuable."); SendClientMessage(playerid, RED, "D: Hope he brings the deputy around back and shows him their Minigun."); Player[playerid][QuizStep]++; } case 11: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "Which of the possibilities gives you more IG benefits?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Donating to the server and receiving benefits to favor your time here."); SendClientMessage(playerid, RED, "B: Enabling ****** and hacking everything known to man."); SendClientMessage(playerid, RED, "C: Being best friends with either Nathan Mader of AshleyAcidix."); SendClientMessage(playerid, RED, "D: Purchasing IG money IRL from a friend rather that donating."); Player[playerid][QuizStep]++; } case 12: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What does OOC stand for and what does it mean?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Out-Of-Context - Using something that was not listed for you to use."); SendClientMessage(playerid, RED, "B: Out-Of-Context - Using something that was not given ICly."); SendClientMessage(playerid, RED, "C: Out-Of-Character - Anything that happens when you are not RPing."); SendClientMessage(playerid, RED, "D: Out-Of-Character - Randomly beginning to roleplay something/someone else."); Player[playerid][QuizStep]++; } case 13: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What is Lost-Life Roleplay's policy on any sexual actions?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: You must record or take screenshots to show people on the forums."); SendClientMessage(playerid, RED, "B: You must PM the other party and see if they accept - If they do, take SSes of the acceptance."); SendClientMessage(playerid, RED, "C: You must receive administrative permission."); SendClientMessage(playerid, RED, "D: Pick them up, flip them over, and go in for the sex."); Player[playerid][QuizStep]++; } case 14: { Player[playerid][QuizCorrect]++; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "When does Lost-Life Roleplay take place"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: 2012"); SendClientMessage(playerid, RED, "B: 1995"); SendClientMessage(playerid, RED, "C: 2001"); SendClientMessage(playerid, RED, "D: 1989"); Player[playerid][QuizStep]++; } case 15: { Player[playerid][QuizCorrect]--; SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "What do you do if you see a bug?"); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, "A: Immediately begin PMing all of the administrators you see."); SendClientMessage(playerid, RED, "B: PM all of your friends and take advantage of this bug."); SendClientMessage(playerid, RED, "C: Create a topic amungst the forums so a Developer can check them and fix them."); SendClientMessage(playerid, RED, "D: Hope the bug is bad and hope the Corrupted Deputy falls under it's spell."); Player[playerid][QuizStep]++; } case 16: { SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, RED, " "); SendClientMessage(playerid, WHITE, " "); SendClientMessage(playerid, WHITE, "YOUR RESULTS HAVE CAME IN!!"); SendClientMessage(playerid, WHITE, "------------------------------------------------"); SendClientMessage(playerid, RED, " "); format(string, sizeof(string), "You have scored %d out of 15!", Player[playerid][QuizCorrect]); SendClientMessage(playerid, LIGHTRED, string); new calculation1 = Player[playerid][QuizCorrect]/15; new calculation2 = calculation1*100; format(string, sizeof(string), "You have gotten %s percent correct!", calculation2); SendClientMessage(playerid, LIGHTRED, string); if (calculation2 >= 90) { format(string, sizeof(string), "Based upon your percentage you have PASSED the quiz!"); SendClientMessage(playerid, GREEN, string); Player[playerid][Tutorial] = 1; Player[playerid][SevQuiz] = 1; SendClientMessage(playerid, GREEN, "You will now begin the server tutorial!"); SendClientMessage(playerid, WHITE, "-----------------------------------------------------------------------------------------------------------------"); SendClientMessage(playerid, WHITE, "INTRODUCTION"); SendClientMessage(playerid, RED, "Congratulations on passing the Roleplay Quiz! We will now move onto the server tutorial. Just like every server, we do"); SendClientMessage(playerid, RED, "have quite a few unique portions as a community, as a script, or even as an administrative team, that is why we will give"); SendClientMessage(playerid, RED, "walkthough, to assure your most satisfaction within Lost Life Roleplay!"); SendClientMessage(playerid, GREY, "Please type next when you are ready to continue to the next section."); SendClientMessage(playerid, GREY, "-----------------------------------------------------------------------------------------------------------------"); Player[playerid][ServerTut] = 1; } else { format(string, sizeof(string), "Based upon your percentage, you have FAILED the quiz!"); SendClientMessage(playerid, RED, string); Kick(playerid); } } } } }