Question : Sorting house interiors (REP) - 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: Question : Sorting house interiors (REP) (
/showthread.php?tid=544980)
Question : Sorting house interiors (REP) -
buburuzu19 - 05.11.2014
I want to sort the house interiors and i tried because i am needing them for 3DTextLabel for houses to show what type of interior has a specific house create on server, i mean the size of house, and i am a little bit confused becuase interior id like 5, 3 , 15 are repeating at medium interiors. I viewed house interiors here:
http://www.ng-gaming.net/forums/show...-interior-list.
How to do what i said up , i am really really needing to sort the house interiors in my gm , i want to put 3dtextlabel at each house with the size.
Re: Question : Sorting house interiors (REP) -
Banana_Ghost - 05.11.2014
Well, you can go here :
https://sampwiki.blast.hk/wiki/InteriorIDs and find the coordinates of the house, then teleport to that house somehow, get the coordinates of where you want to put the label and place it there.
Re: Question : Sorting house interiors (REP) -
buburuzu19 - 05.11.2014
You didn't understand. I have a dynamic house system based on mysql , all my gm uses mysql and the labels are automaticly created when the houses loads from database.I want to add a new ROW IN THE LABEL who shows the house size type and i want to make 3 types of size: Small,Medium,Big , and for this i am needing something in my gm who will sort or identify the house size . (A variable based) .I tryied with interior ids but , as i said at the top i am a little bit confused because the numbers of small interior ids are repeating to medium and big interiors.
Re: Question : Sorting house interiors (REP) -
basicllsw - 05.11.2014
why u not use number code to check house size
eg. number 1 means house size small num 2=medium num3=big
make 1 record in mysql to save number code
when u load 3dtext u can check if house size = 1 means this house is small if size=2 medium blah blah
ps. sorry for my bad english