Rspect

RemoveScreenShaking.asi Source Code

May 1st, 2025 (edited)
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.67 KB | Source Code | 0 0
  1. #include "script.h"
  2.  
  3. static void StopCamShaking()
  4. {
  5.  
  6.     CAM::STOP_GAMEPLAY_CAM_SHAKING(true); // May prevent cam shaking in more scenarios.
  7.  
  8.     const char* shakeTypes[] =
  9.     {
  10.         "DRUNK_SHAKE",
  11.         "REINFORCED_LASSO_STRUGGLE_SHAKE",
  12.         "CORRECTOR_SHAKE",
  13.         "MINIGAME_BOUNTY_SHAKE",
  14.         "HAND_SHAKE",
  15.         "MINIGAME_TRAIN_SHAKE"
  16.     };
  17.  
  18.     for (const char* shakeTypes : shakeTypes)
  19.     {
  20.  
  21.         CAM::_STOP_GAMEPLAY_CAM_SHAKING_WITH_NAME(shakeTypes, true);
  22.     }
  23. }
  24.  
  25. void main()
  26. {
  27.     while (true)
  28.     {
  29.         StopCamShaking();
  30.         WAIT(0);
  31.     }
  32. }
  33.  
  34. void ScriptMain()
  35. {
  36.     srand(GetTickCount64());
  37.     main();
  38. }
Advertisement
Add Comment
Please, Sign In to add comment