SA-MP Forums Archive
[Tool/Web/Other] Checkpoint HTML file locator - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files (https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread: [Tool/Web/Other] Checkpoint HTML file locator (/showthread.php?tid=641428)



Checkpoint HTML file locator - Meller - 15.09.2017

Title pretty much explains it, press somewhere on the HTML file's radar and you'll have the coordinates set for you.. was gonna use this for a mini games server but meh, gave up after 3 hours ;d


View a DEMO of it; http://lexus-gaming.pro/lexus/checkpoints.php

https://github.com/MellerSAMP/SACPC
https://github.com/MellerSAMP/SACPC/releases


hfhf


Re: Checkpoint HTML file locator - cuber - 15.09.2017

Very useful.

P.S: You used this while you were making this gamemode on your stream. Nice job.


Re: Checkpoint HTML file locator - Meller - 15.09.2017

Quote:
Originally Posted by cuber
View Post
Very useful.

P.S: I was watching your stream while you we're making the gamemode, also saw you using this.
love 2 u veri much




Re: Checkpoint HTML file locator - cuber - 15.09.2017

Quote:
Originally Posted by Meller
View Post
love 2 u veri much



EDIT: removed the original reply lol
PS. Meller exposed


Re: Checkpoint HTML file locator - Meller - 16.09.2017

Yeah no, I calculated this all wrong, meant to put -3000 and minimize the image in the javascript by 50%, easily to reconfigure though.


Re: Checkpoint HTML file locator - Kaperstone - 16.09.2017

why the array starts with 1 and not 0 ?
Code:
MapAndreas_FindZ_For2DCoord(-574, -305, GameRaceCP[1][cpZ]);
GameRaceCP[1][cpX] = -574;
GameRaceCP[1][cpY] = -305;
And can you add a zoom in and out?


Re: Checkpoint HTML file locator - Meller - 16.09.2017

Quote:
Originally Posted by Kaperstone
View Post
why the array starts with 1 and not 0 ?
Code:
MapAndreas_FindZ_For2DCoord(-574, -305, GameRaceCP[1][cpZ]);
GameRaceCP[1][cpX] = -574;
GameRaceCP[1][cpY] = -305;
And can you add a zoom in and out?
- Fixed calculations of the coordinates.
- Fixed the next ID variable to add /AFTER/ extracting the coordinates to the client.

New code; https://pastebin.com/0GGMxk98

enjoy sur


Re: Checkpoint HTML file locator - Kaperstone - 16.09.2017

If you could upload the code to https://github.com/MellerSAMP?tab=repositories so we don't have to search for the latest pastebin, would be great


Re: Checkpoint HTML file locator - Meller - 16.09.2017

Quote:
Originally Posted by Kaperstone
View Post
If you could upload the code to https://github.com/MellerSAMP?tab=repositories so we don't have to search for the latest pastebin, would be great
Done.
https://github.com/MellerSAMP/SACPC
https://github.com/MellerSAMP/SACPC/releases


Re: Checkpoint HTML file locator - Kaperstone - 16.09.2017

Can you add a mode to give only coordinates?
1435.31, 1353.43, 54.54


Re: Checkpoint HTML file locator - Meller - 16.09.2017

Quote:
Originally Posted by Kaperstone
View Post
Can you add a mode to give only coordinates?
1435.31, 1353.43, 54.54
There's coordinates showing in the uper left corner as well.


Re: Checkpoint HTML file locator - Kaperstone - 16.09.2017

If you click on the textareait places the red dots in them.


Re: Checkpoint HTML file locator - Deadpoop - 23.09.2017

useless saving coordinates in game is way better!
1 star


Re: Checkpoint HTML file locator - aoky - 02.10.2017



As you always try bring people down when they release something. Here's my opinion!