Props3Foldable Phones
r_props_foldphone LB Phone
Use the foldable phones as the phone in LB Phone: F1 unfolds it, closing the phone folds it.
With LB Phone, opening the phone takes a foldable out and unfolds it in the player's hands. Closing the phone folds it and puts it away. No command needed.
Turn it on and pick the phone
In shared/config.lua:
R.PhoneScript = 'lb-phone'
R.PhoneScriptPhone = { phone = 'fold', colour = 'black' }phone is 'fold', 'duo' or 'flip', and colour is one of that phone's colours in R.Phones.
Hide LB Phone's own phone
In lb-phone/config/config.lua:
Config.PhoneModel = `r_foldphone_hidden`If you use Config.Item.Names, set model = `r_foldphone_hidden` on every entry too.
Restart
Start r_props_foldphone after lb-phone in server.cfg, then restart both.
What the phone does
| In LB Phone | The foldable |
|---|---|
| Phone opens | Comes out and unfolds. The Flip flips open. |
| Phone closes | Folds and goes away. |
| Call | Folds and goes to the ear. |
| In a vehicle | Stays folded. |
While r_props_foldphone runs it gives LB Phone its own phone animations, so the hands match the hinge.
LB Phone's own Config.AnimationStyle comes back when r_props_foldphone stops.