Client-side

Client exports

CheckSignal - Checks player's signal, returns boolean.

--Checks player's signal, returns boolean
exports['qs-smartphone']:CheckSignal()

InPhone - Check if you are with the phone open.

--Check if you are with the phone open
exports['qs-smartphone']:InPhone()

canUsePhone - Locks or unlocks the use of the phone.

--Check if you are with the phone open
-- bool : true o false
exports['qs-smartphone']:canUsePhone(bool)

getBettery - Return the baterry.

--Return the baterry
exports['qs-smartphone']:getBattery()

Last updated