This is a request to CFX to ask if we can please implement the ability to use screenshot-basic with RedM. This is sorely needed for use both for resources such as camera scripts, but also for anticheats etc.
Please, can we do this?
This is a request to CFX to ask if we can please implement the ability to use screenshot-basic with RedM. This is sorely needed for use both for resources such as camera scripts, but also for anticheats etc.
Please, can we do this?
Totally agree with this as I’ve previously used screenshot in a FiveM server aswell and it is an absolutely efficient tool to detect modders (mod menus are usually displayed within the screenshot script). This could be a way for RedM server administrators to detect cheaters aswell.
You can take a photo on client side. Check this code :
function takePhoto()
if not AnimpostfxIsRunning("PhotoMode_Bounds") then
AnimpostfxPlay("PhotoMode_Bounds")
end
N_0x3c8f74e8fe751614()
AnimpostfxPlay("CameraViewfinder")
Citizen.InvokeNative(0xD45547D8396F002A)
Citizen.InvokeNative(0xA15BFFC0A01B34E1)
Citizen.InvokeNative(0xFA91736933AB3D93,true)
Citizen.InvokeNative(0x8B3296278328B5EB,2) -- filter index on saved photo
Citizen.InvokeNative(0x2705D18C11B61046,false)
Citizen.InvokeNative(0xD1031B83AC093BC7,"SetRegionPhotoTakenStat") -- I guess need create_var_string
Citizen.InvokeNative(0x9937FACBBF267244,"SetDistrictPhotoTakenStat")
Citizen.InvokeNative(0x8952E857696B8A79,"SetStatePhotoTakenStat")
Citizen.InvokeNative(0x57639FD876B68A91,0)
LaunchAppWithEntry("social_club_feed", "launch_to_photos")
end
and you can export on client side use this github. (thanks “zer0cool0” for finding this converter)
Folder location : “C:\Users<user>\Saved Games\CitizenFX\RDR2”
This would be a really good addition and it is kind of crucial for helping moderate a server.
yes, its important on serverside