> For the complete documentation index, see [llms.txt](https://maxifaxipaxi-1.gitbook.io/mfpscripts-fivem-discontinued/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maxifaxipaxi-1.gitbook.io/mfpscripts-fivem-discontinued/scripts/phonebattery.md).

# PhoneBattery

***This is the customization for multiple scripts from cell phones if it does not go anyway.***

{% embed url="<https://mfp.tebex.io>" %}

{% embed url="<https://forum.cfx.re/t/esx-mfp-phonebattery-phone-battery-for-every-phone-script-nativeui/5071772/3>" %}

<details>

<summary>MAKE SURE TO USE ESX IN THE FILE!</summary>

You are not sure? Make sure to have this in your client-file:

```lua
ESX = nil
Citizen.CreateThread(function()
	while ESX == nil do
		TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
		Citizen.Wait(0)
	end
end)
OR NEWER (newest version of esx!):

ESX = nil

TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
```

</details>
