Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "script.h"
- static void StopCamShaking()
- {
- CAM::STOP_GAMEPLAY_CAM_SHAKING(true); // May prevent cam shaking in more scenarios.
- const char* shakeTypes[] =
- {
- "DRUNK_SHAKE",
- "REINFORCED_LASSO_STRUGGLE_SHAKE",
- "CORRECTOR_SHAKE",
- "MINIGAME_BOUNTY_SHAKE",
- "HAND_SHAKE",
- "MINIGAME_TRAIN_SHAKE"
- };
- for (const char* shakeTypes : shakeTypes)
- {
- CAM::_STOP_GAMEPLAY_CAM_SHAKING_WITH_NAME(shakeTypes, true);
- }
- }
- void main()
- {
- while (true)
- {
- StopCamShaking();
- WAIT(0);
- }
- }
- void ScriptMain()
- {
- srand(GetTickCount64());
- main();
- }
Advertisement
Add Comment
Please, Sign In to add comment