mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
feat(camera): disable camera mode
This commit is contained in:
1 parent
5dcb654516
commit
96aa7107ba
2 files changed
+14
-6
No files matched your search
@@ -76,11 +76,11 @@ RegisterNuiCB<void>(PhotoEvents.TAKE_PHOTO, async (_, cb) => {
|
||||
const handleTakePicture = async () => {
|
||||
// Wait a frame so we don't draw the display helper text
|
||||
await Delay(0);
|
||||
const resp = await takePhoto();
|
||||
await Delay(200);
|
||||
DestroyMobilePhone();
|
||||
CellCamActivate(false, false);
|
||||
openPhoneTemp();
|
||||
const resp = await takePhoto();
|
||||
await Delay(200);
|
||||
inCameraMode = false;
|
||||
ClearHelp(true);
|
||||
|
||||
|
||||
Reference in new issue
Block a user