cache_get_field_content_float - invalid datatype
#1

Hello everyone,
I started learning MySQL few days ago, and suddenly something goes wrong with some floats. It's about register / login system, that saves your position. The problem is when I try to load the last position from the DB with cache_get_field_content_float, I'm getting an error in the mysql log. (cache_get_field_content_float - invalid datatype)
But it's compiling without any errors.

Here's the code:

pawn Код:
PlayerInfo[playerid][posX] = cache_get_field_content_float(0, "posX");

I tried to find some solution, but I couldn't ... Am I doing something wrong ?

P.S. I'm using the latest BlueG's MySQL plugin (r39-2).
Reply


Messages In This Thread
cache_get_field_content_float - invalid datatype - by MarTaTa - 15.10.2014, 21:14
Re: cache_get_field_content_float - invalid datatype - by ThePhenix - 15.10.2014, 21:55
Re: cache_get_field_content_float - invalid datatype - by MarTaTa - 16.10.2014, 17:07

Forum Jump:


Users browsing this thread: 3 Guest(s)