SA-MP Forums Archive
cache_get_field_content_float tag mismatch problem :( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: cache_get_field_content_float tag mismatch problem :( (/showthread.php?tid=555646)



cache_get_field_content_float tag mismatch problem :( - gregoryfatzz - 08.01.2015

Hello, my problem is that I get a warning when I try to get floats from database.
I don't know where's the problem. Works fine with getting integers.

PosX is decleared as Float:PosX

Код:
pInfo[Money][playerid] = cache_get_field_content_int(0, "MONEY");
pInfo[PosX][playerid] = cache_get_field_content_float(0, "POSX");
Warning:
Код:
... .pwn(301) : warning 213: tag mismatch