03.12.2011, 11:59
I made this:
and I used this here:
then I get the error, the pvars were setted correct in all the cases.
pawn Код:
stock CreateQuiz(q1[], a1, q2[], a2, q3[], a3, q4[], a4)
pawn Код:
CreateQuiz(
GetPVarString(playerid, "QuizCreateQ1", quizstr, 128),
GetPVarInt(playerid, "QuizCreateA1"),
GetPVarString(playerid, "QuizCreateQ2", quizstr, 128),
GetPVarInt(playerid, "QuizCreateA2"),
GetPVarString(playerid, "QuizCreateQ3", quizstr, 128),
GetPVarInt(playerid, "QuizCreateA3"),
GetPVarString(playerid, "QuizCreateQ4", quizstr, 128),
GetPVarInt(playerid, "QuizCreateA4")
);