30.01.2011, 02:36
To explain some better:
The right answer is stored in: answer
E.g. if the answers was a number e.g. 5
itd look like this:
The right answer is stored in: answer
E.g. if the answers was a number e.g. 5
itd look like this:
pawn Код:
if(cmdid < answer || cmdid > answer)//so this checks if the answer is biger or smaller than 5
{
SendClientMessage(playerid, color, "Wrong");
}
else
{
//announce winner...
}
//but how to do it here? with a word? Cause this does not work!
if(!strval(answer,cmdr))
{
SendClientMessage(playerid, 0xAA3333AA, "The answer was not right!");
}