Panel.OpenURL
From GMod Wiki
| Function | |
| Syntax | Panel:OpenURL( String URL ) |
| Description: | |
| Instructs an HTML control to parse an online HTML script from link. | |
| Returns: | nil |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Panel.OpenURL]Panel.OpenURL [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Opens an url. |
|---|---|
| Used on | |
| Code | Panel:OpenURL("www.google.com") |
| Output | N/A |
Additional Notes
- See P.HTML for more information on the HTML control.
- Returning true in that function will prevent the HTML control to load the page.