Advertisement
Rspect

No Aiming Camera Source Code

Mar 29th, 2025
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.41 KB | None | 0 0
  1. #include "script.h"
  2.  
  3. static void NoAimingCamera() {
  4.  
  5.     Ped playerPed = PLAYER::PLAYER_PED_ID();
  6.  
  7.     if (ENTITY::DOES_ENTITY_EXIST(playerPed))
  8.         PLAYER::_SET_PLAYER_RESET_FLAG(playerPed, 7, true); // PLAYER_RESET_FLAG_DISABLE_AIM_CAMERA
  9. }
  10.  
  11. void main() {
  12.     while (true) {
  13.         NoAimingCamera();
  14.         WAIT(0);
  15.     }
  16. }
  17.  
  18. void ScriptMain() {
  19.     srand(GetTickCount64());
  20.     main();
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement