21.07.2010, 09:13
You CANNOT get text out of digits !!
OnText
OnWIn
so the player can't get OnPlayerWin.
Timer also you have 1h*CONTESTTIME = A lot of time
Never mix text and value, any text as digit == 0
OnText
pawn Code:
if(strcmp(text,ContestAnswer, true ) == 0 )
{
OnPlayerWinContest(playerid);
}
pawn Code:
ContestAnswer = "sdashdgjsj hgjsdhgjhasgdjcgjsadhgsjhxћ";
Timer also you have 1h*CONTESTTIME = A lot of time
Never mix text and value, any text as digit == 0