Random numbers
#1

pawn Код:
if(TypingAge[playerid] == 1)
    {
        new age;
        age = strval(text);
        pInfo[playerid][Age] = age;
        SCM(playerid, COLOR_LIGHTYELLOW, "Age set: %d", age);
        TypingAge[playerid] = 0;
        return 0;
    }
It's supposed to set the age he typed then display it on the screen... it shows random numbers.. also in the data file it only shows "1".

For example: when I type 19 ... the message is "Age set: 541725712412" ... any idea why?
Reply


Messages In This Thread
Random numbers - by viddo - 31.12.2014, 11:24
Re: Random numbers - by ball - 31.12.2014, 18:34
Re: Random numbers - by ATGOggy - 31.12.2014, 18:42

Forum Jump:


Users browsing this thread: 2 Guest(s)