Can you open a broswer site using pawn code?
#1

Well, what im trying to do is when player types in /rules, i show him a dialog for confirmation that our rules thread in our forum will be opened, but i can't find the code to open a website on the user's default browser, is it possible or it really doesn't exist?
Reply
#2

doesn't exist.
Reply
#3

CEF doesn't exist in SA-MP.
Reply
#4

Not possible, what you can do instead is use sql to gather the rules from your database and display them in a dialog.
Reply
#5

Quote:
Originally Posted by xMoBi
Посмотреть сообщение
CEF doesn't exist in SA-MP.
Read the question, he didn't want to open it in the game client, in the users actual browser.



Maybe this should be something to suggest... A text box could be shown, and it could have the text already in it so they can bring up the website by simply copying and pasting manually.
Reply
#6

I think the suggestion should be made to have the output of a server function put into the client for the user to copy out... Just so you have to manually do it, not have a script output links to something as a method to allow malware, or to exploit it in a sense they could execute shit on your PC...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)