local x,y=GetPlayerWorldMapPos(id);
coordinates on a worldmap
Parameters[]
Arguments[]
number:
id -- WorldMapId
Returns[]
1. number:
x
2. number:
y
Example code[]
this returns the coordinates on the current worldmap:
GetPlayerWorldMapPos();
is the same as:
GetPlayerWorldMapPos(GetCurrentWorldMapID());
this returns the coordinates on the whole worldmap:
GetPlayerWorldMapPos(9999);