argument type mismatch
#1

I made this:

pawn Код:
stock CreateQuiz(q1[], a1, q2[], a2, q3[], a3, q4[], a4)
and I used this here:
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")
);
then I get the error, the pvars were setted correct in all the cases.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)