InGame Cords -> Onlinemap Cords
#1

Hi,
im trying to create a onlinemap (to show the houses (X,Y,Z Ingame Coords saved in the Database) and other Stuff on it) for our User Control Panel. There the Users should be able to change their Spawn (House, Airport ...). I searched the forum, but didnt found anything relating to my problem. I just wanted to know how to converst Ingame Coords to Coords for a onlinemap. I need them to create divs over my map:
Код:
<div style="left: COORDS; top: COORDS;" class="mapentry"><a href="#">Change Spawn to Here</a></div>
I tried different calculations to convert the ingame coords but i failed. How to do it?

Exmaple: I would like to show "2025.1089,80.6482,28.2293" on my map (800px*800px). Could anyone help me with this?


EDIT: And i already found some onlinemaps and looked at their code. I tried it with my map, but it didnt work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)