StopRecordingPlayback: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 8: Line 8:
     StopRecordingPlayback();
     StopRecordingPlayback();
}
}
</source>
</source>|
relfuncs=*[[StartRecordingPlayback]]
*[[PauseRecordingPlayback]]
*[[ResumeRecordingPlayback]]
}}
}}

Latest revision as of 19:10, 26 November 2022


Description:
This will stop the current .rec file which is being ran by the NPC. The NPC will stay idle for sometime until some command is given.


Parameters:

The function has no paramters.


Return Values:
null if the playback was not running, true otherwise.


Example

public OnNPCExitVehicle()
{
    StopRecordingPlayback();
}

Related Functions

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