StopRecordingPlayback: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:
desc=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.|
desc=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.|
params=<syntaxhighlight>The function has no paramters.</syntaxhighlight>|
params=<syntaxhighlight>The function has no paramters.</syntaxhighlight>|
retvals=This function does not return any specific values.|
retvals=null if the playback was not running, true otherwise.|
example=<source lang="lua">
example=<source lang="lua">
public OnNPCExitVehicle()
public OnNPCExitVehicle()

Revision as of 19:09, 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();
}