OnStoreDownloadComplete

From NPC for VCMP 0.4 Servers
Revision as of 01:06, 13 October 2024 by Habi (talk | contribs) (Created page with "<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=This function is called after OnNPCConnect when *npc finishes downloading necessary store files *all store-files were already up to date *npc was not called with options to download store| params=<source>NoParams</source>| example=<source lang=lua> function OnStoreDownloadComplete() { p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function was added in v1.8 beta 4 and will not work on previous versions.


Description:
This function is called after OnNPCConnect when

  • npc finishes downloading necessary store files
  • all store-files were already up to date
  • npc was not called with options to download store


Parameters:

NoParams


Return Values:
This function does not return any specific values.


Example

function OnStoreDownloadComplete()
{
	print("Store files has been downloaded successfully\n");
}

Related Functions

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