OnServerShareTick: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;"> This function was added in v1.6 beta 4 patch2 and will not work on previous versions. </poem> {{Welcome| desc=This function is periodically called when server shares tickcount with npc.| params=<syntaxhighlight lang="lua">(tickcount)</syntaxhighlight>| example=<source lang="lua"> function OnServerShareTick(tickcount) { } </source>| relfuncs=*GetTickCount }}")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;">
<poem style="border: 2px solid #d6d2c5; background-color: #f9f4e6; padding: 1em;">
This function was added in v1.6 beta 4 patch2 and will not work on previous versions.
This function was added in v1.6 beta 5 and will not work on previous versions.
</poem>
<poem style="border: 2px solid #ffa500; background-color: #f9f4e6; padding: 1em;">
On server version 0.4.7.1, this callback may not be available.
</poem>
</poem>
{{Welcome|
{{Welcome|

Latest revision as of 11:17, 28 September 2024

This function was added in v1.6 beta 5 and will not work on previous versions.

On server version 0.4.7.1, this callback may not be available.


Description:
This function is periodically called when server shares tickcount with npc.


Parameters:

(tickcount)


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


Example

function OnServerShareTick(tickcount)
{
    
}

Related Functions

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