javascript samp://
#1

(how) is it possible to check if the samp:// protocol is installed, wanna know if the player got samp 0.3b or not...
using javascript, php etc.... ?
Reply
#2

I don't think you can. Just, check if theres a response with samp:// if not then no.
Reply
#3

If you make a link like "Connect now", and then redirect them to a page saying "If SA:MP deosn't start automatically you must download and install SA:MP 0.3b"
Reply
#4

I don't know about that. Just because you can't control what happens when someone uses that url base. If there was a way to control it, then yes you could.
Reply
#5

To call it from javascript:

Code:
location.replace( "samp://127.0.0.1:7777" );
or
Code:
location.href = "samp://127.0.0.1:7777";
EDIT: oops not what you were looking for
Reply
#6

try detecting if they have that GTA weapons font
Reply
#7

Quote:
Originally Posted by ScottCFR
View Post
I don't know about that. Just because you can't control what happens when someone uses that url base. If there was a way to control it, then yes you could.
You can do It, but the message would show either way.
You could show It as a foot-note, like "Thank you for playing on our server. (Note, if It doesn't connect automatically, please make sure you have 0.3b installed).

I mean, just make a link to another page saying that. Not that hard -_-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)