I need help in arrays
#2

you start at index 1 and go up to 4, arrays always start at 0, also you even used the wrong parameters for showplayerdialog

Can u even compile??

Also, no need to define unnecessary line breaks in your strings.

Anyways, look at this:

PHP код:
new index random(sizeof(Questions));
new 
answers[CHECK HOW MUCH YOU NEED DAMN IT];
format(answerssizeof(output), "%s\n%s\n%s"Questions[index][1], Questions[index][2],Questions[index][3]);
ShowPlayerDialog(playeridDIALOG_IDDIALOG_STYLE_LISTQuestions[index][0], answers"Choose""Cancel"); 
Reply


Messages In This Thread
I need help in arrays - by Arbico - 13.11.2017, 17:44
Re: I need help in arrays - by BiosMarcel - 14.11.2017, 07:02

Forum Jump:


Users browsing this thread: 1 Guest(s)