GetStoreURL: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
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= |
Revision as of 00:51, 13 October 2024
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.