mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Merge branch 'master' of https://github.com/project-error/new-phone-who-dis
This commit is contained in:
commit
b5a4c518d5
1 file changed
+1
-1
@@ -45,6 +45,7 @@ const displayHelperText = () => {
|
||||
RegisterNuiCallbackType(events.CAMERA_TAKE_PHOTO);
|
||||
on(`__cfx_nui:${events.CAMERA_TAKE_PHOTO}`, async (data: any, cb: Function) => {
|
||||
cb();
|
||||
let frontCam = false;
|
||||
// Create Phone Prop
|
||||
CreateMobilePhone(1);
|
||||
// Active Camera Change
|
||||
@@ -58,7 +59,6 @@ on(`__cfx_nui:${events.CAMERA_TAKE_PHOTO}`, async (data: any, cb: Function) => {
|
||||
|
||||
while (inCameraMode) {
|
||||
await Delay(0);
|
||||
let frontCam = false;
|
||||
displayHelperText();
|
||||
if (IsControlJustReleased(1, 27)) {
|
||||
// selfie
|
||||
|
||||
Reference in new issue
Block a user