Posts: 166
Threads: 39
Joined: May 2016
Reputation:
0
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?
Posts: 102
Threads: 2
Joined: Jul 2017
CEF doesn't exist in SA-MP.
Posts: 1,168
Threads: 60
Joined: Dec 2016
Reputation:
0
Not possible, what you can do instead is use sql to gather the rules from your database and display them in a dialog.
Posts: 6,242
Threads: 8
Joined: Jun 2008
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.
Posts: 6,242
Threads: 8
Joined: Jun 2008
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...