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



address - alexanderjb918 - 24.02.2016

How can i make a house address system


Re: address - puala123 - 24.02.2016

You cant, from the knowledge i got, if you wanna do this, add to every house an address.. another method?


Re: address - klap - 24.02.2016

yes you can

just get a super array with all locations , x and y of them...

and then do a function like getStreetName(x,y);
that return something like "Vinewood"

and then get the House ID after

like

100 Vinewood

there is your simple adress system


Re: address - xEF - 24.02.2016

Just assign name variables to your house system, use your brain and logic, that's easy if you think.