10.03.2014, 18:36
Quote:
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. |