StopRecordingPlayerData
Revision as of 07:29, 10 March 2022 by Habi (talk | contribs) (Created page with "{{Welcome| desc=Stops the recording of the actions of the player started using StartRecordingPlayerData| params=<syntaxhighlight lang="lua">(playerid)</syntaxhighlight> <p...")
Description:
Stops the recording of the actions of the player started using StartRecordingPlayerData
Parameters:
(playerid)
playerid : The ID of the player whose actions to be stopped recording.
Return Values:
This function does not return any specific values.
Example
function onPlayerCommand(player,cmd,text)
{
if(cmd=="stoprecord")
{
local success=StopRecordingPlayerData(player.ID);
if(success)
ClientMessage("[Recording]Stopped", player, 255, 255, 255);
else
ClientMessage("Command Failed", player,255, 255, 255);
}
}Related Functions
The following functions may be helpful as they relate to this function in one way or another.