canPhoneBeSeenOnScreen
CAN_PHONE_BE_SEEN_ON_SCREEN0xC4E2813898C97A4BThe GTA V native CAN_PHONE_BE_SEEN_ON_SCREEN of the MOBILE namespace, as LS:MP client scripts call it: the global function canPhoneBeSeenOnScreen, in JavaScript and in Lua.
canPhoneBeSeenOnScreen(): booleancanPhoneBeSeenOnScreen(): booleanUsage
JavaScript
const result = canPhoneBeSeenOnScreen();Lua
local result = canPhoneBeSeenOnScreen()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This one is weird and seems to return a TRUE state regardless of whether the phone is visible on screen or tucked away.
I can confirm the above. This function is hard-coded to always return 1.
Reference
- Namespace
- Mobile phone MOBILE
- In the game
BOOL CAN_PHONE_BE_SEEN_ON_SCREEN()- Hash
0xC4E2813898C97A4B