text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
title: fputchar
description: Napišite jedan znak u datoteku.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Napišite jedan znak u datoteku.
| Ime | Deskripcija |
| ------ | ------------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/fputchar.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/fputchar.md",
"repo_id": "openmultiplayer",
"token_count": 921
} | 361 |
---
title: max
description: .
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Funkcija korištena za usporedbu vrijednosti.
| Ime | Deskripcija |
| --- | -------------------------- |
| a | Vrijednost a za uporediti. |
| b | Vrijednost b za uporediti. |
## Returns... | openmultiplayer/web/docs/translations/bs/scripting/functions/max.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/max.md",
"repo_id": "openmultiplayer",
"token_count": 378
} | 362 |
---
title: strlen
description: Dobij dužinu stringa.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Dobij dužinu stringa.
| Ime | Deskripcija |
| -------------- | ------------------------ |
| const string[] | String za dobiti dužinu. |
## Returns
Dužina s... | openmultiplayer/web/docs/translations/bs/scripting/functions/strlen.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/strlen.md",
"repo_id": "openmultiplayer",
"token_count": 385
} | 363 |
---
title: OnEnterExitModShop
description: Das Callback wird aufgerufen, wenn ein Spieler eine Tuningwerkstatt betritt oder verlässt.
tags: []
---
## Beschreibung
Das Callback wird aufgerufen, wenn ein Spieler eine Tuningwerkstatt betritt oder verlässt.
| Name | Beschreibung ... | openmultiplayer/web/docs/translations/de/scripting/callbacks/OnEnterExitModShop.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/de/scripting/callbacks/OnEnterExitModShop.md",
"repo_id": "openmultiplayer",
"token_count": 599
} | 364 |
---
título: OnActorStreamOut
descripción: Este callback se llama cuando un actor se deja de cargar (se hace invisible) por el cliente de un jugador.
tags: []
---
<VersionWarnES name='callback' version='SA-MP 0.3.7' />
## Descripción
Este callback se llama cuando un actor se deja de transmitir por el cliente de un ju... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnActorStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnActorStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 402
} | 365 |
---
título: OnPlayerCommandText
descripción: Este callback se llama cuando un jugador ingresa un comando dentro de la ventana de chat del cliente.
tags: ["player"]
---
## Descripción
Este callback se llama cuando un jugador ingresa un comando dentro de la ventana de chat del cliente. Los comandos son todo lo que empi... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerCommandText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerCommandText.md",
"repo_id": "openmultiplayer",
"token_count": 646
} | 366 |
---
título: OnPlayerLeaveCheckpoint
descripción: Este callback se llama cuando un jugador sale del checkpoint establecido a él por SetPlayerCheckpoint.
tags: ["player", "checkpoint"]
---
## Descripción
Este callback se llama cuando un jugador sale del checkpoint establecido a él por SetPlayerCheckpoint. Sólo se puede... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerLeaveCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerLeaveCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 494
} | 367 |
---
título: OnPlayerWeaponShot
descripción: Este callback se llama cuando un jugador efectúa un disparo de un arma.
tags: ["player"]
---
## Descripción
Este callback se llama cuando un jugador efectúa un disparo de un arma. Solo soporta armas que usen balas. Sólo soporta drive-by por parte del pasajero (no drive-by d... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerWeaponShot.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerWeaponShot.md",
"repo_id": "openmultiplayer",
"token_count": 1728
} | 368 |
---
title: TextDrawFont
description: Cambia la fuente del texto.
tags: ["textdraw"]
---
## Description
Changes the text font.
| Nombre | Descripcion |
| ------ | ----------- |
| text | El TextDraw a cambiar |
| font | Hay cuatro estilos de fuente, como se muestra a continuación. El valor de fuente 4 especifica qu... | openmultiplayer/web/docs/translations/es/scripting/functions/TextDrawFont.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/functions/TextDrawFont.md",
"repo_id": "openmultiplayer",
"token_count": 894
} | 369 |
---
id: ShowPlayerDialog
title: ShowPlayerDialog
description: یک دیالوگ را در لحظه به بازیکن نشان میدهد
tags: ["player"]
---
<div dir="rtl" style={{ textAlign: "right" }}>
## توضیحات
یک دیالوگ را در لحظه به بازیکن نشان میدهد
| نام | توضیح ... | openmultiplayer/web/docs/translations/fa/scripting/functions/ShowPlayerDialog.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fa/scripting/functions/ShowPlayerDialog.md",
"repo_id": "openmultiplayer",
"token_count": 2671
} | 370 |
---
title: OnFilterScriptExit
description: This callback is called when a filterscript is unloaded. It is only called inside the filterscript which is unloaded.
tags: []
---
## Description
Ang callback na ito ay natatawag kapag ang filterscript ay in-unload sa server.
## Examples
```c
public OnFilterScriptExit()
{
... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnFilterScriptExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnFilterScriptExit.md",
"repo_id": "openmultiplayer",
"token_count": 144
} | 371 |
---
title: OnPlayerClickTextDraw
description: This callback is called when a player clicks on a textdraw or cancels the select mode with the Escape key.
tags: ["player", "textdraw"]
---
## Description
Ang callback na ito ay natatawag kapag ang player ay pumindot sa isang textdraw o nag cancel sa select mode gamit ang... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerClickTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerClickTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1124
} | 372 |
---
title: AddPlayerClass
description: Nagdaragdag ng klase sa pagpili ng klase.
tags: ["player"]
---
## Description
Nagdaragdag ng klase sa pagpili ng klase. Ginagamit ang mga klase upang ang mga manlalaro ay maaaring mag-spawn ng balat na kanilang pinili.
| Name | Description ... | openmultiplayer/web/docs/translations/fil/scripting/functions/AddPlayerClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AddPlayerClass.md",
"repo_id": "openmultiplayer",
"token_count": 1155
} | 373 |
---
title: AttachCameraToPlayerObject
description: Nag-attach ng camera ng player sa isang player-object.
tags: ["player", "camera"]
---
## Description
Nag-attach ng camera ng player sa isang player-object. Nagagawa ng player na ilipat ang kanyang camera habang nakakabit ito sa isang bagay. Maaaring gamitin sa MovePl... | openmultiplayer/web/docs/translations/fil/scripting/functions/AttachCameraToPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AttachCameraToPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 614
} | 374 |
---
title: EnableZoneNames
description: Binibigyang-daan ng function na ito na i-on ang mga pangalan ng zone / area gaya ng text na "Vinewood" o "Doherty" sa kanang ibaba ng screen habang papasok ang mga ito sa lugar.
tags: []
---
## Description
Binibigyang-daan ng function na ito na i-on ang mga pangalan ng zone / a... | openmultiplayer/web/docs/translations/fil/scripting/functions/EnableZoneNames.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/EnableZoneNames.md",
"repo_id": "openmultiplayer",
"token_count": 437
} | 375 |
---
title: PauseRecordingPlayback
description: Ipo-pause nito ang pag-play muli ng recording.
tags: []
---
## Description
Ipo-pause nito ang pag-play muli ng recording.
## Related Functions
- [ResumeRecordingPlayback](../functions/ResumeRecordingPlayback): Ipagpapatuloy ang pagre-record kung naka-pause ito. | openmultiplayer/web/docs/translations/fil/scripting/functions/PauseRecordingPlayback.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/PauseRecordingPlayback.md",
"repo_id": "openmultiplayer",
"token_count": 104
} | 376 |
---
title: SpawnPlayer
description: (Re)Spawns ng isang manlalaro.
tags: ["player"]
---
## Description
(Re)Spawns ng isang manlalaro.
| Name | Description |
| -------- | ------------------------------ |
| playerid | Ang ID ng player na mag i-spawn.|
## Returns
1: Matagumpay na naisakatuparan... | openmultiplayer/web/docs/translations/fil/scripting/functions/SpawnPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/SpawnPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 342
} | 377 |
---
title: setarg
description: Magtakda ng argument na naipasa sa isang function.
tags: []
---
<LowercaseNote />
## Description
Magtakda ng argument na naipasa sa isang function.
| Name | Description |
| ----- | -------------------------------------------------------... | openmultiplayer/web/docs/translations/fil/scripting/functions/setarg.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/setarg.md",
"repo_id": "openmultiplayer",
"token_count": 283
} | 378 |
---
title: OnDialogResponse
description: Cette callback est appelée lorsqu'un joueur lorsqu'un joueur répond à une boîte de dialogue affichée à l'aide de ShowPlayerDialog en cliquant sur un bouton, en appuyant sur ENTRÉE / ÉCHAP ou en double-cliquant sur un élément de liste (si vous utilisez un `DIALOG_STYLE_LIST`).
ta... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnDialogResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnDialogResponse.md",
"repo_id": "openmultiplayer",
"token_count": 1503
} | 379 |
---
title: OnPlayerEnterVehicle
description: Cette callback est appelée quand un joueur commence à entrer dans un véhicule, c'est-à-dire que le joueur n'est pas encore dans le véhicule quand la callback est appelée.
tags: ["player", "vehicle"]
---
## Paramètres
Cette callback est appelée quand un joueur commence à en... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerEnterVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerEnterVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 755
} | 380 |
---
title: OnPlayerRequestDownload
description: Cette callback est appelée quand un joueur sollicite le téléchargement des custom models.
tags: ["player"]
---
<VersionWarn name='callback' version='SA-MP 0.3.DL R1' />
## Paramètres
Cette callback est appelée quand un joueur sollicite le téléchargement des custom mode... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerRequestDownload.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerRequestDownload.md",
"repo_id": "openmultiplayer",
"token_count": 917
} | 381 |
---
title: OnTrailerUpdate
description: Cette callback est appelée quand un joueur envoie une mise à jour d'un trailer (véhicule).
tags: []
---
## Paramètres
Cette callback est appelée quand un joueur envoie une mise à jour d'un trailer (véhicule).
| Name | Description |
| --... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnTrailerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnTrailerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 606
} | 382 |
---
title : Problèmes courants
---
## Le serveur plante instantanément au démarrage
Le plus souvent, il s'agit d'une erreur dans votre fichier server.cfg ou de votre mode de jeu manquant. Vérifiez le fichier server_log.txt et la raison doit être située en bas. Sinon, vérifiez le fichier crashinfo.txt. La meilleure so... | openmultiplayer/web/docs/translations/fr/server/CommonServerIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/server/CommonServerIssues.md",
"repo_id": "openmultiplayer",
"token_count": 1695
} | 383 |
---
title: Masalah Umum
---
## Konten
## Klien
### Saya mendapatkan error "San Andreas cannot be found"
San Andreas Multi-player **bukan** program stand-alone! Program ini menambahkan fungsi multi-player ke San Andreas, dan maka dari itu Anda membutuhkan GTA San Andreas untuk PC - membutuhkan versi **EU/US v1.0**, ... | openmultiplayer/web/docs/translations/id/client/CommonClientIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/client/CommonClientIssues.md",
"repo_id": "openmultiplayer",
"token_count": 1860
} | 384 |
---
title: OnObjectMoved
description: Callback ini akan terpanggil ketika sebuah object berpindah setelah MoveObject (ketika selesai bergerak).
tags: []
---
## Deskripsi
Callback ini akan terpanggil ketika sebuah object berpindah setelah MoveObject (ketika selesai bergerak).
| Nama | Deskripsi ... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 442
} | 385 |
---
title: OnPlayerRequestClass
description: Callback ini akan terpanggil ketika seorang pemain mengubah kelas pada pemilihan kelas (dan saat pemilihan kelas pertama kali muncul).
tags: ["player"]
---
## Deskripsi
Callback ini akan terpanggil ketika seorang pemain mengubah kelas pada pemilihan kelas (dan saat pemilih... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerRequestClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerRequestClass.md",
"repo_id": "openmultiplayer",
"token_count": 486
} | 386 |
---
title: CreatePickup
description: Fungsi ini melakukan hal yang sama persis seperti AddStaticPickup, kecuali ia mengembalikan ID pengambilan yang dapat digunakan untuk menghancurkannya setelah itu dan dilacak menggunakan OnPlayerPickUpPickup.
tags: []
---
## Deskripsi
Fungsi ini melakukan sama persis dengan AddSta... | openmultiplayer/web/docs/translations/id/scripting/functions/CreatePickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/CreatePickup.md",
"repo_id": "openmultiplayer",
"token_count": 1311
} | 387 |
---
title: strcmp
description: Fungsi ini membandingkan kedua string untuk mengecek apakah mereka sama.
tags: ["string"]
---
<LowercaseNote />
## Deskripsi
Fungsi ini membandingkan kedua string untuk mengecek apakah mereka sama.
| Nama | Deskripsi ... | openmultiplayer/web/docs/translations/id/scripting/functions/strcmp.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/strcmp.md",
"repo_id": "openmultiplayer",
"token_count": 1322
} | 388 |
---
id: markermodes
title: Mode Penanda
---
Ini digunakan dengan [ShowPlayerMarkers](../functions/ShowPlayerMarkers).
```c
PLAYER_MARKERS_MODE_OFF (0)
PLAYER_MARKERS_MODE_GLOBAL (1)
PLAYER_MARKERS_MODE_STREAMED (2)
```
| openmultiplayer/web/docs/translations/id/scripting/resources/markermodes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/resources/markermodes.md",
"repo_id": "openmultiplayer",
"token_count": 108
} | 389 |
---
id: weaponskills
title: Keterampilan Senjata
description: Nilai kemampuan senjata yang untuk digunakan dengan SetPlayerSkillLevel.
---
## Deskripsi
Daftar kemampuan senjata yang digunakan untuk menetapkan tingkat kemampuannya player menggunakan fungsi [SetPlayerSkillLevel](../functions/SetPlayerSkillLevel.md).
#... | openmultiplayer/web/docs/translations/id/scripting/resources/weaponskills.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/resources/weaponskills.md",
"repo_id": "openmultiplayer",
"token_count": 284
} | 390 |
---
title: Przyczyń się do rozwoju
description: Jak wnieść swój wkład do SA-MP Wiki i dokumentacji open.mp.
---
Kod źródłowy tej dokumentacji jest dostępny dla każdego, kto chce wnieść jakiekolwiek zmiany! Wszystko czego potrzebujesz to konto na [GitHubie](https://github.com) i trochę wolnego czasu. Nie musisz znać ob... | openmultiplayer/web/docs/translations/pl/meta/Contributing.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/meta/Contributing.md",
"repo_id": "openmultiplayer",
"token_count": 4877
} | 391 |
---
title: Attach3DTextLabelToPlayer
description: Przyczepia tekst 3D do gracza.
tags: ["player", "3dtextlabel"]
---
## Opis
Przyczepia tekst 3D do gracza.
| Nazwa | Opis |
| --------- | ---------------------------------------------------------------- |... | openmultiplayer/web/docs/translations/pl/scripting/functions/Attach3DTextLabelToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/Attach3DTextLabelToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 879
} | 392 |
---
title: OnNPCDisconnect
description: Essa callback é executada quando um NPC é desconectado do servidor.
tags: []
---
## Descrição
Essa callback é executada quando um NPC é desconectado do servidor.
| Nome | Descrição |
| ------------ | -----------------------... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnNPCDisconnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnNPCDisconnect.md",
"repo_id": "openmultiplayer",
"token_count": 320
} | 393 |
---
title: OnPlayerEditObject
description: Esta callback é chamada quando um jogador termina de editar um objeto (EditObject/EditPlayerObject).
tags: ["player"]
---
## Descição
Esta callback é chamada quando um jogador termina de editar um objeto (EditObject/EditPlayerObject).
| Name | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerEditObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerEditObject.md",
"repo_id": "openmultiplayer",
"token_count": 1742
} | 394 |
---
title: OnPlayerRequestDownload
description: Esta callback é chamada quando um jogador solicita o download de modelos personalizados.
tags: ["player"]
---
<VersionWarnPT name='callback' version='SA-MP 0.3.DL R1' />
## Descrição
Esta callback é chamada quando um jogador solicita o download de modelos personalizado... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerRequestDownload.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerRequestDownload.md",
"repo_id": "openmultiplayer",
"token_count": 686
} | 395 |
---
title: OnVehicleDeath
description: Essa callback é executada quando o veículo é destruído - seja explodindo ou submergindo na água.
tags: ["vehicle"]
---
## Descrição
Essa callback é executada quando o veículo é destruído - seja explodindo ou submergindo na água.
| Nome | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleDeath.md",
"repo_id": "openmultiplayer",
"token_count": 819
} | 396 |
---
title: AddStaticVehicleEx
description: Adiciona um veículo 'fixo' (modelos são pré-carregados para os jogadores) ao gamemode.
tags: ["vehicle"]
---
## Descrição
Adiciona um veículo 'fixo' (modelos são pré-carregados para os jogadores) ao gamemode. Diferente do AddStaticVehicle numa única maneira: permite re-spawn... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AddStaticVehicleEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AddStaticVehicleEx.md",
"repo_id": "openmultiplayer",
"token_count": 2086
} | 397 |
---
title: DestroyActor
description: Destrói um ator que foi criado com CreateActor.
tags: []
---
Esta função foi implementada no SA-MP 0.3.7 e não funcionará em versões anteriores.
## Descrição
Destrói um ator que foi criado com CreateActor.
| Nome | Descrição |
| ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/DestroyActor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/DestroyActor.md",
"repo_id": "openmultiplayer",
"token_count": 355
} | 398 |
---
title: GetNetworkStats
description: Obtém as estatísticas da rede do servidor e as armazena em uma string.
tags: []
---
## Descrição
Obtém as estatísticas da rede do servidor e as armazena em uma string.
| Nome | Descrição |
| ----------- | --... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetNetworkStats.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetNetworkStats.md",
"repo_id": "openmultiplayer",
"token_count": 936
} | 399 |
---
title: SetPlayerFacingAngle
description: Define o ângulo para qual o jogador está voltado (olhando) (rotação Z).
tags: []
---
## Descrição
Define o ângulo para qual o jogador está voltado (olhando) (rotação Z).
| Nome | Descrição |
| ---------- | ---------------------------... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetPlayerFacingAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetPlayerFacingAngle.md",
"repo_id": "openmultiplayer",
"token_count": 533
} | 400 |
---
title: "Diretivas"
---
As diretivas são instruções passadas ao compilador para controlar como ele interpreta seu código fonte.
## `#assert`
Isto verifica se a expressão constante é verdadeira e se não aborta a compilação.
```c
#define MOO 10
#assert MOO > 5
```
Isso irá compilar corretamente.
```c
#define MOO 1
... | openmultiplayer/web/docs/translations/pt-BR/scripting/language/Directives.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/language/Directives.md",
"repo_id": "openmultiplayer",
"token_count": 5924
} | 401 |
---
title: OnPlayerClickMap
description: OnPlayerClickMap este apelat atunci când un jucător plasează o țintă/un punct de referință pe harta meniului de pauză (făcând clic dreapta).
tags: ["player"]
---
## Descriere
OnPlayerClickMap este apelat atunci când un jucător plasează o țintă/un punct de referință pe harta me... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerClickMap.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerClickMap.md",
"repo_id": "openmultiplayer",
"token_count": 809
} | 402 |
---
title: OnPlayerGiveDamage
description: Acest callback este apelat atunci când un jucător dă daune altui jucător.
tags: ["player"]
---
## Descriere
Acest callback este apelat atunci când un jucător dă daune altui jucător.
| Nume | Descriere |
|---... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerGiveDamage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerGiveDamage.md",
"repo_id": "openmultiplayer",
"token_count": 1178
} | 403 |
---
title: OnPlayerStreamOut
description: Acest callback este apelat atunci când un jucător este transmis în flux de la clientul altui jucător.
tags: ["player"]
---
## Descriere
Acest callback este apelat atunci când un jucător este transmis în flux de la clientul altui jucător.
| Nume | Descriere ... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 395
} | 404 |
---
title: OnVehicleSpawn
description: Acest callback este apelat atunci când un vehicul reapare.
tags: ["vehicle"]
---
:::warning
Acest callback se numește **doar** când vehiculul **re**apare! CreateVehicle și AddStaticVehicle(Ex) **nu** vor declanșa acest apel invers.
:::
## Descriere
Acest callback este apelat ... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnVehicleSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnVehicleSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 424
} | 405 |
---
title: "Cuvant: Initializare"
---
## `const`
```c
new const
MY_CONSTANT[] = {1, 2, 3};
```
const nu este utilizat pe scară largă, însă declară o variabilă care nu poate fi modificată prin cod. Există câteva utilizări pentru aceasta - funcțiile cu parametrii matricei const pot fi uneori compilate mai eficien... | openmultiplayer/web/docs/translations/ro/scripting/language/Initialisers.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/language/Initialisers.md",
"repo_id": "openmultiplayer",
"token_count": 10815
} | 406 |
---
title: Status conexiune
description: Starea conexiunii de utilizat cu NetStats_ConnectionStatus.
---
## Descriere
Starea conexiunii se foloseste cu [NetStats_ConnectionStatus](../functions/NetStats_ConnectionStatus.md).
## Folosit des
| ID | Stare | Sens ... | openmultiplayer/web/docs/translations/ro/scripting/resources/connectionstatus.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/resources/connectionstatus.md",
"repo_id": "openmultiplayer",
"token_count": 1364
} | 407 |
---
title: Cooldown-uri
description: Un tutorial pentru scrierea cooldown-urilor pentru limitarea acțiunilor utilizatorilor folosind numărul de bifări și evitarea utilizării cronometrelor.
---
Acest tutorial acoperă scrierea unui mecanic de joc utilizat în mod obișnuit în jocurile de acțiune: cooldowns. Un timp de răc... | openmultiplayer/web/docs/translations/ro/tutorials/cooldowns.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/tutorials/cooldowns.md",
"repo_id": "openmultiplayer",
"token_count": 3864
} | 408 |
---
title: AddPlayerClass
description: Добавляет класс в выбор классов.
tags: ["player"]
---
## Описание
Добавляет класс в выбор классов. Класс служит для того, чтоб игрок мог респавниться (появиться) с выбранным скином.
| Name | Description |
| ------------... | openmultiplayer/web/docs/translations/ru/scripting/functions/AddPlayerClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/scripting/functions/AddPlayerClass.md",
"repo_id": "openmultiplayer",
"token_count": 1749
} | 409 |
---
title: Система серверных переменных
description: Система серверных переменных (в сокращении SVar) - это новый способ динамического создания серверных переменных в глобальном пространстве, т.е. к одной переменной можно получить доступ и из игрового мода (gamemode), и из подключаемого сценария (filterscript).
---
... | openmultiplayer/web/docs/translations/ru/tutorials/servervariablesystem.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/tutorials/servervariablesystem.md",
"repo_id": "openmultiplayer",
"token_count": 2229
} | 410 |
# SA-MP Wiki и open.mp Документација
Добродошао на SA-MP wiki, којег одржава open.mp тим и шира SA-MP заједница!
Ова веб страница жели пружити лако доступан и једноставан допринос извору документације за SA-MP и, напослетку, open.mp.
## SA-MP wiki је нестао
Нажалост, wiki SA-MP угашен крајем септембра - иако се већ... | openmultiplayer/web/docs/translations/sr/index.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sr/index.md",
"repo_id": "openmultiplayer",
"token_count": 1197
} | 411 |
---
title: SetPlayerArmour
description: Podesava pancir igraca.
tags: ["player"]
---
## Description
Podesava pancir igraca.
| Name | Description |
| ------------ | ------------------------... | openmultiplayer/web/docs/translations/sr/scripting/functions/SetPlayerArmour.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sr/scripting/functions/SetPlayerArmour.md",
"repo_id": "openmultiplayer",
"token_count": 672
} | 412 |
---
title: OnPlayerClickPlayer
description: Callback นี้ถูกเรียกเมื่อผู้เล่นดับเบิลคลิกบนผู้เล่นที่กระดานคะแนน
tags: ["player"]
---
## คำอธิบาย
Callback นี้ถูกเรียกเมื่อผู้เล่นดับเบิลคลิกบนผู้เล่นที่กระดานคะแนน
| ชื่อ | คำอธิบาย |
| --------------- | --------------------... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerClickPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerClickPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 1398
} | 413 |
---
title: OnPlayerGiveDamageActor
description: This callback is called when a player gives damage to an actor.
tags: ["player"]
---
:::warning
Callback นี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
This callback is called when a player gives damage to an actor.
| Name ... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerGiveDamageActor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerGiveDamageActor.md",
"repo_id": "openmultiplayer",
"token_count": 1000
} | 414 |
---
title: OnPlayerTakeDamage
description: This callback is called when a player takes damage.
tags: ["player"]
---
:::warning
Callback นี้ถูกเพิ่มใน SA-MP 0.3d และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
This callback is called when a player takes damage.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerTakeDamage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerTakeDamage.md",
"repo_id": "openmultiplayer",
"token_count": 1364
} | 415 |
---
title: OnVehicleStreamIn
description: Called when a vehicle is streamed to a player's client.
tags: ["vehicle"]
---
## คำอธิบาย
Called when a vehicle is streamed to a player's client.
| Name | Description |
| ----------- | ----------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnVehicleStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnVehicleStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 493
} | 416 |
---
title: ApplyAnimation
description: Apply an animation to a player.
tags: []
---
## คำอธิบาย
Apply an animation to a player.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/ApplyAnimation.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ApplyAnimation.md",
"repo_id": "openmultiplayer",
"token_count": 3034
} | 417 |
---
title: CancelEdit
description: Cancel object edition mode for a player.
tags: []
---
## คำอธิบาย
Cancel object edition mode for a player
| Name | Description |
| -------- | ------------------------------------------ |
| playerid | The ID of the player to cancel edition for |
#... | openmultiplayer/web/docs/translations/th/scripting/functions/CancelEdit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/CancelEdit.md",
"repo_id": "openmultiplayer",
"token_count": 505
} | 418 |
---
title: CreatePlayerTextDraw
description: Creates a textdraw for a single player.
tags: ["player", "textdraw", "playertextdraw"]
---
## คำอธิบาย
Creates a textdraw for a single player. This can be used as a way around the global text-draw limit.
| Name | Description |
| ---... | openmultiplayer/web/docs/translations/th/scripting/functions/CreatePlayerTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/CreatePlayerTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1144
} | 419 |
---
title: DisableNameTagLOS
description: Disables the nametag Line-Of-Sight checking so that players can see nametags through objects.
tags: []
---
## คำอธิบาย
Disables the nametag Line-Of-Sight checking so that players can see nametags through objects.
| Name | Description |
| ---- | ----------- |
## ตัวอย่าง
`... | openmultiplayer/web/docs/translations/th/scripting/functions/DisableNameTagLOS.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/DisableNameTagLOS.md",
"repo_id": "openmultiplayer",
"token_count": 324
} | 420 |
---
title: GameModeExit
description: Ends the current gamemode.
tags: []
---
## คำอธิบาย
Ends the current gamemode.
| Name | Description |
| ---- | ----------- |
## ตัวอย่าง
```c
if (OneTeamHasWon)
{
GameModeExit();
}
```
## ฟังก์ชั่นที่เกี่ยวข้องกัน
| openmultiplayer/web/docs/translations/th/scripting/functions/GameModeExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GameModeExit.md",
"repo_id": "openmultiplayer",
"token_count": 171
} | 421 |
---
title: GetActorPos
description: Get the position of an actor.
tags: []
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Get the position of an actor.
| Name | Description |
| --... | openmultiplayer/web/docs/translations/th/scripting/functions/GetActorPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetActorPos.md",
"repo_id": "openmultiplayer",
"token_count": 602
} | 422 |
---
title: GetPVarString
description: Gets a player variable as a string.
tags: ["pvar"]
---
## คำอธิบาย
Gets a player variable as a string.
| Name | Description |
| -------------- | ------------------------------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPVarString.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPVarString.md",
"repo_id": "openmultiplayer",
"token_count": 736
} | 423 |
---
title: GetPlayerCameraZoom
description: Retrieves the game camera zoom level for a given player.
tags: ["player"]
---
## คำอธิบาย
Retrieves the game camera zoom level for a given player.
| Name | Description |
| -------- | --------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCameraZoom.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCameraZoom.md",
"repo_id": "openmultiplayer",
"token_count": 449
} | 424 |
---
title: GetPlayerNetworkStats
description: Gets a player's network stats and saves them into a string.
tags: ["player"]
---
## คำอธิบาย
Gets a player's network stats and saves them into a string.
| Name | Description |
| ----------- | ----------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerNetworkStats.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerNetworkStats.md",
"repo_id": "openmultiplayer",
"token_count": 752
} | 425 |
---
title: GetPlayerTime
description: Get the player's current game time.
tags: ["player"]
---
## คำอธิบาย
Get the player's current game time. Set by SetWorldTime, or by the game automatically if TogglePlayerClock is used.
| Name | Description |
| -------- | ---... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerTime.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerTime.md",
"repo_id": "openmultiplayer",
"token_count": 463
} | 426 |
---
title: GetServerTickRate
description: Gets the tick rate (like FPS) of the server.
tags: []
---
## คำอธิบาย
Gets the tick rate (like FPS) of the server.
| Name | Description |
| ---- | ----------- |
## ตัวอย่าง
```c
printf("The current server tick rate is: %i", GetServerTickRate());
```
## ฟังก์ชั่นที่เกี่ยว... | openmultiplayer/web/docs/translations/th/scripting/functions/GetServerTickRate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetServerTickRate.md",
"repo_id": "openmultiplayer",
"token_count": 200
} | 427 |
---
title: GetVehiclePoolSize
description: Gets the highest vehicleid currently in use on the server.
tags: ["vehicle"]
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Gets the highest vehicleid currently in use on the server.
| Name | Description |
| ---- | ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetVehiclePoolSize.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetVehiclePoolSize.md",
"repo_id": "openmultiplayer",
"token_count": 384
} | 428 |
---
title: IsObjectMoving
description: Checks if the given objectid is moving.
tags: []
---
## คำอธิบาย
Checks if the given objectid is moving.
| Name | Description |
| -------- | -------------------------------------------- |
| objectid | The objectid you want to check if is mov... | openmultiplayer/web/docs/translations/th/scripting/functions/IsObjectMoving.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/IsObjectMoving.md",
"repo_id": "openmultiplayer",
"token_count": 338
} | 429 |
---
title: IsValidPlayerObject
description: Checks if the given object ID is valid for the given player.
tags: ["player"]
---
## คำอธิบาย
Checks if the given object ID is valid for the given player.
| Name | Description |
| -------- | ------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/IsValidPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/IsValidPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 869
} | 430 |
---
title: NetStats_MessagesRecvPerSecond
description: Gets the number of messages the player has received in the last second.
tags: []
---
## คำอธิบาย
Gets the number of messages the player has received in the last second.
| Name | Description |
| -------- | ----------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/NetStats_MessagesRecvPerSecond.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/NetStats_MessagesRecvPerSecond.md",
"repo_id": "openmultiplayer",
"token_count": 737
} | 431 |
---
title: PlayerTextDrawSetOutline
description: Set the outline of a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## คำอธิบาย
Set the outline of a player-textdraw. The outline colour cannot be changed unless PlayerTextDrawBackgroundColor is used.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetOutline.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetOutline.md",
"repo_id": "openmultiplayer",
"token_count": 698
} | 432 |
---
title: RemoveVehicleComponent
description: Remove a component from a vehicle.
tags: ["vehicle"]
---
## คำอธิบาย
Remove a component from a vehicle.
| Name | Description |
| ----------- | ------------------------------ |
| vehicleid | ID of the vehicle. |
| componentid | ID ... | openmultiplayer/web/docs/translations/th/scripting/functions/RemoveVehicleComponent.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/RemoveVehicleComponent.md",
"repo_id": "openmultiplayer",
"token_count": 429
} | 433 |
---
title: SetActorInvulnerable
description: Toggle an actor's invulnerability.
tags: []
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Toggle an actor's invulnerability.
| Name | Description |
| ----------... | openmultiplayer/web/docs/translations/th/scripting/functions/SetActorInvulnerable.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetActorInvulnerable.md",
"repo_id": "openmultiplayer",
"token_count": 568
} | 434 |
---
title: SetPVarInt
description: Set an integer player variable.
tags: ["pvar"]
---
## คำอธิบาย
Set an integer player variable.
| Name | Description |
| --------- | ------------------------------------------------------- |
| playerid | The ID of the player whose pl... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPVarInt.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPVarInt.md",
"repo_id": "openmultiplayer",
"token_count": 567
} | 435 |
---
title: SetPlayerInterior
description: Set a player's interior.
tags: ["player"]
---
## คำอธิบาย
Set a player's interior. A list of currently known interiors and their positions can be found here.
| Name | Description |
| ---------- | ----------------... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerInterior.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerInterior.md",
"repo_id": "openmultiplayer",
"token_count": 413
} | 436 |
---
title: SetPlayerSpecialAction
description: This function allows to set players special action.
tags: ["player"]
---
## คำอธิบาย
This function allows to set players special action.
| Name | Description |
| -------- | ----------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerSpecialAction.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerSpecialAction.md",
"repo_id": "openmultiplayer",
"token_count": 453
} | 437 |
---
title: SetVehicleHealth
description: Set a vehicle's health.
tags: ["vehicle"]
---
## คำอธิบาย
Set a vehicle's health. When a vehicle's health decreases the engine will produce smoke, and finally fire when it decreases to less than 250 (25%).
| Name | Description |
| -----... | openmultiplayer/web/docs/translations/th/scripting/functions/SetVehicleHealth.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetVehicleHealth.md",
"repo_id": "openmultiplayer",
"token_count": 493
} | 438 |
---
title: ShowPlayerMarkers
description: Toggles player markers (blips on the radar).
tags: ["player"]
---
## คำอธิบาย
Toggles player markers (blips on the radar). Must be used when the server starts (OnGameModeInit). For other times, see SetPlayerMarkerForPlayer.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/ShowPlayerMarkers.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ShowPlayerMarkers.md",
"repo_id": "openmultiplayer",
"token_count": 648
} | 439 |
---
title: TextDrawHideForAll
description: Hides a text draw for all players.
tags: ["textdraw"]
---
## คำอธิบาย
Hides a text draw for all players.
| Name | Description |
| ---- | ------------------------------------------------------------ |
| text | The ID of the te... | openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawHideForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawHideForAll.md",
"repo_id": "openmultiplayer",
"token_count": 393
} | 440 |
---
title: TogglePlayerClock
description: Toggle the in-game clock (top-right corner) for a specific player.
tags: ["player"]
---
## คำอธิบาย
Toggle the in-game clock (top-right corner) for a specific player. When this is enabled, time will progress at 1 minute per second. Weather will also interpolate (slowly change... | openmultiplayer/web/docs/translations/th/scripting/functions/TogglePlayerClock.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/TogglePlayerClock.md",
"repo_id": "openmultiplayer",
"token_count": 480
} | 441 |
---
title: deleteproperty
description: Delete an earlier set property (setproperty).
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Delete an earlier set property (setproperty).
| Name | Description |
| -----... | openmultiplayer/web/docs/translations/th/scripting/functions/deleteproperty.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/deleteproperty.md",
"repo_id": "openmultiplayer",
"token_count": 481
} | 442 |
---
title: floatmul
description: Multiplies two floats with each other.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Multiplies two floats with each other.
| Name | Description |
| ----- | -----------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/floatmul.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/floatmul.md",
"repo_id": "openmultiplayer",
"token_count": 530
} | 443 |
---
title: funcidx
description: This function returns the ID of a public function by its name.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
This function returns the ID of a public function by its name.
| Name | Description |
| -... | openmultiplayer/web/docs/translations/th/scripting/functions/funcidx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/funcidx.md",
"repo_id": "openmultiplayer",
"token_count": 375
} | 444 |
---
title: toupper
description: This function changes a single character to uppercase.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
This function changes a single character to uppercase.
| Name | Description |
| ---- | ------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/toupper.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/toupper.md",
"repo_id": "openmultiplayer",
"token_count": 321
} | 445 |
---
title: Camera Cut Styles
---
## คำอธิบาย
Camera Cut Styles to be used with [SetPlayerCameraLookAt](../functions/SetPlayerCameraLookAt), [InterpolateCameraPos](../functions/InterpolateCameraPos.md) and [InterpolateCameraLookAt](../functions/InterpolateCameraLookAt.md).
## Cut Styles
```c
1 - CAMERA_MOVE
2 - CAME... | openmultiplayer/web/docs/translations/th/scripting/resources/cameracutstyles.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/cameracutstyles.md",
"repo_id": "openmultiplayer",
"token_count": 126
} | 446 |
---
title: Hex Colors
description: This deals with the color representation in hexadecimal in SAMP.
sidebar_label: Hex Colors
---
## What is hex?
The hexadecimal numeral system, or commonly known just as Hex, is a numeral system made up of 16 unique symbols (this is also known as base 16). You're probably wondering h... | openmultiplayer/web/docs/translations/th/scripting/resources/hexcolors.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/hexcolors.md",
"repo_id": "openmultiplayer",
"token_count": 1015
} | 447 |
---
title: "Pvar Types"
---
Types of player variables, to be used in [Per-player variable system.](../tutorials/perplayervariablesystem)
```c
PLAYER_VARTYPE_NONE (0)
PLAYER_VARTYPE_INT (1)
PLAYER_VARTYPE_STRING (2)
PLAYER_VARTYPE_FLOAT (3)
```
| openmultiplayer/web/docs/translations/th/scripting/resources/pvartypes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/pvartypes.md",
"repo_id": "openmultiplayer",
"token_count": 113
} | 448 |
---
title: Ortak İstemci Sorunları
---
### "San Andreas cannot be found" hatası alıyorum
San Andreas Multiplayer, **bağımsız bir program değildir!** San Andreas'a çok oyunculu işlevsellik ekler ve bu nedenle PC için GTA San Andreas'a ihtiyacınız vardır - ayrıca GTA sürümü **ABD/AB v1.0** olması gerekir; diğer sürümle... | openmultiplayer/web/docs/translations/tr/client/CommonClientIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/client/CommonClientIssues.md",
"repo_id": "openmultiplayer",
"token_count": 2282
} | 449 |
---
title: OnObjectMoved
description: Bu callback obje hareket etmeyi (MoveObject) bıraktıktan sonra çağrılır.
tags: []
---
## Açıklama
Bu callback obje hareket etmeyi (MoveObject) bıraktıktan sonra çağrılır.
| Ad | Açıklama |
| -------- | -------------------- |
| objectid | Hareket eden obje id |
... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 507
} | 450 |
---
title: OnPlayerFinishedDownloading
description: Bu callback, bir oyuncu model cache indirmesini bitirdiğinde çağırılır.
tags: ["player"]
---
<VersionWarnTR name='callback' version='SA-MP 0.3.DL R1' />
## Açıklama
Bu callback, bir oyuncu model cache indirmesini bitirdiğinde çağırılır.
| İsim | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerFinishedDownloading.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerFinishedDownloading.md",
"repo_id": "openmultiplayer",
"token_count": 501
} | 451 |
---
title: OnPlayerStreamIn
description: Bu fonksiyon, bir oyuncu başka bir oyuncunun streamer bölgesinde yayınlandığında çağrılır.
tags: ["player"]
---
## Açıklama
Bu fonksiyon, bir oyuncu başka bir oyuncunun streamer bölgesinde yayınlandığında çağrılır.
| Parametre | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 467
} | 452 |
---
title: OnVehicleSpawn
description: Bu callback bir araç respawn edildiğinde çağrılır.
tags: ["vehicle"]
---
:::warning
Bu callback **sadece** araç **re**spawn edildiğinde çağrılır! CreateVehicle ve AddStaticVehicle(Ex) bu callbacki **tetiklemeyecektir**.
:::
## Açıklama
Bu callback bir araç respawn edildiğinde... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnVehicleSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnVehicleSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 448
} | 453 |
---
title: AllowNickNameCharacter
description: Bir karakterin takma adlarda kullanılmasına izin verir.
tags: []
---
<VersionWarnTR version='omp v1.1.0.2612' />
## Açıklama
Bir karakterin takma adlarda kullanılmasına izin verir.
| İsim | Açıklama |
| -------- | -----------------------... | openmultiplayer/web/docs/translations/tr/scripting/functions/AllowNickNameCharacter.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/AllowNickNameCharacter.md",
"repo_id": "openmultiplayer",
"token_count": 466
} | 454 |
---
title: ChangeVehicleColor
description: Aracın birincil ve ikincil rengini değiştirme.
tags: ["vehicle"]
---
## Açıklama
Aracın birincil ve ikincil rengini değiştirme.
| Parametre | Açıklama |
| --------- | ---------------------------------------------- |
| vehicleid | Rengi ... | openmultiplayer/web/docs/translations/tr/scripting/functions/ChangeVehicleColor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/ChangeVehicleColor.md",
"repo_id": "openmultiplayer",
"token_count": 688
} | 455 |
---
title: GetActorVirtualWorld
description: Aktörün sanal dünya değerini kontrol etme.
tags: []
---
<VersionWarnTR version='SA-MP 0.3.7' />
## Açıklama
Aktörün sanal dünya değerini kontrol etme.
| Parametre | Açıklama |
| ------- | -----------------------------------------... | openmultiplayer/web/docs/translations/tr/scripting/functions/GetActorVirtualWorld.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/GetActorVirtualWorld.md",
"repo_id": "openmultiplayer",
"token_count": 493
} | 456 |
---
title: Client
description: 此类别包含有关SA-MP客户端特性和支持的信息。
---
此类别包含有关SA-MP客户端特性和支持的信息。
| openmultiplayer/web/docs/translations/zh-cn/client/_.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/client/_.md",
"repo_id": "openmultiplayer",
"token_count": 102
} | 457 |
---
title: OnNPCEnterVehicle
description: 当NPC进入车辆时会调用此回调。
tags: []
---
## 描述
当 NPC 进入车辆时会调用此回调。
| 参数名 | 说明 |
| --------- | ----------------- |
| vehicleid | NPC 进入的车辆 ID |
| seatid | NPC 使用的座位 ID |
## 案例
```c
public OnNPCEnterVehicle(vehicleid, seatid)
{
printf("NPC进入了车辆ID: %d 座位ID: %d", ve... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnNPCEnterVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnNPCEnterVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 318
} | 458 |
---
title: OnPlayerEnterCheckpoint
description: 当玩家进入为该玩家设置的检查点时,该回调被调用。
tags: ["player", "checkpoint"]
---
## 描述
当玩家进入为该玩家设置的检查点时,此回调将被调用。
| 参数名 | 描述 |
| -------- | ------------------ |
| playerid | 进入检查点的玩家。 |
## 返回值
它在过滤脚本中总是先被调用。
## 案例
```c
// 在这个案例中,玩家出生时为玩家创建了一个检查点
public OnPlayerSpawn(play... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerEnterCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerEnterCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 844
} | 459 |
---
title: OnPlayerRequestSpawn
description: 当玩家通过按下SHIFT键或点击“重生”按钮来尝试通过类选择器进行重生时调用。
tags: ["player"]
---
## 描述
当玩家通过按下 SHIFT 键或点击“重生”按钮来尝试通过类选择器进行重生时调用。
| 参数名 | 描述 |
| -------- | --------------------- |
| playerid | 请求重生的玩家的 ID。 |
## 返回值
它总是在过滤脚本中首先被调用,因此在那里返回 0 也会阻止其他脚本看到它。
## 案例
```c
public... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerRequestSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerRequestSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 537
} | 460 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.