Gta Map - 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: Gta Map (
/showthread.php?tid=566003)
Gta Map -
TaylorShade - 02.03.2015
How can i make something like this?
http://dw-game.info/mapa/index.php
I know about
SanMap but do how can i make whenever i create house on my server that is shows on my servers website map?
Re : Gta Map -
Golimad - 02.03.2015
That is definitely not easy to make.
The solution for this is to do it manually, every time you add houses just add them on the tool.
Re: Gta Map -
TaylorShade - 03.03.2015
It can be done dynamicly.. If i add it manualy i need to check is house on sale or if it has owner and lots of other stuff.. also update it.. so i need this dynamic..
If someone knows helppppp
AW: Gta Map -
Kaliber - 03.03.2015
You must work with MySQL or SQLight.
You save there the position of the house and all other information.
Then with php you can read the database out and can display an image on the screen (for this you need the X and Y coords from the database).
To place the image use e.g:
PHP код:
margin-top: 418.935px; //X - coord
margin-left: 2662.950px; //Y - coord
Its very simple
Just watch at the source-code from the side you postet, u can just copy the background-image and place it like them..and then just add your images on the right position.
GreekZ