22.07.2017, 20:09
It happens that I already have a gamemode with saved mysql and because I am working on the system of needs, the one of hunger is already and because based on it was that I made the one of urine, until now it goes well and therefore I only have an error with The saved, I do not know which error I am committing and I understand that the cache_get_row_int is to save numbers but doing so gives me this error.
Error:
Saved Code:
Urine [The error above]
Hungry
I already added the column in mysql with value INT of number, and in length or values I put "3" based on the hunger system that works well
Error:
Code:
[14:43:50] [ERROR] cache_get_row_int - invalid datatype
Urine [The error above]
Code:
cuenta[playerid][cOrine] = cache_get_row_int (0, 148, server[mysqlControl]);
Code:
cuenta[playerid][cHambre] = cache_get_row_int (0, 144, server[mysqlControl]);