HTML to SAMP.EXE
#1

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
Reply
#2

set the dns of your server to your server ip.
Reply
#3

samp://IP:PORT
Reply
#4

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!
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)