> 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/additional/install.md).

# INSTALL SCRIPTS

Hello! SharedEvents has been in ESX for around 5 years and should no longer be used since we now have way better ways to import the ESX object into your script!

### Download <a href="#import" id="import"></a>

#### Visit <https://keymaster.fivem.net/asset-grants> login and follow the steps described:[​](broken://pages/ah6MEEHHhermKGzUPIup) <a href="#import" id="import"></a>

<figure><img src="/files/hxENC2Mv6bqJ7EIXLNnh" alt=""><figcaption><p>Press - Download -</p></figcaption></figure>

Now put the unsziped file into your resource-folder.

<figure><img src="/files/DkzTN7Vqojfa99z7hJ1W" alt=""><figcaption><p>Unzip the resourcename.zip and make sure its a folder!</p></figcaption></figure>

*\[ADDITIONAL] Import the sql-file if needed into your database!*

After this add the resource to your server.cfg (located next to the resource-folder)

```
## Native UIs
start NativeUI
#start NativeUILua_Reloaded # if youre using newest one

## MFPSCRIPTS
start mfp_phonebattery # or whatever the resource is called
```

Now make sure to restart the server bevor try out the script (the encryption need this restart) \[here is txadmin used for it]

<figure><img src="/files/qv66PDv5sgcr59yIjI17" alt=""><figcaption><p>Press - RESTART - to reboot gameserver</p></figcaption></figure>

Thats it!&#x20;
