Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/docs/awesome.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Now you can make your scripts in languages other than pawn without any plugin us
- **[MapFix](https://github.com/NexiusTailer/MapFix)** - Texture bug fixes of the GTA San Andreas map.
- **[SA:MP Animbrowse](https://github.com/Southclaws/samp-animbrowse)** - Animation browser tool for SA:MP.
- **[IsPlayerUsingAndroid](https://github.com/Fairuz-Afdhal/IsPlayerUsingAndroid)** - Checks if a player is an android user.
- **[TextDraw-Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - A TextDraw editor which have some rich features.
- **[Nickk's TextDraw Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - A TextDraw editor which have some rich features.
- **[Nexor's Textdraw Editor](https://github.com/nexquery/samp-textdraw-editor)** - This editor offers you many features such as grouping, undeleting texts, undoing changes, importing text drawings from a file.
- **[Ultimate Creator](https://github.com/NexiusTailer/Ultimate-Creator)** - Advanced map editor with a lot of features.
- **[Fusez's Map Editor](https://github.com/fusez/Map-Editor-V3)** - An In-Game map editor for SA:MP.
Expand Down
2 changes: 1 addition & 1 deletion frontend/docs/scripting/callbacks/OnNPCPlaybackEnd.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The following functions might be useful, as they're related to this callback in
- [NPC_StartPlayback](../functions/NPC_StartPlayback): Start NPC playback of a recording
- [NPC_StopPlayback](../functions/NPC_StopPlayback): Stop NPC playback
- [NPC_PausePlayback](../functions/NPC_PausePlayback): Pause/unpause NPC playback
- [NPC_PausePlayback](../functions/NPC_PausePlayback): Pause/resume NPC playback
- [NPC_IsPlayingPlayback](../functions/NPC_IsPlayingPlayback): Check if NPC is playing a recording
## Related Callbacks
Expand Down
2 changes: 1 addition & 1 deletion frontend/docs/scripting/callbacks/OnNPCPlaybackStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The following functions might be useful, as they're related to this callback in
- [NPC_StartPlayback](../functions/NPC_StartPlayback): Start NPC playback of a recording
- [NPC_StopPlayback](../functions/NPC_StopPlayback): Stop NPC playback
- [NPC_PausePlayback](../functions/NPC_PausePlayback): Pause/unpause NPC playback
- [NPC_PausePlayback](../functions/NPC_PausePlayback): Pause/resume NPC playback
- [NPC_IsPlayingPlayback](../functions/NPC_IsPlayingPlayback): Check if NPC is playing a recording
## Related Callbacks
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public OnPlayerCommandText(playerid, cmdtext[])
## Related Functions
- [NPC_PausePlayback](NPC_PausePlayback): Pause/unpause playback
- [NPC_PausePlayback](NPC_PausePlayback): Pause/resume playback
- [NPC_IsPlayingPlayback](NPC_IsPlayingPlayback): Check if playing
- [NPC_StartPlayback](NPC_StartPlayback): Start playback
- [NPC_StopPlayback](NPC_StopPlayback): Stop playback
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public OnPlayerCommandText(playerid, cmdtext[])
- [NPC_StartPlayback](NPC_StartPlayback): Start playing recording
- [NPC_StopPlayback](NPC_StopPlayback): Stop playback
- [NPC_PausePlayback](NPC_PausePlayback): Pause/unpause playback
- [NPC_PausePlayback](NPC_PausePlayback): Pause/resume playback
- [NPC_IsPlaybackPaused](NPC_IsPlaybackPaused): Check if paused
## Related Callbacks
Expand Down
6 changes: 3 additions & 3 deletions frontend/docs/scripting/functions/NPC_PausePlayback.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
title: NPC_PausePlayback
sidebar_label: NPC_PausePlayback
description: Pauses or unpauses an NPC's recording playback.
description: Pauses or resumes an NPC's recording playback.
tags: ["npc", "recording", "playback"]
---

<VersionWarn version='omp v1.5.8.3079' />

## Description

Pauses or unpauses an NPC's recording playback.
Pauses or resumes an NPC's recording playback.

| Name | Description |
| ----- | ------------------------------------------ |
| npcid | The ID of the NPC |
| pause | Whether to pause (true) or unpause (false) |
| pause | Whether to pause (true) or resume (false) |

## Returns

Expand Down
2 changes: 1 addition & 1 deletion frontend/docs/scripting/functions/NPC_StartPlayback.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public OnPlayerCommandText(playerid, cmdtext[])

- [NPC_StartPlaybackEx](NPC_StartPlaybackEx): Start playback with recording ID
- [NPC_StopPlayback](NPC_StopPlayback): Stop playback
- [NPC_PausePlayback](NPC_PausePlayback): Pause/unpause playback
- [NPC_PausePlayback](NPC_PausePlayback): Pause/resume playback
- [NPC_LoadRecord](NPC_LoadRecord): Pre-load a recording file

## Related Callbacks
Expand Down
6 changes: 6 additions & 0 deletions frontend/docs/scripting/functions/PauseRecordingPlayback.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ description: This will pause playing back the recording.
tags: []
---

:::warning

This function is deprecated. Please see [NPC_PausePlayback](NPC_PausePlayback).

:::

## Description

This will pause playing back the recording.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ description: This will resume the paused recording.
tags: []
---

:::warning

This function is deprecated. Please see [NPC_PausePlayback](NPC_PausePlayback).

:::

## Description

This will resume the paused recording.
Expand Down
6 changes: 6 additions & 0 deletions frontend/docs/scripting/functions/SendChat.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ description: This will send a player text by the bot, just like using SendPlayer
tags: []
---

:::warning

This function is deprecated. Please see [SendPlayerMessageToAll](SendPlayerMessageToAll).

:::

## Description

This will send a player text by the bot, just like using [SendPlayerMessageToAll](SendPlayerMessageToAll), but this function is to be used inside the NPC scripts.
Expand Down
8 changes: 8 additions & 0 deletions frontend/docs/scripting/functions/SendCommand.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ description: This will force the NPC to write a desired command, and this way, g
tags: []
---

:::warning

This function is deprecated.

See `PC_EmulateCommand` for Pawn.CMD or similar means for other command processors.

:::

## Description

This will force the NPC to write a desired command, and this way, getting the effects it would produce.
Expand Down
18 changes: 9 additions & 9 deletions frontend/docs/scripting/resources/gametextstyles.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ Be careful, using too many text colors or special characters in one gametext may

You can use the following text styles in game texts.

| Style | Preview | Description |
| ------- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Style 0 | ![](https://assets.open.mp/assets/images/gameTextStyles/style0.png) | Appears for 9 seconds regardless of time setting. Hides textdraws and any other gametext on screen (fixed in fixes.inc) |
| Style 1 | ![](https://assets.open.mp/assets/images/gameTextStyles/style1.png) | Fades out after 8 seconds, regardless of time set. If you have a time setting longer than that, it will re-appear after fading out and repeat until the time ends (fixed in fixes.inc) |
| Style 2 | ![](https://assets.open.mp/assets/images/gameTextStyles/style2.png) | N/A |
| Style 3 | ![](https://assets.open.mp/assets/images/gameTextStyles/style3.png) | N/A |
| Style 4 | ![](https://assets.open.mp/assets/images/gameTextStyles/style4.png) | N/A |
| Style 5 | ![](https://assets.open.mp/assets/images/gameTextStyles/style5.png) | Displays for 3 seconds, regardless of what time you set. Will refuse to be shown if it is 'spammed' (fixed in fixes.inc) |
| Style 6 | ![](https://assets.open.mp/assets/images/gameTextStyles/style6.png) | N/A |
| Style | Preview | Description |
| ------- | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Style 0 | ![](https://assets.open.mp/assets/images/gameTextStyles/style0.png) | Appears for 9 seconds regardless of time setting. Hides textdraws and any other gametext on screen (fixed in fixes.inc / GameText+) |
| Style 1 | ![](https://assets.open.mp/assets/images/gameTextStyles/style1.png) | Fades out after 8 seconds, regardless of time set. If you have a time setting longer than that, it will re-appear after fading out and repeat until the time ends (fixed in fixes.inc / GameText+) |
| Style 2 | ![](https://assets.open.mp/assets/images/gameTextStyles/style2.png) | N/A |
| Style 3 | ![](https://assets.open.mp/assets/images/gameTextStyles/style3.png) | N/A |
| Style 4 | ![](https://assets.open.mp/assets/images/gameTextStyles/style4.png) | N/A |
| Style 5 | ![](https://assets.open.mp/assets/images/gameTextStyles/style5.png) | Displays for 3 seconds, regardless of what time you set. Will refuse to be shown if it is 'spammed' (fixed in fixes.inc / GameText+) |
| Style 6 | ![](https://assets.open.mp/assets/images/gameTextStyles/style6.png) | N/A |

---

Expand Down
20 changes: 10 additions & 10 deletions frontend/docs/scripting/resources/shopnames.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ In GTA: SA (and SA-MP as well), certain scripts are preprogrammed to run wheneve

:::

| Shop name | GXT name | What is it? | Coordinates |
| --------- | ------------- | -------------------------------- | ------------------------------ |
| FDPIZA | Pizza Stack | The stock Pizza Stack interior | 374.0000, -119.6410, 1001.4922 |
| FDCHICK | Cluckin' Bell | The stock Cluckin' Bell interior | 368.7890, -6.8570, 1001.8516 |
| FDBURG | Burger Shot | The stock Burger Shot interior | 375.5660, -68.2220, 1001.5151 |
| AMMUN1 | Ammunation | The first Ammu-Nation interior | 296.5395, -38.2739, 1001.515 |
| AMMUN2 | Ammunation | The second Ammu-Nation interior | 295.7359, -80.6865, 1001.5156 |
| AMMUN3 | Ammunation | The third Ammu-Nation interior | 290.2011, -109.5698, 1001.5156 |
| AMMUN4 | Ammunation | The fourth Ammu-Nation interior | 308.1619, -141.2549, 999.6016 |
| AMMUN5 | Ammunation | The fifth Ammu-Nation interior | 312.7883, -166.0069, 999.6010 |
| Shop name | GXT name | What is it? | Coordinates |
| --------- | ------------- | -------------------------------- | --------------------------- |
| FDPIZA | Pizza Stack | The stock Pizza Stack interior | 374.0, -119.641, 1000.539 |
| FDCHICK | Cluckin' Bell | The stock Cluckin' Bell interior | 368.789, -6.857, 1000.839 |
| FDBURG | Burger Shot | The stock Burger Shot interior | 375.566, -68.222, 1000.549 |
| AMMUN1 | Ammunation | The first Ammu-Nation interior | 296.506, -38.168, 1000.547 |
| AMMUN2 | Ammunation | The second Ammu-Nation interior | 295.741, -80.479, 1000.534 |
| AMMUN3 | Ammunation | The third Ammu-Nation interior | 290.242, -109.508, 1000.545 |
| AMMUN4 | Ammunation | The fourth Ammu-Nation interior | 308.148, -141.104, 998.618 |
| AMMUN5 | Ammunation | The fifth Ammu-Nation interior | 312.791, -165.949, 998.618 |
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Sada možete napraviti svoje skripte na drugim jezicima osim pawn-a bez ikakvog
- **[MapFix](https://github.com/NexiusTailer/MapFix)** - Ispravke grešaka u teksturi na mapi GTA San Andreas.
- **[SA:MP Animbrowse](https://github.com/Southclaws/samp-animbrowse)** - Alat za preglednik animacija za SA:MP.
- **[IsPlayerUsingAndroid](https://github.com/Fairuz-Afdhal/IsPlayerUsingAndroid)** - Provjerava je li igrač android korisnik.
- **[TextDraw-Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - TextDraw editor koji ima neke bogate karakteristike.
- **[Nickk's TextDraw Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - TextDraw editor koji ima neke bogate karakteristike.
- **[Ultimate Creator](https://github.com/NexiusTailer/Ultimate-Creator)** - Napredni uređivač mapa sa puno funkcija.
- **[Fusez's Map Editor](https://github.com/fusez/Map-Editor-V3)** - Uređivač mapa u igri za SA:MP.
- **[Texture Studio](https://github.com/Pottus/Texture-Studio)** - Ovo je uređivač mapa u igri koji će vam omogućiti teksturu do indeksa materijala 15 (16 materijala) kao i postavljanje boje za taj indeks materijala na objektima.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Ahora puedes hacer tus scripts en otros lenguajes que no sean pawn sin ningun pl
- **[MapFix](https://github.com/NexiusTailer/MapFix)** - Corrección de errores de texturas del mapa de GTA San Andreas.
- **[SA:MP Animbrowse](https://github.com/Southclaws/samp-animbrowse)** - Herramienta de navegación de animación para SA:MP.
- **[IsPlayerUsingAndroid](https://github.com/Fairuz-Afdhal/IsPlayerUsingAndroid)** - Comprueba si un jugador es usuario de android.
- **[TextDraw-Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - Un editor TextDraw que tiene algunas características ricas.
- **[Nickk's TextDraw Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - Un editor TextDraw que tiene algunas características ricas.
- **[Ultimate Creator](https://github.com/NexiusTailer/Ultimate-Creator)** - Editor de mapas avanzado con muchas funciones.
- **[Fusez's Map Editor](https://github.com/fusez/Map-Editor-V3)** - Un editor de mapas en el juego para SA:MP.
- **[Texture Studio](https://github.com/Pottus/Texture-Studio)** - Este es un editor de mapas en el juego que te permitirá texturizar hasta el índice de material 15 (16 materiales), así como establecer el color para ese índice de material en los objetos.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ description: فهرستی منظم از ابزارها، کتابخانه‌ها
- **[MapFix](https://github.com/NexiusTailer/MapFix)** - تعمیر باگ‌های بافت نقشه GTA San Andreas.
- **[SA:MP Animbrowse](https://github.com/Southclaws/samp-animbrowse)** - ابزار مرورگر انیمیشن برای SA:MP.
- **[IsPlayerUsingAndroid](https://github.com/Fairuz-Afdhal/IsPlayerUsingAndroid)** - بررسی می‌کند که آیا بازیکن کاربر اندروید است یا نه.
- **[TextDraw-Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - ویرایشگر TextDraw که ویژگی‌های غنی دارد.
- **[Nickk's TextDraw Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - ویرایشگر TextDraw که ویژگی‌های غنی دارد.
- **[Ultimate Creator](https://github.com/NexiusTailer/Ultimate-Creator)** - ویرایشگر نقشه پیشرفته با ویژگی‌های فراوان.
- **[Fusez's Map Editor](https://github.com/fusez/Map-Editor-V3)** - ویرایشگر نقشه درون بازی برای SA:MP.
- **[Texture Studio](https://github.com/Pottus/Texture-Studio)** - این ویرایشگر نقشه درون بازی است که به شما اجازه بافت‌دهی تا شاخص مواد 15 (16 مواد) و همچنین تنظیم رنگ برای آن شاخص مواد روی اشیاء را می‌دهد.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ description: Liste exhaustive d'outils, de librairies et de plugins SA:MP néces
- **[MapFix](https://github.com/NexiusTailer/MapFix)** - Correction des bugs de texture de la carte GTA San Andreas.
- **[SA:MP Animbrowse](https://github.com/Southclaws/samp-animbrowse)** - Outil de navigation d'animation pour SA:MP.
- **[IsPlayerUsingAndroid](https://github.com/Fairuz-Afdhal/IsPlayerUsingAndroid)** - Vérifie si un joueur est un utilisateur Android.
- **[TextDraw-Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - Un éditeur TextDraw doté de fonctionnalités riches.
- **[Nickk's TextDraw Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - Un éditeur TextDraw doté de fonctionnalités riches.
- **[Ultimate Creator](https://github.com/NexiusTailer/Ultimate-Creator)** - Éditeur de carte avancé avec de nombreuses fonctionnalités.
- **[Éditeur de carte de Fusez](https://github.com/fusez/Map-Editor-V3)** - Un éditeur de carte en jeu pour SA:MP.
- **[Texture Studio](https://github.com/Pottus/Texture-Studio)** - Il s'agit d'un éditeur de cartes en jeu qui vous permettra de texturer jusqu'à l'indice de matériau 15 (16 matériaux) ainsi que de définir couleur pour cet index de matériau sur les objets.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Most már készítheted szkriptjeidet a pawn nyelven kívül más nyelveken is a
- **[MapFix](https://github.com/NexiusTailer/MapFix)** - A GTA San Andreas térképének textúra hibajavításai.
- **[SA:MP Animbrowse](https://github.com/Southclaws/samp-animbrowse)** - Egy animáció böngésző eszköz az SA:MP-hez.
- **[IsPlayerUsingAndroid](https://github.com/Fairuz-Afdhal/IsPlayerUsingAndroid)** - Ellenőrzi, hogy egy játékos Android felhasználó-e.
- **[TextDraw-Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - Egy TextDraw szerkesztő, amely számos gazdag funkciót kínál.
- **[Nickk's TextDraw Editor](https://github.com/Nickk888SAMP/TextDraw-Editor)** - Egy TextDraw szerkesztő, amely számos gazdag funkciót kínál.
- **[Ultimate Creator](https://github.com/NexiusTailer/Ultimate-Creator)** - Fejlett térképszerkesztő sok funkcióval.
- **[Fusez's Map Editor](https://github.com/fusez/Map-Editor-V3)** - Egy In-Game térképszerkesztő az SA:MP-hez.
- **[Texture Studio](https://github.com/Pottus/Texture-Studio)** - Ez egy In-Game térképszerkesztő, amely lehetővé teszi, hogy textúrázza az anyag index 15-ig (16 anyag), valamint beállítsa a színét az adott anyag indexre az objektumokon.
Loading
Loading