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
Line 9: Line 9:
{
{
SendChat("Ok, i am waiting for you");
SendChat("Ok, i am waiting for you");
        PauseRecordingPlayback();
PauseRecordingPlayback();
}
}
}
}
</source>
</source>
}}
}}

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