StartRecordingAllPlayerData

From NPC for VCMP 0.4 Servers
Revision as of 15:14, 25 January 2024 by 127.0.0.1 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


Description:
Starts recording all players who are online and returns number of players who are put into recording freshly.


Parameters:

(recordtype=3, flags=60, newplayers=false)

recordtype : The type of the recording.
flags : Specify one or more value combined from flags by using 'bitwise OR'. 0 means nothing will be recorded.
newplayers : If true, when new players join the server, recording starts on them automatically.


Return Values:
The total no:of recordings newly started. If some player was already under recording, that player will be ignored and the value returned will not count that player.



Related Functions

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