Skip to content

Commit

Permalink
Update Installation.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adib-yg authored Nov 26, 2024
1 parent 6e40f67 commit d74397b
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions docs/server/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you are using the FCNPC plugin, please stop for now because this plugin does

Download the latest version of open.mp server files from [https://github.com/openmultiplayer/open.mp/releases](https://github.com/openmultiplayer/open.mp/releases/latest)

![](https://github.com/adib-yg/openmp-server-installation/blob/main/screenshots/Screenshot%20(1).png)
![](https://raw.githubusercontent.com/adib-yg/openmp-server-installation/refs/heads/main/screenshots/Screenshot%20(1).png)

- `open.mp-win-x86.zip` **Windows** Server
- `open.mp-linux-x86.tar.gz` **Linux** Server
Expand All @@ -20,7 +20,7 @@ Download the latest version of open.mp server files from [https://github.com/ope

Extract the `.zip` or `.tar.gz` archive contents on your disk

![](https://github.com/adib-yg/openmp-server-installation/blob/main/screenshots/Screenshot%20(3).png)
![](https://raw.githubusercontent.com/adib-yg/openmp-server-installation/refs/heads/main/screenshots/Screenshot%20(3).png)

:::note

Expand Down Expand Up @@ -80,7 +80,7 @@ Put the following plugins in the **../components** folder, not in the **../plugi

Open the qawno IDE program located at **Server/qawno/qawno.exe**

![](https://github.com/adib-yg/openmp-server-installation/blob/main/screenshots/Screenshot%20(5).png)
![](https://raw.githubusercontent.com/adib-yg/openmp-server-installation/refs/heads/main/screenshots/Screenshot%20(5).png)

## Step 7

Expand All @@ -102,23 +102,17 @@ replace with

then press **F5** to compile.

:::note

If you are get error or warning, see [Compiler errors and warnings](#compiler-errors-and-warnings)

:::

## Step 9

Open **[config.json](https://www.open.mp/docs/server/config.json)** file with Notepad or other IDEs

![](https://github.com/adib-yg/openmp-server-installation/blob/main/screenshots/Screenshot%20(9).png)
![](https://raw.githubusercontent.com/adib-yg/openmp-server-installation/refs/heads/main/screenshots/Screenshot%20(9).png)

## Step 10

Edit **config.json**

![](https://github.com/adib-yg/openmp-server-installation/blob/main/screenshots/Screenshot%20(11).png)
![](https://raw.githubusercontent.com/adib-yg/openmp-server-installation/refs/heads/main/screenshots/Screenshot%20(11).png)

Find

Expand Down Expand Up @@ -211,7 +205,7 @@ Run the server

Open the `omp-server.exe` program

![](https://github.com/adib-yg/openmp-server-installation/blob/main/screenshots/Screenshot%20(10).png)
![](https://raw.githubusercontent.com/adib-yg/openmp-server-installation/refs/heads/main/screenshots/Screenshot%20(10).png)

- **Linux**

Expand All @@ -220,6 +214,7 @@ Open the `omp-server.exe` program
```

## Compiler errors and warnings

- **warning 213: tag mismatch: expected tag "?", but found none ("_")**:

For example:
Expand Down Expand Up @@ -256,13 +251,15 @@ But you can ignore it for now:
// Use #pragma warning disable 213
```

<br />

<hr />

- **warning 234: function is deprecated (symbol "TextDrawColor") Use `TextDrawColour**

Press **CTRL + F** in qawno and replace all `TextDrawColor` to `TextDrawColour`

![](https://github.com/adib-yg/openmp-server-installation/blob/main/screenshots/Screenshot%20(7).png)
![](https://raw.githubusercontent.com/adib-yg/openmp-server-installation/refs/heads/main/screenshots/Screenshot%20(7).png)

<br />

Expand All @@ -273,6 +270,8 @@ Or if you prefer you can use the mixed spellings:
#include <open.mp>
```

<br />

<hr />

- **warning 234: function is deprecated (symbol "GetPlayerPoolSize") This function is fundamentally broken.**
Expand Down Expand Up @@ -304,6 +303,8 @@ public MyFunction(string[])
public MyFunction(const string[])
```

<br />

<hr />

- **error 025: function heading differs from prototype**
Expand All @@ -324,6 +325,8 @@ public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Fl
public OnPlayerEditAttachedObject(playerid, EDIT_RESPONSE:response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)
```

<br />

<hr />

:::note
Expand Down Expand Up @@ -351,6 +354,8 @@ Already included in `/qawno/upgrader` folder.

**This warning will not affect the behavior of the server.**

<br />

<hr />

```
Expand Down

0 comments on commit d74397b

Please sign in to comment.