Threaded query problem
#7

Quote:
Originally Posted by Jefff
Посмотреть сообщение
1. evSahipID = HouseData[evID][houseOwner]; its integer array?
2. cache_get_field_content(rows, "Character", sahipIsim, g_iHandle, sizeof(sahipIsim)); all what you need is replace 'rows' to 0
3. strpack(HouseData[evID][houseOwner], sahipIsim, 24 char); so its string not integer?
1. Yes, houseOwner is an integer. It keeps house owner's ID.
2. I don't know what I did there. It is a result of hours of desperate work, sadly...
3. I tried to find user's ID in 'houses' table and search it in 'characters' and find the owner's name. Didn't quite do it.

So here's the deal. House's and business's owners are saved by their SQLID not by name. And I want to get the owner's name using these IDs. It's South Central gamemode if you want to look at it. Obviously I can't do it by myself.
Reply


Messages In This Thread
Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 15:13
Re: Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 15:44
Re: Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 19:57
Re: Threaded query problem - by AmigaBlizzard - 25.02.2016, 20:34
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 00:30
Re: Threaded query problem - by Jefff - 26.02.2016, 00:35
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 01:09
Re: Threaded query problem - by Virtual1ty - 26.02.2016, 13:01
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 13:09
Re: Threaded query problem - by Virtual1ty - 26.02.2016, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)