Ironia Official 0 Posted September 30, 2020 Share Posted September 30, 2020 Hi, i want to use shake cam in a simple lua script but the code doesn't work. Please someone can help me? local shakecam = {} function noclip.tick() local player = PLAYER.PLAYER_PED_ID() local playr = PLAYER.GET_PLAYER_PED(player) if (PED.IS_PED_JUMPING(player)) then CAM.Shake_Gameplay_Cam("FAMILY5_DRUG_TRIP_SHAKE", 1.0) end end return shakecam Link to post Share on other sites
Ironia Official 0 Posted September 30, 2020 Author Share Posted September 30, 2020 Doesn't work also this local camera = CAM.GET_RENDERING_CAM() CAM.SHAKE_CAM(camera, "FAMILY5_DRUG_TRIP_SHAKE", 1.0) Link to post Share on other sites