Mysql R38 Save/Load problem
#2

You do: "`XPos`,`YPos`,`ZPos`,`AdminLevel`,`VIPLevel`"

So that means 'YPos' will be field 1, not field 7.

PlayerInfo[playerid][YPos]= cache_get_row_float(0, 1);

Same with X:

So that means 'XPos' will be field 0, not field 5.

PlayerInfo[playerid][YPos]= cache_get_row_float(0, 0);

If you did SELECT * - Then it would start from the real row IDs that appear in the database, but cause you selected specific data, the data starts at 0 incrementing.
Reply


Messages In This Thread
Mysql R38 Save/Load problem - by Admigo - 10.03.2014, 16:06
Re: Mysql R38 Save/Load problem - by Kyle - 10.03.2014, 16:56
Re: Mysql R38 Save/Load problem - by Admigo - 10.03.2014, 18:36
Re: Mysql R38 Save/Load problem - by AiRaLoKa - 26.05.2014, 06:41
Respuesta: Mysql R38 Save/Load problem - by xHanks - 04.05.2015, 19:07

Forum Jump:


Users browsing this thread: 1 Guest(s)