29.04.2012, 19:26
I have made RP quiz but I have one problem. First if player give incorrect answer he will be kicked and I set
And if player pass quiz I set
And I made under OnPlayerConnect this:
And I have saved this:
But It won't write in scriptfiles "Quiz = 1", it's allways "Quiz = 0", why?
Код:
PlayerInfo[playerid][Quiz] = 0;
Код:
PlayerInfo[playerid][Quiz] = 1;
Код:
if(PlayerInfo[playerid][Quiz] == 0) { ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"RP Quiz","Next",""); }
Код:
INI_WriteInt(File, "Quiz", PlayerInfo[playerid][Quiz]);