GetStoreURL: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Welcome|desc=Gets the URL of the store contents of server, if server has configured for http-downloads.| params=<source>NoParams</source| example=<source> function OnNPCConnect(id) { print(GetStoreURL()); }</source> Output: <source inline>http://18.132.205.100/store/</source> retvals=Returns the Store-URL configured by server. Returns empty string if server has not configured http-downloads. For rel006, rel004 servers, it always returns empty string.| relfuncs= *GetS...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> | |||
This function was added in v1.8 beta 4 and will not work on previous versions. | |||
</poem> | |||
{{Welcome|desc=Gets the URL of the store contents of server, if server has configured for http-downloads.| | {{Welcome|desc=Gets the URL of the store contents of server, if server has configured for http-downloads.| | ||
params=<source>NoParams</source| | params=<source>NoParams</source>| | ||
example=<source> | example=<source> | ||
function OnNPCConnect(id) | function OnNPCConnect(id) | ||
{ | { | ||
print(GetStoreURL()); | print(GetStoreURL()); | ||
}</source> | }</source> | ||
Output: | Output: | ||
<source inline>http://18.132.205.100/store/</source> | <source inline>http://18.132.205.100/store/</source>| | ||
retvals=Returns the Store-URL configured by server. Returns empty string if server has not configured http-downloads. For rel006, rel004 servers, it always returns empty string.| | retvals=Returns the Store-URL configured by server. Returns empty string if server has not configured http-downloads. For rel006, rel004 servers, it always returns empty string.| | ||
relfuncs= | relfuncs= |
Latest revision as of 00:53, 13 October 2024
This function was added in v1.8 beta 4 and will not work on previous versions.
Description:
Gets the URL of the store contents of server, if server has configured for http-downloads.
Parameters:
NoParams
Return Values:
Returns the Store-URL configured by server. Returns empty string if server has not configured http-downloads. For rel006, rel004 servers, it always returns empty string.
Example
function OnNPCConnect(id) { print(GetStoreURL()); }
Output:
http://18.132.205.100/store/
Related Functions
The following functions may be helpful as they relate to this function in one way or another.