text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
título: OnDialogResponse
descripción: Este callback se llama cuando un jugador responde a un cuadro de diálogo mostrado usando ShowPlayerDialog ya sea clickeando un botón, presionando ENTER/ESC o haciendo doble click en un elemento de lista (si el diálogo utiliza el estilo DIALOG_STYLE_LIST).
tags: []
---
## Descr... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnDialogResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnDialogResponse.md",
"repo_id": "openmultiplayer",
"token_count": 2896
} | 359 |
---
título: OnPlayerDisconnect
descripción: Este callback se llama cuando un jugador se desconecta del servidor.
tags: ["player"]
---
## Descripción
Este callback se llama cuando un jugador se desconecta del servidor.
| Nombre | Descripción |
| -------- | --------------------... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerDisconnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerDisconnect.md",
"repo_id": "openmultiplayer",
"token_count": 899
} | 360 |
---
título: OnPlayerPickUpPickup
descripción: Se llama cuando un jugador recoge un pickup creado con CreatePickup.
tags: ["player"]
---
## Descripción
Se llama cuando un jugador recoge un pickup creado con CreatePickup.
| Nombre | Descripción |
| -------- | ---------------------... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerPickUpPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerPickUpPickup.md",
"repo_id": "openmultiplayer",
"token_count": 524
} | 361 |
---
título: OnRecordingPlaybackEnd
descripción: Este callback se llama cuando un archivo grabado siendo reproduciendo con NPCStartRecordingPlayback llega a su fin.
tags: []
---
## Description
Este callback se llama cuando un archivo grabado siendo reproduciendo con NPCStartRecordingPlayback llega a su fin.
## Ejempl... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnRecordingPlaybackEnd.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnRecordingPlaybackEnd.md",
"repo_id": "openmultiplayer",
"token_count": 185
} | 362 |
---
title: OnGameModeInit
description: This callback is triggered when the gamemode starts.
tags: []
---
## Description
Ang callback na ito ay nag-ti-trigger kapag nagsisimulang mag run ang isang gamemode.
## Examples
```c
public OnGameModeInit()
{
print("Ang gamemode ay nagsimula.");
return 1;
}
```
## Mg... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnGameModeInit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnGameModeInit.md",
"repo_id": "openmultiplayer",
"token_count": 220
} | 363 |
---
title: OnPlayerDeath
description: This callback is called when a player dies, either by suicide or by being killed by another player.
tags: ["player"]
---
## Description
Ang callback na ito ay itinatawag kapag ang isang player ay namatay. Sa mga dahilan na pwedeng namatay ang player sa kanyang sariling gawa o nap... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerDeath.md",
"repo_id": "openmultiplayer",
"token_count": 1025
} | 364 |
---
title: AddSimpleModelTimed
description: Nagdaragdag ng bagong custom na simpleng object model para sa pag-download.
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Nagdaragdag ng bagong custom na simpleng object model para sa pag-download. Ang mga file ng modelo ay maiimbak sa Documents\GTA... | openmultiplayer/web/docs/translations/fil/scripting/functions/AddSimpleModelTimed.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AddSimpleModelTimed.md",
"repo_id": "openmultiplayer",
"token_count": 1125
} | 365 |
---
title: BanEx
description: Ipagbawal ang isang manlalaro na may dahilan.
tags: ["administration"]
---
## Description
Ipagbawal ang isang manlalaro na may dahilan.
| Name | Description |
| -------- | ---------------------------- |
| playerid | Ang ID ng player na pagbabawalan.|
| reason | An... | openmultiplayer/web/docs/translations/fil/scripting/functions/BanEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/BanEx.md",
"repo_id": "openmultiplayer",
"token_count": 792
} | 366 |
---
title: ForceClassSelection
description: Pinipilit ang isang manlalaro na bumalik sa class selection.
tags: []
---
## Description
Pinipilit ang isang manlalaro na bumalik sa class selection.
| Name | Description |
| -------- | ------------------------------------------- |
| pla... | openmultiplayer/web/docs/translations/fil/scripting/functions/ForceClassSelection.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/ForceClassSelection.md",
"repo_id": "openmultiplayer",
"token_count": 419
} | 367 |
---
title: SendRconCommand
description: Nagpapadala ng command na RCON (Remote Console).
tags: ["administration"]
---
## Description
Nagpapadala ng command na RCON (Remote Console).
| Name | Description |
| --------- | -------------------------------- |
| command[] | Ang RCON command na ma ... | openmultiplayer/web/docs/translations/fil/scripting/functions/SendRconCommand.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/SendRconCommand.md",
"repo_id": "openmultiplayer",
"token_count": 474
} | 368 |
---
title: StopAudioStreamForPlayer
description: Ihihinto ang kasalukuyang audio stream para sa isang player.
tags: ["player"]
---
## Description
Ihihinto ang kasalukuyang audio stream para sa isang player.
| Name | Description |
| -------- | --------------------------------... | openmultiplayer/web/docs/translations/fil/scripting/functions/StopAudioStreamForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/StopAudioStreamForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 359
} | 369 |
---
title: Erreurs récentes du client SA:MP
description: Liste de toutes les erreurs possibles avec SA:MP / GTA:SA ainsi que leurs solutions.
---
## Erreurs récentes du client SA:MP
Le client SA:MP réserve parfois quelques surprises à ses utilisateurs, tantôt à raison d'un dysfonctionnement avec GTA:SA, tantôt à rais... | openmultiplayer/web/docs/translations/fr/client/CommonClientIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/client/CommonClientIssues.md",
"repo_id": "openmultiplayer",
"token_count": 1801
} | 370 |
---
title: OnFilterScriptInit
description: Cette callback est appelée quand un filterscript est chargé.
tags: [filterscript, load, chargé, loaded]
---
## Description
Cette callback est appelée quand un filterscript est chargé. Elle n'est appelée que dans le filterscript qui a été chargé.
## Exemple
```c
public OnFi... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnFilterScriptInit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnFilterScriptInit.md",
"repo_id": "openmultiplayer",
"token_count": 206
} | 371 |
---
title: OnPlayerClickPlayer
description: Callback appelée quand un joueur double-clique sur le pseudo d'un joueur dans la tablist.
tags: [player, clickplayer, clickedplayerid, source]
---
## Paramètres
Callback appelée quand un joueur double-clique sur le pseudo d'un joueur dans la tablist.
| Nom ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerClickPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerClickPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 657
} | 372 |
---
title: OnPlayerFinishedDownloading
description: Callback appelée quand un joueur fini de télécharger les models custom du serveur.
tags: ["player"]
---
<VersionWarn name='callback' version='SA-MP 0.3.DL R1' />
## Paramètres
Callback appelée quand un joueur fini de télécharger les models custom du serveur.
Pour ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerFinishedDownloading.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerFinishedDownloading.md",
"repo_id": "openmultiplayer",
"token_count": 564
} | 373 |
---
title: OnPlayerSelectedMenuRow
description: Cette callback est appelée lorsqu'un joueur sélectionne un article depuis un menu (ShowMenuForPlayer).
tags: ["player", "menu"]
---
## Paramètres
Cette callback est appelée lorsqu'un joueur sélectionne un article depuis un menu [(ShowMenuForPlayer)](../functions/ShowMen... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerSelectedMenuRow.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerSelectedMenuRow.md",
"repo_id": "openmultiplayer",
"token_count": 818
} | 374 |
---
title: OnVehicleDeath
description: Cette callback est appelée lorsqu'un véhicule est détruit - en explosant ou en tombant dans l'eau.
tags: ["vehicle"]
---
## Paramètres
Cette callback est appelée lorsqu'un véhicule est détruit - en explosant ou en tombant dans l'eau.
| Nom | Description ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleDeath.md",
"repo_id": "openmultiplayer",
"token_count": 721
} | 375 |
# Wiki SA-MP dan Dokumentasi open.mp
Selamat Datang di Wiki SA-MP, dikelola oleh tim open.mp dan komunitas SA-MP terbesar!
Situs ini bertujuan untuk memberi akses yang mudah, mudah untuk berkontribusi untuk dokumentasi SA-MP mula mula dan, tentu saja termasuk, open.mp.
## Wiki SA-MP sudah tiada
Sayangnya, wiki SA-M... | openmultiplayer/web/docs/translations/id/index.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/index.md",
"repo_id": "openmultiplayer",
"token_count": 493
} | 376 |
---
title: OnPlayerClickPlayerTextDraw
description: Callback ini terpanggil ketika pemain mengklik sebuah player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripsi
Callback ini terpanggil ketika pemain mengklik sebuah player-textdraw. Ini tidak akan terpanggil ketika player membatalkan mode 'se... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerClickPlayerTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerClickPlayerTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1069
} | 377 |
---
title: OnPlayerStreamIn
description: Callback ini akan terpanggil ketika pemain lain berada di jangkauan stream dari klien pemain.
tags: ["player"]
---
## Deskripsi
Callback ini akan terpanggil ketika pemain lain berada di jangkauan stream dari klien pemain.
| Nama | Deskripsi ... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 396
} | 378 |
---
title: DestroyObject
description: Menghancurkan (menghapus) objek yang sudah di buat dengan CreateObject.
tags: []
---
## Deskripsi
Menghancurkan (menghapus) objek yang sudah di buat dengan CreateObject.
| Nama | Deskripsi |
| -------- | ----------------------... | openmultiplayer/web/docs/translations/id/scripting/functions/DestroyPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/DestroyPickup.md",
"repo_id": "openmultiplayer",
"token_count": 699
} | 379 |
---
title: strlen
description: Mendapatkan panjang dari sebuah string.
tags: ["string"]
---
<LowercaseNote />
## Deskripsi
Mendapatkan panjang dari sebuah string.
| Nama | Deskripsi |
| -------------- | ------------------------------------- |
| const string[] | String yang akan... | openmultiplayer/web/docs/translations/id/scripting/functions/strlen.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/strlen.md",
"repo_id": "openmultiplayer",
"token_count": 398
} | 380 |
---
id: panelstates
title: Keadaan Panel
description: Information tentang ukuran byte dan bit status panel yang sesuai.
---
:::note
Keadaan ini untuk digunakan dengan [GetVehicleDamageStatus](../functions/GetVehicleDamageStatus) dan [UpdateVehicleDamageStatus](../functions/UpdateVehicleDamageStatus).
:::
## Digit k... | openmultiplayer/web/docs/translations/id/scripting/resources/panelstates.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/resources/panelstates.md",
"repo_id": "openmultiplayer",
"token_count": 1181
} | 381 |
---
id: controllingaserver
title: "Mengendalikan Server"
descripion: Perintah yang berguna untuk mengendalikan server.
---
## Mengganti gamemode
### Menjalankan sebuah gamemode kustom/ter-download
- Buka direktori server yang telah Anda pasang. (contoh: /Rockstar Games/GTA San Andreas/server)
- Ambil file .amx yang ... | openmultiplayer/web/docs/translations/id/server/controllingserver.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/server/controllingserver.md",
"repo_id": "openmultiplayer",
"token_count": 6211
} | 382 |
---
title: AddPlayerClass
description: Dodaje klasę do wyboru klasy.
tags: ["player"]
---
## Opis
Dodaje klasę do wyboru klas. Klasy umożliwiają graczom spawnowanie się z wybranym przez nich skinem.
| Nazwa | Opis |
| ------------- | --------------------... | openmultiplayer/web/docs/translations/pl/scripting/functions/AddPlayerClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/AddPlayerClass.md",
"repo_id": "openmultiplayer",
"token_count": 1131
} | 383 |
---
title: AttachCameraToPlayerObject
description: Przyczepia kamerę gracza do obiektu stworzonego tylko dla niego.
tags: ["player"]
---
## Opis
Przyczepia kamerę gracza do obiektu stworzonego tylko dla niego. Gracz może poruszać swoją kamerą, gdy jest przyczepiona do obiektu. Można z tego korzystać razem z MovePlaye... | openmultiplayer/web/docs/translations/pl/scripting/functions/AttachCameraToPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/AttachCameraToPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 740
} | 384 |
---
title: Contribuição
description: Como contribuir com SA-MP Wiki e a documentação open.mp.
---
Esta documentação está aberta para qualquer um contribuir para seu desenvolvimento e aperfeiçoamento! Tudo que você precisa é uma conta no [GitHub](https://github.com) e algum tempo livre. Você inclusive não necessita ter... | openmultiplayer/web/docs/translations/pt-BR/meta/Contributing.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/meta/Contributing.md",
"repo_id": "openmultiplayer",
"token_count": 3495
} | 385 |
---
title: OnNPCModeExit
description: Essa callback é executada quando o script de um NPC é descarregado.
tags: []
---
## Descrição
Essa callback é executada quando o script de um NPC é descarregado.
## Exemplos
```c
public OnNPCModeExit()
{
print("O script do NPC foi descarregado!");
return 1;
}
```
## ... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnNPCModeExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnNPCModeExit.md",
"repo_id": "openmultiplayer",
"token_count": 160
} | 386 |
---
title: OnPlayerEnterVehicle
description: Esta callback é chamada quando um jogador começa a entrar em um veículo, isso significa que o jogador não está no veículo ainda quando esta callback é chamada.
tags: ["player", "vehicle"]
---
## Descrição
Esta callback é chamada quando um jogador começa a entrar em um veíc... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerEnterVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerEnterVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 578
} | 387 |
---
title: OnPlayerSelectedMenuRow
description: Esta callback é chamada quano um jogador seleciona um item de um menu (ShowMenuForPlayer).
tags: ["player", "menu"]
---
## Descrição
Esta callback é chamada quano um jogador seleciona um item de um menu (ShowMenuForPlayer).
| Nome | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerSelectedMenuRow.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerSelectedMenuRow.md",
"repo_id": "openmultiplayer",
"token_count": 686
} | 388 |
---
title: OnVehicleRespray
description: Essa callback é chamada quando um jogador sai de uma Garagem de Personalização, mesmo sem trocar cores.
tags: ["vehicle"]
---
## Descrição
Essa callback é chamada quando um jogador sai de uma Garagem de Personalização, mesmo sem trocar cores. Cuidado, Oficinas de Pintura não c... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleRespray.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleRespray.md",
"repo_id": "openmultiplayer",
"token_count": 869
} | 389 |
---
title: AllowInteriorWeapons
description: Define se o uso de armas no interior é permitido ou não.
tags: []
---
## Descrição
Define se o uso de armas no interior é permitido ou não.
| Name | Descrição |
| ----- | --------... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AllowInteriorWeapons.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AllowInteriorWeapons.md",
"repo_id": "openmultiplayer",
"token_count": 440
} | 390 |
---
title: GameModeExit
description: Encerra o atual gamemode.
tags: []
---
## Descrição
Encerra o atual gamemode.
## Exemplos
```c
if (OneTeamHasWon)
{
GameModeExit();
}
```
## Funções Relacionadas
| openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GameModeExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GameModeExit.md",
"repo_id": "openmultiplayer",
"token_count": 92
} | 391 |
---
title: GetPlayerHealth
description: A função GetPlayerHealth permite obter a vida de um jogador.
tags: ["player"]
---
## Descrição
A função GetPlayerHealth permite obter a vida de um jogador. Útil para detetar cheats, entre outras coisas.
| Nome | Descrição |
| -... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetPlayerHealth.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetPlayerHealth.md",
"repo_id": "openmultiplayer",
"token_count": 626
} | 392 |
---
title: SetVehicleHealth
description: Define a vida de um veículo.
tags: ["vehicle"]
---
## Descrição
Define a vida de um veículo. Quando a vida do veículo diminui, o motor irá fazer fumaça, até que arde quando diminuir para menos de 250 (25%).
| Nome | Descrição |
| ------------ |... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetVehicleHealth.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetVehicleHealth.md",
"repo_id": "openmultiplayer",
"token_count": 574
} | 393 |
---
title: Contribuire
description: Cum să contribui la SA-MP Wiki și la documentația open.mp
---
Această sursă de documentare este deschisă pentru oricine vrea să contribuie cu modificări! Tot ce aveți nevoie este de un cont [GitHub](https://github.com) și ceva timp liber. Nici nu trebuie să cunoașteți Git, puteți fa... | openmultiplayer/web/docs/translations/ro/meta/contributing.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/meta/contributing.md",
"repo_id": "openmultiplayer",
"token_count": 4245
} | 394 |
---
title: OnPlayerClickTextDraw
description: Acest callback este apelat atunci când un jucător face clic pe un textdraw sau anulează modul de selectare cu tasta ESC.
tags: ["player", "textdraw"]
---
## Descriere
Acest callback este apelat atunci când un jucător face clic pe un textdraw sau anulează modul de selectar... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerClickTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerClickTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1049
} | 395 |
---
title: OnPlayerKeyStateChange
description: Acest callback este apelat atunci când starea oricărei taste acceptate este schimbată (apăsată/eliberată).
tags: ["player"]
---
## Descriere
Acest callback este apelat atunci când starea oricărei taste [acceptate](../resources/keys) este schimbată (apăsată/eliberată).<br... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerKeyStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerKeyStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 5277
} | 396 |
---
title: OnPlayerUpdate
description: Acest callback este apelat de fiecare dată când un client/jucător actualizează serverul cu starea lor.
tags: ["player"]
---
## Descriere
Acest callback este apelat de fiecare dată când un client/jucător actualizează serverul cu starea lor. Este adesea folosit pentru a crea apelu... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1383
} | 397 |
---
title: AddCharModel
description: Adaugă un nou model de caractere personalizat pentru descărcare.
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Descriere
Adaugă un nou model de caractere personalizat pentru descărcare. Fișierele model vor fi stocate în documentele playerului \ GTA San Andreas User Fi... | openmultiplayer/web/docs/translations/ro/scripting/functions/AddCharModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/functions/AddCharModel.md",
"repo_id": "openmultiplayer",
"token_count": 1013
} | 398 |
---
title: "Scripting: Taguri"
description: Un ghid pentru taguri
---
## Introducere
O etichetă este un prefix la o variabilă care îi spune compilatorului să trateze variabila special în anumite circumstanțe. De exemplu, puteți utiliza etichete pentru a defini unde o variabilă poate și nu poate fi utilizată, sau un m... | openmultiplayer/web/docs/translations/ro/scripting/language/Tags.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/language/Tags.md",
"repo_id": "openmultiplayer",
"token_count": 3601
} | 399 |
---
title: Statusurile armelor
description: Constantele pentru statusurile armelor
---
| ID | Definitie | Descriere |
| --- | ------------------------ | --------------------------------------- |
| -1 | WEAPONSTATE_UNKNOWN | Necunoscuta (Seteaza cand e in vehicul) |
|... | openmultiplayer/web/docs/translations/ro/scripting/resources/weaponstate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/resources/weaponstate.md",
"repo_id": "openmultiplayer",
"token_count": 332
} | 400 |
---
title: Manipularea șirurilor
description: Tutorial prietenos pentru începători despre orice manipulare a șirurilor.
---
## Introducere
### Descrierea tutorialului
Bună ziua tuturor, cu siguranță este o noapte liniștită drăguță sau cel puțin este la compoziția acestui tutorial. Deci, hei, ce zici de etichetare at... | openmultiplayer/web/docs/translations/ro/tutorials/stringmanipulation.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/tutorials/stringmanipulation.md",
"repo_id": "openmultiplayer",
"token_count": 43898
} | 401 |
---
title: AddSimpleModelTimed
description: Добавляет сторонний объект для скачивания.
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Описание
Аналог AddSimpleModel, только с дополнительными крайними двумя параметрами времени.
Добавляет сторонний объект для скачивания. Файл модели будет помещен в папку на... | openmultiplayer/web/docs/translations/ru/scripting/functions/AddSimpleModelTimed.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/scripting/functions/AddSimpleModelTimed.md",
"repo_id": "openmultiplayer",
"token_count": 2246
} | 402 |
---
title: OnClientMessage
description: Ta "callback" se pokliče vsakič, ko NPC vidi "ClientMessage"
tags: []
---
## Opis
Ta "callback" se pokliče vsakič, ko NPC vidi "ClientMessage" (sporočilo, ki ga pošlje "client"). To bo vsakič, ko se prikliče funkcijo `SendClientMessageToAll` in vsakič, ko se funkcijo" SendClien... | openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 405
} | 403 |
---
title: OnClientMessage
description: Овај колбек је позван када год NPC види клијент поруку (ClientMessage).
tags: []
---
## Опис
Овај колбек је позван када год NPC види клијент поруку (ClientMessage). Ово ће увек бити када је SendClientMessageToAll функција позвана и сваки пут када је SendClientMessage позвана NP... | openmultiplayer/web/docs/translations/sr/scripting/callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sr/scripting/callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 578
} | 404 |
---
title: การมีส่วนร่วม
description: วิธีการมีส่วนร่วมกับเอกสาร SA-MP Wiki และ open.mp
---
แหล่งที่มาของเอกสารนี้เปิดให้ทุกคนมีส่วนร่วมในการ เปลี่ยนแปลง!! พวกคุณ ต้องมีบัญชี [GitHub](https://github.com) และเวลาว่างสักเล็กน้อย คุณไม่จำเป็นต้องรู้ เกี่ยวกับ Git ด้วยซ้ำ คุณสามารถทำได้ทั้งหมดจากหน้าเว็บ!
## การแก้ไขเนื้... | openmultiplayer/web/docs/translations/th/meta/Contributing.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/meta/Contributing.md",
"repo_id": "openmultiplayer",
"token_count": 10799
} | 405 |
---
title: OnPlayerCommandText
description: This callback is called when a player enters a command into the client chat window.
tags: ["player"]
---
## คำอธิบาย
This callback is called when a player enters a command into the client chat window. Commands are anything that start with a forward slash, e.g. /help.
| Nam... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerCommandText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerCommandText.md",
"repo_id": "openmultiplayer",
"token_count": 633
} | 406 |
---
title: OnPlayerLeaveCheckpoint
description: This callback is called when a player leaves the checkpoint set for them by SetPlayerCheckpoint.
tags: ["player", "checkpoint"]
---
## คำอธิบาย
This callback is called when a player leaves the checkpoint set for them by SetPlayerCheckpoint. Only one checkpoint can be se... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerLeaveCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerLeaveCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 642
} | 407 |
---
title: OnPlayerWeaponShot
description: This callback is called when a player fires a shot from a weapon.
tags: ["player"]
---
## คำอธิบาย
This callback is called when a player fires a shot from a weapon. Only bullet weapons are supported. Only passenger drive-by is supported (not driver drive-by, and not sea spar... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerWeaponShot.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerWeaponShot.md",
"repo_id": "openmultiplayer",
"token_count": 1501
} | 408 |
---
title: AddMenuItem
description: Adds an item to a specified menu.
tags: ["menu"]
---
## คำอธิบาย
Adds an item to a specified menu.
| Name | Description |
| ------- | -------------------------------- |
| menuid | The menu id to add an item to. |
| column | The column to add the item to... | openmultiplayer/web/docs/translations/th/scripting/functions/AddMenuItem.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/AddMenuItem.md",
"repo_id": "openmultiplayer",
"token_count": 606
} | 409 |
---
title: AttachCameraToObject
description: You can use this function to attach the player camera to objects.
tags: []
---
## คำอธิบาย
You can use this function to attach the player camera to objects.
| Name | Description |
| -------- | ------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/AttachCameraToObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/AttachCameraToObject.md",
"repo_id": "openmultiplayer",
"token_count": 538
} | 410 |
---
title: ChangeVehiclePaintjob
description: Change a vehicle's paintjob (for plain colors see ChangeVehicleColor).
tags: ["vehicle"]
---
## คำอธิบาย
Change a vehicle's paintjob (for plain colors see ChangeVehicleColor).
| Name | Description |
| ---------- | --... | openmultiplayer/web/docs/translations/th/scripting/functions/ChangeVehiclePaintjob.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ChangeVehiclePaintjob.md",
"repo_id": "openmultiplayer",
"token_count": 442
} | 411 |
---
title: DeletePVar
description: Deletes a previously set player variable.
tags: ["pvar"]
---
## คำอธิบาย
Deletes a previously set player variable.
| Name | Description |
| -------- | ----------------------------------------------------- |
| playerid | The ID of the pl... | openmultiplayer/web/docs/translations/th/scripting/functions/DeletePVar.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/DeletePVar.md",
"repo_id": "openmultiplayer",
"token_count": 586
} | 412 |
---
title: DisableRemoteVehicleCollisions
description: Disables collisions between occupied vehicles for a player.
tags: ["vehicle"]
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Disables collisions between occupied vehicles for a player.
| Name | Descr... | openmultiplayer/web/docs/translations/th/scripting/functions/DisableRemoteVehicleCollisions.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/DisableRemoteVehicleCollisions.md",
"repo_id": "openmultiplayer",
"token_count": 669
} | 413 |
---
title: GangZoneCreate
description: Create a gangzone (colored radar area).
tags: ["gangzone"]
---
## คำอธิบาย
Create a gangzone (colored radar area).
| Name | Description |
| ---- | ---------------------------------------------------- |
| minx | The X coordinate for the w... | openmultiplayer/web/docs/translations/th/scripting/functions/GangZoneCreate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GangZoneCreate.md",
"repo_id": "openmultiplayer",
"token_count": 897
} | 414 |
---
title: GetConsoleVarAsBool
description: Get the boolean value of a console variable.
tags: []
---
## คำอธิบาย
Get the boolean value of a console variable.
| Name | Description |
| --------------- | ----------------------------------------------------- |
| cons... | openmultiplayer/web/docs/translations/th/scripting/functions/GetConsoleVarAsBool.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetConsoleVarAsBool.md",
"repo_id": "openmultiplayer",
"token_count": 462
} | 415 |
---
title: GetPlayerAmmo
description: Gets the amount of ammo in a player's current weapon.
tags: ["player"]
---
## คำอธิบาย
Gets the amount of ammo in a player's current weapon.
| Name | Description |
| -------- | --------------------------------------- |
| playerid | The ID of the p... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerAmmo.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerAmmo.md",
"repo_id": "openmultiplayer",
"token_count": 424
} | 416 |
---
title: GetPlayerDistanceFromPoint
description: Calculate the distance between a player and a map coordinate.
tags: ["player"]
---
## คำอธิบาย
Calculate the distance between a player and a map coordinate.
| Name | Description |
| -------- | ----------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerDistanceFromPoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerDistanceFromPoint.md",
"repo_id": "openmultiplayer",
"token_count": 694
} | 417 |
---
title: GetPlayerObjectRot
description: Use this function to get the object's current rotation.
tags: ["player"]
---
## คำอธิบาย
Use this function to get the object's current rotation. The rotation is saved by reference in three RotX/RotY/RotZ variables.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerObjectRot.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerObjectRot.md",
"repo_id": "openmultiplayer",
"token_count": 653
} | 418 |
---
title: GetPlayerVelocity
description: Get the velocity (speed) of a player on the X, Y and Z axes.
tags: ["player"]
---
## คำอธิบาย
Get the velocity (speed) of a player on the X, Y and Z axes.
| Name | Description |
| -------- | --------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerVelocity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerVelocity.md",
"repo_id": "openmultiplayer",
"token_count": 647
} | 419 |
---
title: GetVehicleTrailer
description: Get the ID of the trailer attached to a vehicle.
tags: ["vehicle"]
---
## คำอธิบาย
Get the ID of the trailer attached to a vehicle.
| Name | Description |
| --------- | -------------------------------------------- |
| vehicleid | The ID ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleTrailer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleTrailer.md",
"repo_id": "openmultiplayer",
"token_count": 370
} | 420 |
---
title: IsPlayerConnected
description: Checks if a player is connected (if an ID is taken by a connected player).
tags: ["player"]
---
## คำอธิบาย
Checks if a player is connected (if an ID is taken by a connected player).
| Name | Description |
| -------- | ------------------------------ |
... | openmultiplayer/web/docs/translations/th/scripting/functions/IsPlayerConnected.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/IsPlayerConnected.md",
"repo_id": "openmultiplayer",
"token_count": 475
} | 421 |
---
title: KillTimer
description: Kills (stops) a running timer.
tags: []
---
## คำอธิบาย
Kills (stops) a running timer.
| Name | Description |
| ------- | ----------------------------------------------------------------- |
| timerid | The ID of the timer to k... | openmultiplayer/web/docs/translations/th/scripting/functions/KillTimer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/KillTimer.md",
"repo_id": "openmultiplayer",
"token_count": 455
} | 422 |
---
title: PlayAudioStreamForPlayer
description: Play an 'audio stream' for a player.
tags: ["player"]
---
:::warning
This function was added in SA-MP 0.3d and will not work in earlier versions!
:::
## คำอธิบาย
Play an 'audio stream' for a player. Normal audio files also work (e.g. MP3).
| Name | Descri... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayAudioStreamForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayAudioStreamForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 1044
} | 423 |
---
title: PlayerTextDrawSetPreviewVehCol
description: Set the color of a vehicle in a player-textdraw model preview (if a vehicle is shown).
tags: ["player", "textdraw", "playertextdraw"]
---
## คำอธิบาย
Set the color of a vehicle in a player-textdraw model preview (if a vehicle is shown).
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetPreviewVehCol.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetPreviewVehCol.md",
"repo_id": "openmultiplayer",
"token_count": 470
} | 424 |
---
title: ResetPlayerWeapons
description: Removes all weapons from a player.
tags: ["player"]
---
## คำอธิบาย
Removes all weapons from a player.
| Name | Description |
| -------- | --------------------------------------------- |
| playerid | The ID of the player whose weapons t... | openmultiplayer/web/docs/translations/th/scripting/functions/ResetPlayerWeapons.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ResetPlayerWeapons.md",
"repo_id": "openmultiplayer",
"token_count": 399
} | 425 |
---
title: SetCameraBehindPlayer
description: Restore the camera to a place behind the player, after using a function like SetPlayerCameraPos.
tags: ["player"]
---
## คำอธิบาย
Restore the camera to a place behind the player, after using a function like SetPlayerCameraPos.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/SetCameraBehindPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetCameraBehindPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 320
} | 426 |
---
title: SetPlayerArmedWeapon
description: Sets which weapon (that a player already has) the player is holding.
tags: ["player"]
---
## คำอธิบาย
Sets which weapon (that a player already has) the player is holding.
| Name | Description |
| -------- | --------------... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerArmedWeapon.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerArmedWeapon.md",
"repo_id": "openmultiplayer",
"token_count": 626
} | 427 |
---
title: SetPlayerName
description: Sets the name of a player.
tags: ["player"]
---
## คำอธิบาย
Sets the name of a player.
| Name | Description |
| ------------ | -----------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerName.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerName.md",
"repo_id": "openmultiplayer",
"token_count": 1014
} | 428 |
---
title: SetPlayerVelocity
description: Set a player's velocity on the X, Y and Z axes.
tags: ["player"]
---
## คำอธิบาย
Set a player's velocity on the X, Y and Z axes.
| Name | Description |
| -------- | ----------------------------------- |
| playerid | The player to apply the speed t... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerVelocity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerVelocity.md",
"repo_id": "openmultiplayer",
"token_count": 444
} | 429 |
---
title: SetVehicleParamsCarWindows
description: Allows you to open and close the windows of a vehicle.
tags: ["vehicle"]
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Allows you to open and close the windows of a vehicle.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/SetVehicleParamsCarWindows.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetVehicleParamsCarWindows.md",
"repo_id": "openmultiplayer",
"token_count": 595
} | 430 |
---
title: StartRecordingPlayerData
description: Starts recording a player's movements to a file, which can then be reproduced by an NPC.
tags: ["player"]
---
## คำอธิบาย
Starts recording a player's movements to a file, which can then be reproduced by an NPC.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/StartRecordingPlayerData.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/StartRecordingPlayerData.md",
"repo_id": "openmultiplayer",
"token_count": 1093
} | 431 |
---
title: TextDrawSetOutline
description: Sets the thickness of a textdraw's text's outline.
tags: ["textdraw"]
---
## คำอธิบาย
Sets the thickness of a textdraw's text's outline. TextDrawBackgroundColor can be used to change the color.
| Name | Description |
| ----... | openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawSetOutline.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawSetOutline.md",
"repo_id": "openmultiplayer",
"token_count": 924
} | 432 |
---
title: UnBlockIpAddress
description: Unblock an IP address that was previously blocked using BlockIpAddress.
tags: []
---
## คำอธิบาย
Unblock an IP address that was previously blocked using BlockIpAddress.
| Name | Description |
| ---------- | -------------------------- |
| ip_address | The ... | openmultiplayer/web/docs/translations/th/scripting/functions/UnBlockIpAddress.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/UnBlockIpAddress.md",
"repo_id": "openmultiplayer",
"token_count": 334
} | 433 |
---
title: fblockwrite
description: Write data to a file in binary format, while ignoring line brakes and encoding.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Write data to a file in binary format, while ignoring line brakes and encoding.
| Name | Descripti... | openmultiplayer/web/docs/translations/th/scripting/functions/fblockwrite.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/fblockwrite.md",
"repo_id": "openmultiplayer",
"token_count": 892
} | 434 |
---
title: floatsin
description: Get the sine from a given angle.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Get the sine from a given angle. The input angle may be in radians, degrees or grades.
| Name | Description |
| --... | openmultiplayer/web/docs/translations/th/scripting/functions/floatsin.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/floatsin.md",
"repo_id": "openmultiplayer",
"token_count": 682
} | 435 |
---
title: setproperty
description: Add a new property or change an existing property.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Add a new property or change an existing property.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/setproperty.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/setproperty.md",
"repo_id": "openmultiplayer",
"token_count": 767
} | 436 |
---
title: valstr
description: Convert an integer into a string.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Convert an integer into a string.
| Name | Description |
| --------------- | ---------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/valstr.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/valstr.md",
"repo_id": "openmultiplayer",
"token_count": 633
} | 437 |
---
title: Light States
---
To be used with [UpdateVehicleDamageStatus](../functions/UpdateVehicleDamageStatus) and [GetVehicleDamageStatus](../functions/GetVehicleDamageStatus).
The lights on vehicles with 2 wheels (and thus 2 lights) can not be changed. The two back lights of a vehicle can not be changed separately... | openmultiplayer/web/docs/translations/th/scripting/resources/lightstates.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/lightstates.md",
"repo_id": "openmultiplayer",
"token_count": 602
} | 438 |
---
title: Shop Names
---
:::note
To be used with [SetPlayerShopName](../functions/SetPlayerShopName).
:::
| Internal Shop name | What is it? | Coordinates |
| ------------------ | ------------- | ------------------------------ |
| "FDPIZA" | Pizza Stack | 374.0000, -119.6410, 1001.... | openmultiplayer/web/docs/translations/th/scripting/resources/shopnames.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/shopnames.md",
"repo_id": "openmultiplayer",
"token_count": 421
} | 439 |
---
title: OnPlayerClickPlayerTextDraw
description: This callback is called when a player clicks on a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Açıklama
Bu callback, bir oyuncu bir player-textdrawa tıkladığı zaman çağırılır. Oyuncu seçim modunu ESC ile iptal ettiğinde çağırılmaz ancak OnP... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerClickPlayerTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerClickPlayerTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1145
} | 440 |
---
title: OnPlayerInteriorChange
description: Oyuncu interior değiştirdiğinde çalışır.
tags: ["player"]
---
## Açıklama
Oyuncu interior değiştirdiğinde çalışır. SetPlayerInterior tarafından ya da oyuncu bir interiora girip/çıktığı zaman tetiklenebilir.
| İsim | Açıklama |
| --... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerInteriorChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerInteriorChange.md",
"repo_id": "openmultiplayer",
"token_count": 571
} | 441 |
---
title: OnPlayerText
description: Fonksiyon, oyuncu sohbet mesajı gönderdiğinde çağrılır.
tags: ["player"]
---
## Açıklama
Fonksiyon, oyuncu sohbet mesajı gönderdiğinde çağrılır.
| Parametre | Açıklama |
| --------- | ---------------------------------------- |
| playerid | Sohbet ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerText.md",
"repo_id": "openmultiplayer",
"token_count": 516
} | 442 |
---
title: AddCharModel
description: İndirmek için yeni bir özel karakter modeli ekler.
tags: []
---
:::warning
Bu işlev SA-MP 0.3.DL R1'e eklenmiştir ve önceki sürümlerde çalışmayacaktır!
:::
## Açıklama
İndirmek için yeni bir özel karakter modeli ekler. Model dosyaları oynatıcının belgelerinde saklanır. Belgeler... | openmultiplayer/web/docs/translations/tr/scripting/functions/AddCharModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/AddCharModel.md",
"repo_id": "openmultiplayer",
"token_count": 858
} | 443 |
---
title: Attach3DTextLabelToPlayer
description: Oyuncuya bir 3D Text Label bağlayın.
tags: ["player", "3dtextlabel"]
---
## Açıklama
Oyuncuya 3D Text Label bağlama fonksiyonu.
| Parametre | Açıklama |
| --------- | -----------------------------... | openmultiplayer/web/docs/translations/tr/scripting/functions/Attach3DTextLabelToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/Attach3DTextLabelToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 932
} | 444 |
---
title: ClearAnimations
description: Oyuncunun uyguladığı bütün animasyonları ipta eder.
tags: []
---
## Açıklama
Oyuncunun uyguladığı bütün animasyonları ipta eder. (Aynı zamanda jetpackteyken, paraşütle atlarken, araca binerken, araç kullanırken, yüzerken yapılan animasyonlarda bu duruma dahildir.)
| Parametre ... | openmultiplayer/web/docs/translations/tr/scripting/functions/ClearAnimations.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/ClearAnimations.md",
"repo_id": "openmultiplayer",
"token_count": 809
} | 445 |
---
title: SetPlayerAmmo
description: Oyuncunun silah mermisini ayarlama.
tags: ["player"]
---
## Açıklama
Bir oyuncunun silahındaki mermi sayısını ayarlar.
| Parametre | Açıklama |
| -------- | -------------------------------------------------... | openmultiplayer/web/docs/translations/tr/scripting/functions/SetPlayerAmmo.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/SetPlayerAmmo.md",
"repo_id": "openmultiplayer",
"token_count": 807
} | 446 |
---
title: OnActorStreamIn
description: 当演员被玩家的客户端流入时,就会调用这个回调。
tags: []
---
<VersionWarnCN name='回调' version='SA-MP 0.3.7' />
## 描述
当演员被玩家的客户端流入时,就会调用这个回调。
| 参数名 | 描述 |
| ----------- | ------------------------- |
| actorid | 已为玩家流入的演员的 ID。 |
| forplayerid | 让演员流入的玩家的 ID。 |
## 返回值
... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnActorStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnActorStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 445
} | 447 |
---
title: OnNPCModeInit.
description: This callback is called when a NPC script is loaded.
tags: []
---
## 描述
This callback is called when a NPC script is loaded.
## 案例
```c
public OnNPCModeInit()
{
print("NPC script loaded.");
return 1;
}
```
## 相关回调
- [OnNPCModeExit](../callbacks/OnNPCModeExit): Gets c... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnNPCModeInit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnNPCModeInit.md",
"repo_id": "openmultiplayer",
"token_count": 141
} | 448 |
---
title: OnPlayerExitVehicle
description: 当玩家开始离开载具时,这个回调函数被调用。
tags: ["player", "vehicle"]
---
## 描述
当玩家开始离开载具时,这个回调函数被调用。
| 参数名 | 描述 |
| --------- | --------------------- |
| playerid | 离开载具的玩家的 ID。 |
| vehicleid | 玩家离开的载具的 ID。 |
## 返回值
它在过滤脚本中总是先被调用。
## 案例
```c
public OnPlayerExitVehicl... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerExitVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerExitVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 669
} | 449 |
---
title: OnPlayerSpawn
description: 这个回调函数在玩家重生时被调用。
tags: ["player"]
---
## 描述
这个回调函数在玩家重生时被调用。(即调用 SpawnPlayer 函数后)
| 参数名 | 描述 |
| -------- | ----------------- |
| playerid | 重生的玩家的 ID。 |
## 返回值
0 - 将阻止其他过滤脚本接收到这个回调。
1 - 表示这个回调函数将被传递给下一个过滤脚本。
它在过滤脚本中总是先被调用。
## 案例
```c
public OnPlayerSpawn(pl... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 589
} | 450 |
---
title: OnVehiclePaintjob
description: 当玩家在改装店里预览车辆油漆涂鸦样式时调用。
tags: ["vehicle"]
---
## 描述
当玩家在改装店里预览车辆油漆涂鸦样式时调用。注意,当玩家购买油漆涂鸦样式时,这个回调函数不会被调用。
| 参数名 | 描述 |
| ---------- | ----------------------------- |
| playerid | 改变车辆油漆涂鸦的玩家的 ID。 |
| vehicleid | 更换了油漆涂鸦的车辆 ID。 |
| paintjobid |... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnVehiclePaintjob.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnVehiclePaintjob.md",
"repo_id": "openmultiplayer",
"token_count": 913
} | 451 |
---
title: AllowAdminTeleport
description: 这个函数将决定RCON管理员在设置导航点时是否会被传送。
tags: []
---
:::warning
从 0.3d 版本开始,这个函数已被废弃。请看[OnPlayerClickMap](../callbacks/OnPlayerClickMap).
:::
## 描述
这个函数将决定 RCON 管理员在设置导航点时是否会被传送。
| 参数名 | 说明 |
| ------ | ---------------- |
| allow | 0 禁用,1 启用。 |
## 返回值
该函数不返回任何特定的值。
... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/AllowAdminTeleport.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/AllowAdminTeleport.md",
"repo_id": "openmultiplayer",
"token_count": 465
} | 452 |
---
title: DeletePlayer3DTextLabel
description: 删除由CreatePlayer3DTextLabel创建的三维文本标签。
tags: ["player", "3dtextlabel"]
---
## 描述
删除由 CreatePlayer3DTextLabel 创建的三维文本标签。
| 参数名 | 说明 |
| --------------- | --------------------------------- |
| playerid | 要删除的三维文本标签的玩家的 ID。 |
| P... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/DeletePlayer3DTextLabel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/DeletePlayer3DTextLabel.md",
"repo_id": "openmultiplayer",
"token_count": 710
} | 453 |
---
title: Update3DTextLabelText
description: 更新一个三维文本标签的文本内容和颜色。
tags: ["3dtextlabel"]
---
## 描述
更新一个三维文本标签的文本内容和颜色。
| 参数名 | 说明 |
| --------- | ---------------------------------- |
| Text3D:textid | 你想更新的三维文本标签 ID。 |
| color | 从现在起,三维文本标签的颜色。 |
| text[] | 从现在起,三维文本... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/Update3DTextLabelText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/Update3DTextLabelText.md",
"repo_id": "openmultiplayer",
"token_count": 931
} | 454 |
---
title: 常見問題
---
## 內容
## 用戶端
### 出現錯誤訊息 "San Andreas cannot be found"
open.mp **並不是** 一個包含遊戲的獨立軟體,它只是GTASA的一個連線模組,所以需要先安裝原版GTASA才可以執行open.mp。這個模組需要在 GTASA **EU/US v1.0 (歐美 1.0版)** 版本下才可以運行,其他版本,像是Steam上的版本或是其他平台版本皆無法正確運行。 [可以點擊這裡下載 歐美1.0版本 的執行程式來進行降級](http://grandtheftauto.filefront.com/file/GTA_SA_Downgrader_P... | openmultiplayer/web/docs/translations/zh-tw/client/CommonClientIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-tw/client/CommonClientIssues.md",
"repo_id": "openmultiplayer",
"token_count": 2783
} | 455 |
---
title: String Manipulation
description: Beginner friendly tutorial about everything string manipulation.
---
## Introduction
### Tutorial description
Hello everyone, it surely is a nice quiet night, or at least it is at the composition of this tutorial. So, hey, what about tagging along to both enrich and/or eng... | openmultiplayer/web/docs/tutorials/stringmanipulation.md/0 | {
"file_path": "openmultiplayer/web/docs/tutorials/stringmanipulation.md",
"repo_id": "openmultiplayer",
"token_count": 28603
} | 456 |
---
title: Timers module
date: "2019-05-22T03:15:00"
author: Y_Less
---
Ovo je kratak pogled na jedan od poboljšanih modula koje smo uradili, za tajmere u open.mp:
```pawn
native SetTimer(const func[], msInterval, bool:repeat) = SetTimerEx;
native SetTimerEx(const func[], msInterval, bool:repeat, const params[], GLOB... | openmultiplayer/web/frontend/content/bs/blog/timers.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/bs/blog/timers.mdx",
"repo_id": "openmultiplayer",
"token_count": 640
} | 457 |
---
title: Release Candidate 1
date: "2023-01-05T01:10:00"
author: Y_Less
---
It's here!
It's finally here!
After four years, two rewrites, arguments and drama, and countless other hurdles; it is finally here!
Release Candidate 1 (RC1) of the open.mp server.
This, hopefully, represents the final version of the cod... | openmultiplayer/web/frontend/content/en/blog/release-candidate-1.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/en/blog/release-candidate-1.mdx",
"repo_id": "openmultiplayer",
"token_count": 2327
} | 458 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.