PauseRecordingPlayback

From NPC for VCMP 0.4 Servers
Revision as of 16:14, 9 March 2022 by 157.46.138.66 (talk) (Created page with "{{Welcome| desc=This function will pause the current .rec file being ran by the NPC. It later can be resumed using ResumeRecordingPlayback| params=<syntaxhighlight lang="l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
This function will pause the current .rec file being ran by the NPC. It later can be resumed using ResumeRecordingPlayback


Parameters:

NoParams


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


Example

function OnPlayerText(player, message)
{
	if(message=="wait")
	{
	SendChat("Ok, i am waiting for you");
        PauseRecordingPlayback();
	}
}