19.03.2011, 13:26
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:
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
pawn Код:
<meta http-equiv="REFRESH" content="0;url=samp://127.0.0.1:7777">
For clicking a link, just make a hyperlink to samp://yourip