====== PluginGetUpdateOverlayFreq plugin export ====== If you'd like to change default overlay update rate (currently 10fps) then you need to export this method. ====Syntax==== <code> PLUGIN_EXPORT DWORD PluginGetUpdateOverlayFreq( ); </code> ====Return value==== Plugin must return desired overlay refresh rate (range 1-30). PlayClaw will call this export after updating overlays variables. ====Remarks==== Set update rate as low as possible because each update takes a bit of CPU/GPU time. ====Sample code==== <code> PLUGIN_EXPORT DWORD PluginGetUpdateOverlayFreq() { // return 15; return PC_GetPluginVarInt(m_dwPluginID, VAR_WEBCAM_FPS); // VAR_WEBCAM_FPS - our own variable } </code> ====See also==== [[plugin_sdk:exports:PluginUpdateVars|PluginUpdateVars]]\\ Other [[plugin_sdk:exports:|export functions]]