SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: nGen.SoNNy
Forum: Tools and Files 06/03/2014, 12:08 PM
Replies: 10
Views: 6,982
Posted By nGen.SoNNy
Re: PHP - A map that displays a red square at specified 2d coords

You don't know anything about sa:mp coordinates then. :)
http://rse-samp.com/map/map.php?x=-1988.43&y=-1988.43
Forum: Tools and Files 06/03/2014, 11:32 AM
Replies: 10
Views: 6,982
Posted By nGen.SoNNy
Re: PHP - A map that displays a red square at specified 2d coords

If anyone wanna use the map_full.jpg just edit this:


$img = imagecreatefromjpeg("map_full.jpg");

$x = $_GET["x"]/3.90;
$y = $_GET["y"]/3.90;

$x = $x + 768;
$y = -($y - 768);
Showing results 1 to 2 of 2

 

All times are GMT. The time now is 04:51 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.