r_props_foldphone Common Issues
Fixes for the usual problems with R_Props Foldable Phones.
Using the item does nothing
- ox_inventory: check that the item has
export = 'r_props_foldphone.useItem'(it is inassets/ox_inventory_items.lua). - Qbox, QBCore, ESX: start
r_props_foldphoneafter your framework inserver.cfg, then restart it. - Check that the item name matches a name in
R.Items.
The item has no image
Copy assets/images/*.png into your inventory's image folder. The file name is the item name.
Y doesn't fold the phone
The key is a key binding, so a player who bound it before keeps their own key. They can change it in Settings, Key Bindings, FiveM. Also check that a phone is out: Y only works while one is in the hand.
The phone won't unfold in a car
That is R.UnfoldWhileDriving = false: the driver can only hold it closed. Set it to true to allow it.
Passengers can always unfold.
/foldphone does nothing
R.Command is false in shared/config.lua, so only the items take the phone out.
The phone sits wrong in the hand
Change hold for that phone in R.Phones. For the emotes, change PropPlacement in the emote line.
The phone goes away by itself
The phone is put away when the player dies, draws a weapon, is cuffed, swims, falls, ragdolls, climbs, parachutes or starts a scenario, so it never fights those animations. Take it out again afterwards.
There is no phone UI
The resource is the phone prop with its animations. It does not replace your phone script's UI.
An old model shows after an update
Rejoin the server. The game keeps a loaded model until you reconnect.
Two phones in the hand with LB Phone
LB Phone still shows its own phone. Set Config.PhoneModel = `r_foldphone_hidden` in lb-phone/config/config.lua
(and the model of every Config.Item.Names entry), then restart lb-phone.