StartRecordingPlayerData

From NPC for VCMP 0.4 Servers
Revision as of 05:56, 10 March 2022 by 157.46.155.104 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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.