21.01.2010, 14:24
Hello guys. I made a little reaction test, but when i type the right solution it just happens nothing.
nra = first number
nrb = 2nd number
nrc = 3rd number
How can I make that?
Would be nice if iґd get some help.
Greetz
Jeffry
pawn Код:
if(text[0] == nra+nrb+nrc) {
new string[128]; new stringy[128]; GetPlayerName(playerid,stringy,sizeof(stringy));
format(string,sizeof(string),"%s has won the Reaction Test. Solution: %d",stringy,text[0]); SendClientMessageToAll(yellow, string);
return 0;
}
nrb = 2nd number
nrc = 3rd number
How can I make that?
Would be nice if iґd get some help.
Greetz
Jeffry