MySQL loading bug?
#5

Welp, you have to provide one more argument because default sizeof returns wrong value.

pawn Код:
native cache_get_field_content(row, const field_name[], destination[], connectionHandle = 1, max_len=sizeof(destination));
pawn Код:
cache_get_field_content(0,"owner",HouseOwner[houseid],MySQL_Connected);
//changes into
cache_get_field_content(0,"owner",HouseOwner[houseid],MySQL_Connected, 24);
Reply


Messages In This Thread
MySQL loading bug? - by arakuta - 07.08.2013, 23:12
Re: MySQL loading bug? - by Macluawn - 08.08.2013, 00:24
Re: MySQL loading bug? - by arakuta - 08.08.2013, 03:05
Re: MySQL loading bug? - by arakuta - 08.08.2013, 15:01
Re: MySQL loading bug? - by Misiur - 08.08.2013, 15:39
Re: MySQL loading bug? - by arakuta - 08.08.2013, 15:43
Re: MySQL loading bug? - by Scenario - 08.08.2013, 15:55
Re: MySQL loading bug? - by arakuta - 08.08.2013, 22:04

Forum Jump:


Users browsing this thread: 1 Guest(s)