mySQL problems
#1

In my script, it saves PlayerInfo[playerid][var] into the database playerdata. It also loads playerdata and puts it into PlayerInfo[playerid][var] (whatever the var may be)

When it does the password and name, depending on what is after the line, it messes up the data in it.

Код:
GetPlayerName(playerid,PlayerInfo[playerid][Name],20);
PlayerInfo[playerid][Badlog] = 0;
Im not sure why but it it would end up setting the badlog to 111!

Another problem is that i can change information in the database anymore, it goes back to what it was before. (when i refresh)

It also cuts everything but the first 2 characters if I switch GetPlayerName and Badlog
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)