Maths
#1

I wrote a little maths game for my gamemode.. it was on command /a but I decided against that idea and now I'm trying to put it on OnPlayerText.

pawn Код:
if(text[0] == answer) {
    new str[128];
    format(str,sizeof(str),"* %s has won Numb3rz with an answer of %d",PlayerName2(playerid), answer);
    SendClientMessageToAll(MAD_WHITE,str);
    GivePlayerMoney(playerid,20000);
    MathOff();
  }
The above code doesn't work, why not?
Reply


Messages In This Thread
Maths - by dcmd_crash - 07.05.2010, 09:00
Re: Maths - by Mr L - 07.05.2010, 09:17
Re: Maths - by [HiC]TheKiller - 07.05.2010, 10:10
Re: Maths - by dcmd_crash - 07.05.2010, 10:19

Forum Jump:


Users browsing this thread: 1 Guest(s)