PauseRecordingPlayback: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(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...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
{
{
SendChat("Ok, i am waiting for you");
SendChat("Ok, i am waiting for you");
        PauseRecordingPlayback();
PauseRecordingPlayback();
}
}
}
}
</source>
</source>|
relfuncs=*[[ResumeRecordingPlayback]]
}}
}}

Latest revision as of 16:50, 9 March 2022


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();
	}
}

Related Functions

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