#[Phone] new export not working

1 messages · Page 1 of 1 (latest)

boreal pendant
#

I tried the new export, and it always returns false, and throws this error in the console.

Using the latest version.

#

Product: Phone
Issue: New export always returns false, throws error in the console
When: When phone is being pulled up slightly to show a notification
How to recreate: Try to send a notification to your self, which will make the phone pull up slightly on the screen (screenshot bellow)
Does this happen for everyone: Yes
Attachment: <VIDEO ON HOW TO RE-CREATE/ IMAGE>
Version: latest
Framework: ESX
Has this bug appeared more than once? If so, how often?: Every time the phone pulls up

boreal pendant
#

you're using it wrong.

#

exports['lb-phone']:IsPhoneOnScreen()

#

clientside

#

if it didn't exist, you would get this error:

#

you didnt add :

#

exports['lb-phone']**:**IsPhoneOnScreen()

tight mesa
#

Actually it's always false

lethal bough
green temple
#

You don't need to use the export at all, you always get this error when you open and close it.

abstract torrent
abstract torrent
boreal pendant
#

i'm downloading it rn, and I will check it

#

sorry for being late I woke up an hour ago haha

boreal pendant
#

I already made my HUD go up when the new export is true, so I can test it that way 🙂

abstract torrent
tight mesa
abstract torrent
#

it's supposed to return true if the phone is open though

tight mesa
#

as soon as the phone "pops" up

river owl
#

as described in the #🔨updates

  • New export, exports['lb-phone']IsPhoneOnScreen(), checks if the phone is visible on screen (doesn't need to be fully opened)
tight mesa
#

Yeah that^^

abstract torrent
#

yes?

#

but it's still supposed to return true if it is open, since it is on the screen

tight mesa
#

says false when i get my pre-made message ant he phone opsup
says true when the phone is fully opened (as it should)

abstract torrent
#

This has been fixed for the next update.

boreal pendant
#

And when will the next update be?

tight mesa
boreal pendant
boreal pendant
#

@abstract torrent could you push the hotfix for this? please

river owl
#

Or use this and with the next update it ll fix automatically

boreal pendant
#

sure i don't have nothing better to do than have a fucked up HUD and wait till next update to fuck for 1 hour to update files

river owl
unkempt rune
boreal pendant
#

I have github, but I'm not reverting everything because it's a problem to just push a hot-fix.

unkempt rune
#

I hear ya buddy but if it's critical like it sounds to you, then a quick paste of the old phone folder is a sufficient, work around

tight mesa
unkempt rune
#

Ah gotcha thought he meant the new update

#

Yeah waiting for update then is my preference for now

tight mesa
#

Can confirm works now

boreal pendant
#

I’m not sure if I’ll update the phone, I’m fed up with replacing all files and redoing my changes to framework files really

tight mesa