SA-MP Forums Archive
MYSQL loading - 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: MYSQL loading (/showthread.php?tid=412287)



MYSQL loading - MattSlater - 01.02.2013

pawn Код:
cache_get_field_content(extraid, "Owner", BusinessInfo[extraid][bOwner], iConnectionHandle);
I have this, but whenever it attempts to load the 'Owner' field it just comes up as "NULL" when there is something in the field

idk why?


Re: MYSQL loading - Vince - 01.02.2013

First parameter is supposed to be the row you're loading data from. Has nothing to do with playerid whatsoever. If there's only 1 row, then put 0.


Re: MYSQL loading - MattSlater - 01.02.2013

I change it to 0, it didn't do anything, still loading it as "NULL"


Re: MYSQL loading - MattSlater - 02.02.2013

Anyone?


Re: MYSQL loading - MattSlater - 03.02.2013

? Still can't forget this out


Re: MYSQL loading - CoDeZ - 03.02.2013

try using cache_get_row if you know the place of your row.


Re: MYSQL loading - MattSlater - 03.02.2013

Didn't work


Re: MYSQL loading - MattSlater - 07.02.2013

Still doesn't work? ;(


Re: MYSQL loading - MattSlater - 08.02.2013

Anyone?