Map Sprite/TextDraw PlayerOnMap
#7

then you'd need a bunch of small clickable textdraws over the top which will result in less accuracy, but you could order them in a 2d array

clickableTDs[x][y]

say the map is 3000 wide 3000 high, the textdraws are 100 width and height, that'd need 30 clickable textdraws on the x and 30 on the y

then when they click on one the x and y of the actual world would be
x = clickableTDs[x] * 30;
y = clickableTDs[y] * 30;

the reason it's 30 is because 3000 / 100 is 30, if the textdraws were 50 width and height it'd be 3000 / 59 = 60
Reply


Messages In This Thread
Map Sprite/TextDraw PlayerOnMap - by Pillhead2007 - 30.08.2014, 11:41
Re: Map Sprite/TextDraw PlayerOnMap - by Pillhead2007 - 01.09.2014, 21:42
Re: Map Sprite/TextDraw PlayerOnMap - by LeroyII - 01.09.2014, 23:04
Re: Map Sprite/TextDraw PlayerOnMap - by Pillhead2007 - 02.09.2014, 00:57
Re: Map Sprite/TextDraw PlayerOnMap - by cessil - 02.09.2014, 01:27
Re: Map Sprite/TextDraw PlayerOnMap - by Pillhead2007 - 02.09.2014, 11:20
Re: Map Sprite/TextDraw PlayerOnMap - by cessil - 03.09.2014, 03:47
Re: Map Sprite/TextDraw PlayerOnMap - by Pillhead2007 - 03.09.2014, 22:16

Forum Jump:


Users browsing this thread: 1 Guest(s)