# 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;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://maxifaxipaxi-1.gitbook.io/mfpscripts-fivem-discontinued/additional/install.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
