HTML to SAMP.EXE - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: HTML to SAMP.EXE (
/showthread.php?tid=242106)
HTML to SAMP.EXE -
DataScript - 19.03.2011
Main Question:
Can Someone Give me the HTML Code, So When someone Click (Example)Play.SA-MP.com, it will launches SA-MP with LS-RP Server or whatever.. I need it for my Server
Secondary Question
So when thay Acces Play.SA-MP.Com it Will Automatically Opens LS-RP Server
I Appricate your Reply and Assist
Re: HTML to SAMP.EXE -
legodude - 19.03.2011
set the dns of your server to your server ip.
Re: HTML to SAMP.EXE -
dice7 - 19.03.2011
samp://IP:PORT
Re: HTML to SAMP.EXE -
X3nZ - 19.03.2011
Wrap a hyperlink around a text.
Like right "Click me" then high light Click me, insert a hyperlink to it, then put this as the URL - samp://<your ip and port here>
Example
Connect to our server
Connect!
Re: HTML to SAMP.EXE -
JaTochNietDan - 19.03.2011
I assume you're talking about them visiting a webpage, and then the webpage launches SA-MP? Well, then all you have to do is make a HTML page to re-direct the person to the SA-MP protocol with your server IP and port, for example:
pawn Код:
<meta http-equiv="REFRESH" content="0;url=samp://127.0.0.1:7777">
This will re-direct the person as soon as the page is loaded. Wether it works or not depends on the client, some people will not have it set up so the browser knows what the samp:// protocol is for.
For clicking a link, just make a hyperlink to samp://yourip