resetShakeCamera
Client-side
Server-side
Shared
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
This function cancels the shaking effect caused by shakeCamera
Syntax
resetShakeCamera ( )Code Examples
client
This example allows you to trigger huge camera shake effect near you and then cancels the effect after 5 seconds.
addCommandHandler('doShake', function() shakeCamera(100) setTimer(resetShakeCamera, 5000, 1)end)