Reaction Test help
#2

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:

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!");
}
Reply


Messages In This Thread
Reaction Test help - by BlackWolf120 - 30.01.2011, 02:22
Re: Reaction Test help - by BlackWolf120 - 30.01.2011, 02:36
Re: Reaction Test help - by admantis - 30.01.2011, 02:36
Re: Reaction Test help - by iMonk3y - 30.01.2011, 02:38
Re: Reaction Test help - by Limex - 30.01.2011, 02:40
Re: Reaction Test help - by admantis - 30.01.2011, 02:41
Re: Reaction Test help - by BlackWolf120 - 30.01.2011, 02:44
Re: Reaction Test help - by BlackWolf120 - 30.01.2011, 19:04
Re: Reaction Test help - by BlackWolf120 - 31.01.2011, 14:15
Re: Reaction Test help - by Jefff - 31.01.2011, 14:47

Forum Jump:


Users browsing this thread: 1 Guest(s)