MySQL Saving houses
#10

Here is something to look at.
https://sampwiki.blast.hk/wiki/MySQL#mysql_fetch_row_format

I think you meant to use this
https://sampwiki.blast.hk/wiki/MySQL#mysql_retrieve_row

and here are a couple more things
pawn Код:
new Text3D: LabelMake[sizeof(Label)]; //what is the size of Label?
new hstring[128] = -1; // ?
hstring[126] += 1; // ?
format(hstring, sizeof(hstring) //...and then format it?

if(mysql_fetch_row_format(HQuery, "|")) // see above
HouseInfo[HouseID][hOwner] = strval(hsavingstring); //need to use format or strmid here
HouseInfo[HouseID][hEnterX] = strval(hsavingstring); //need to use floatstr here
Reply


Messages In This Thread
MySQL Saving houses - by System64 - 20.10.2011, 08:43
Re: MySQL Saving houses - by iggy1 - 20.10.2011, 09:01
Re: MySQL Saving houses - by System64 - 20.10.2011, 09:04
Re: MySQL Saving houses - by iggy1 - 20.10.2011, 09:09
Re: MySQL Saving houses - by Rachael - 20.10.2011, 09:12
Re: MySQL Saving houses - by iggy1 - 20.10.2011, 09:19
Re: MySQL Saving houses - by System64 - 20.10.2011, 09:19
Re: MySQL Saving houses - by [HiC]TheKiller - 20.10.2011, 09:21
Re: MySQL Saving houses - by System64 - 20.10.2011, 09:34
Re: MySQL Saving houses - by Rachael - 20.10.2011, 09:43

Forum Jump:


Users browsing this thread: 4 Guest(s)