fetch text message from OnPlayerText
#1

Hi there! Im a newbie and i just started to script. Im currently trying to make a register command with some quiz included but i came across a huge problem. I wrote my questions and the possible answers for the quiz in a .ini file like this:

Question1=Here comes the first question
11=first possible answer
12=second possible answer
13=third possible answer
Question2=Here is the second question
21=first possible answer for the second question
.
.
.
and so forth

I managed to make a "for" loop which reads all the questions and displays them on the screen with the possible answers but i need to stop the loop after each question in order to wait for the player's answer. That is my problem. Now how do i solve that? Is there a way of fetching the players text message from the OnPlayerText function? Please help!
Reply
#2

can anybody help me out? please!
Reply
#3

anyone? please?
Reply


Forum Jump:


Users browsing this thread: