> 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="https://2516676114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSY8sJ1nJUQmkbcCAJaSj%2Fuploads%2F1yyhMghswREao46maEaq%2Fimage.png?alt=media&amp;token=70cd299e-0008-476c-909a-dbd8675b87ee" alt=""><figcaption><p>Press - Download -</p></figcaption></figure>

Now put the unsziped file into your resource-folder.

<figure><img src="https://2516676114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSY8sJ1nJUQmkbcCAJaSj%2Fuploads%2FJBZdMOWEycRJnnhPRHnF%2Fimage.png?alt=media&amp;token=0110465d-94ca-4d30-a0c2-7941c7556bef" 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="https://2516676114-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSY8sJ1nJUQmkbcCAJaSj%2Fuploads%2FwRnwHrxOufNbbook6PMj%2Fimage.png?alt=media&amp;token=06a68034-a250-459e-af3f-bc2c45578d83" alt=""><figcaption><p>Press - RESTART - to reboot gameserver</p></figcaption></figure>

Thats it!&#x20;
