GetStoreURL: Difference between revisions

From NPC for VCMP 0.4 Servers
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
Line 1: Line 1:
{{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)

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:
This function does not return any specific values.


Example

function OnNPCConnect(id)
{
print(GetStoreURL());
}

Output: http://18.132.205.100/store/ 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.

Related Functions

The following functions may be helpful as they relate to this function in one way or another.