04.01.2012, 16:39
Hello, How do I do an RP Quiz Like the PR-RP One? Automated RP Quiz's Suck badly, I would love to know how to make one like the PR-RP One.
new inTut[MAX_PLAYERS];
new tutText[MAX_PLAYERS][128][5]; // 128 is limit of onplayertext and 5 is the amount of questions
public OnPlayerText(playerid, text) {
if(inTut[playerid] > 0) {
if(inTut[playerid] == 1) {
strmid(..., tutText[playerid][0], );
inTut[playerid] = 2;
SendClientMessage(playerid, -1, "another question");
}
if(inTut[playerid] == 2) {
//similar /\
}
}
}