StartRecordingPlayerData: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "{{Welcome| desc=Starts recording player movements to a file which can be reproduced by an NPC| params=<syntaxhighlight lang="lua">(playerid, recordtype, recordname[])</syntaxh...")
(No difference)

Revision as of 05:56, 10 March 2022


Description:
Starts recording player movements to a file which can be reproduced by an NPC


Parameters:

(playerid, recordtype, recordname[])

playerid : The ID of the player whose actions to be recorded
recordtype : The type of the recording.
recordname : The name of the file which will store the data. The file will be saved in npcscripts/recordings with an automatically added .rec extension.


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


Example

Related Functions

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