"How'd you get level 97?" "I'm not... WTF!?"
#1

For some reason, I get random levels and random money, hell, I probly got a random cock size.

In MySQL, my level is 5, and my money is 50, but in-game its random as fuck.

This is my loading code...

pawn Код:
.....           mysql_store_result(MySQL:connection);
            mysql_fetch_row(result, "|", MySQL:connection);

            split(result, field, '|');

            PlayerInfo[spareid][pLevel] = strval(field[3]);
            PlayerInfo[spareid][pAdmin] = strval(field[4]);
            PlayerInfo[spareid][pCash] = strval(field[5]);
            PlayerInfo[spareid][pBank] = strval(field[6]);
            PlayerInfo[spareid][pSkin] = strval(field[7]);......
But fr some reason, after I do SetPlayerScore(playerid, PlayerInfo[playerid][pLevel]); , its still some random number!
Reply
#2

Could you show me your database? The structure
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)