[Tool/Web/Other] PHP - A map that displays a red square at specified 2d coords
#1

What is this?

This can be used in a web panel to show a red square at given coordinates. I use it to be able to show where a specific car is in game.
This uses a 800x800 .jpg map. I also included a higher resolution of the image in case you want to create a bigger map, change the quality of the image or whatever.

This may not work if your hosting doesn't have GD.. something enabled.

Usage
Code:
<img src="map.php?x=1450&y=2770" />
The above code will display this image (red square in top-right):


Download


http://www.solidfiles.com/d/b3bf15403e/
https://dl.dropboxusercontent.com/u/.../php%20map.zip

http://pastebin.com/9UGrE50R (you can find the .jpg image in the zip above)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)