text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
title: SetPlayerVelocity
description: Postavi brzinu igrača na X, Y i Z osama.
tags: ["player"]
---
## Deskripcija
Postavi brzinu igrača na X, Y i Z osama.
| Ime | Deskripcija |
| -------- | ---------------------------- |
| playerid | Igrač za primijeniti brzinu. |
| Float:X | Brzina na X ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerVelocity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerVelocity.md",
"repo_id": "openmultiplayer",
"token_count": 464
} | 350 |
---
title: SetVehicleParamsCarWindows
description: Dozvoljava ti da otvoriš i zatvoriš prozore vozila.
tags: ["vehicle"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Dozvoljava ti da otvoriš i zatvoriš prozore vozila.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleParamsCarWindows.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleParamsCarWindows.md",
"repo_id": "openmultiplayer",
"token_count": 601
} | 351 |
---
title: SpawnPlayer
description: (Re)Spawnuje igrača.
tags: ["player"]
---
## Deskripcija
(Re)Spawnuje igrača.
| Ime | Deskripcija |
| -------- | ------------------------------------ |
| playerid | ID igrača za spawn-ovati (stvoriti). |
## Returns
1: Funkcija uspješno izvršena.
0:... | openmultiplayer/web/docs/translations/bs/scripting/functions/SpawnPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SpawnPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 360
} | 352 |
---
title: TextDrawLetterSize
description: Postavlja širinu i visinu slova.
tags: ["textdraw"]
---
## Deskripcija
Postavlja širinu i visinu slova.
| Ime | Deskripcija |
| ------- | ----------------------- |
| text | TextDraw za izmijeniti. |
| Float:x | Širina karaktera. |
| Float:y | Visina... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawLetterSize.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawLetterSize.md",
"repo_id": "openmultiplayer",
"token_count": 1052
} | 353 |
---
title: TogglePlayerSpectating
description: Uključite ili isključite da li je igrač u režimu spectatora/gledatelja.
tags: ["player"]
---
## Deskripcija
Uključite ili isključite da li je igrač u režimu spectatora/gledatelja. Dok je u spectator režimu igrač može gledati ostale igrače i vozila. Nakon korištenja ove f... | openmultiplayer/web/docs/translations/bs/scripting/functions/TogglePlayerSpectating.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TogglePlayerSpectating.md",
"repo_id": "openmultiplayer",
"token_count": 842
} | 354 |
---
title: fblockread
description: Ova funkcija vam omogućuje čitanje podataka iz datoteke, bez kodiranja i završetaka linije.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Ova funkcija vam omogućuje čitanje podataka iz datoteke, bez kodiranja i završetaka linije.
| Ime ... | openmultiplayer/web/docs/translations/bs/scripting/functions/fblockread.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/fblockread.md",
"repo_id": "openmultiplayer",
"token_count": 934
} | 355 |
---
title: floatround
description: Zaokružite broj s pomičnom zarezom na cijelu vrijednost.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Zaokružite broj s pomičnom zarezom na cijelu vrijednost.
| Ime | Deskripcija |
| ------... | openmultiplayer/web/docs/translations/bs/scripting/functions/floatround.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/floatround.md",
"repo_id": "openmultiplayer",
"token_count": 373
} | 356 |
---
title: getarg
description: Dobij argument koji je proslijeđen funkciji.
tags: []
---
<LowercaseNote />
## Deskripcija
Dobij argument koji je proslijeđen funkciji.
| Ime | Deskripcija |
| ----- | ------------------------------------------------------- |
| arg | Red... | openmultiplayer/web/docs/translations/bs/scripting/functions/getarg.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/getarg.md",
"repo_id": "openmultiplayer",
"token_count": 342
} | 357 |
---
title: sendpacket
description: .
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
| openmultiplayer/web/docs/translations/bs/scripting/functions/sendpacket.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/sendpacket.md",
"repo_id": "openmultiplayer",
"token_count": 45
} | 358 |
---
title: toupper
description: Ova funkcija mijenja jedan znak u veliko slovo.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Ova funkcija mijenja jedan znak u veliko slovo.
| Ime | Deskripcija |
| --- | ----------------------------------- |
| c | Znak z... | openmultiplayer/web/docs/translations/bs/scripting/functions/toupper.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/toupper.md",
"repo_id": "openmultiplayer",
"token_count": 299
} | 359 |
---
title: Port Forward-ovanje
description: Tutorial za Port Forward-ovanje servera.
---
**Dobrodošli u tutorijal za Port Forward-ovanje!**
Dakle, stigli ste do tutoriala za Port Forward-ovanje, koji je napravio Leopard.
Sve što vam treba je samp-server ili omp-server i ruter. Ako nemate ruter, onda ne trebate port ... | openmultiplayer/web/docs/translations/bs/tutorials/PortForwarding.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/tutorials/PortForwarding.md",
"repo_id": "openmultiplayer",
"token_count": 1285
} | 360 |
---
title: DestroyPickup
description: Löscht ein mit CreatePickup erstelltes Pickup.
tags: []
---
## Beschreibung
Löscht ein mit CreatePickup erstelltes Pickup.
| Name | Beschreibung |
| ------ | ----------------------------------------------------------- |
| pickup ... | openmultiplayer/web/docs/translations/de/scripting/functions/DestroyPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/de/scripting/functions/DestroyPickup.md",
"repo_id": "openmultiplayer",
"token_count": 382
} | 361 |
---
título: OnGameModeExit
descripción: Este callback es llamado cuando un gamemode termina, ya sea mediante 'gmx', cuando el servidor se apaga, o cuando se usa GameModeExit.
tags: []
---
## Descripción
Este callback es llamado cuando un gamemode termina, ya sea mediante 'gmx', cuando el servidor se apaga, o cuando s... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnGameModeExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnGameModeExit.md",
"repo_id": "openmultiplayer",
"token_count": 443
} | 362 |
---
título: OnPlayerEnterRaceCheckpoint
descripción: Este callback se llama cuando un jugador entra en un checkpoint de carrera.
tags: ["player", "checkpoint", "racecheckpoint"]
---
## Descripción
Este callback se llama cuando un jugador entra en un checkpoint de carrera.
| Nombre | Descripción ... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerEnterRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerEnterRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 472
} | 363 |
---
título: OnPlayerSelectObject
descripción: Este callback se llama cuando un jugador selecciona un objeto después de que SelectObject fue usado.
tags: ["player"]
---
## Descripción
Este callback se llama cuando un jugador selecciona un objeto después de que SelectObject fue usado.
| Nombre | Descripción ... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerSelectObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerSelectObject.md",
"repo_id": "openmultiplayer",
"token_count": 769
} | 364 |
---
título: OnVehicleDeath
descripción: Este callback se llama cuando un vehículo es destruido - ya sea explotando o siendo sumergido en el agua.
tags: ["vehicle"]
---
## Descripción
Este callback se llama cuando un vehículo es destruido - ya sea explotando o siendo sumergido en el agua.
| Nombre | Descripción ... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnVehicleDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnVehicleDeath.md",
"repo_id": "openmultiplayer",
"token_count": 789
} | 365 |
---
id: OnDialogResponse
title: OnDialogResponse
description: این کالبک زمانی که بازیکن با "ShowPlayerDialog" از طریق کلیک روی دکمه یا فشردن دکمه ESC/ENTER یا کلیک بر روی آیتم(در صورتی که نوع دیالوگ لیست باشد) پاسخ بدهد فرا خوانده میشود
tags: []
---
<div dir="rtl" style={{ textAlign: "right" }}>
## توضیحات
این کالب... | openmultiplayer/web/docs/translations/fa/scripting/callbacks/OnDialogResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fa/scripting/callbacks/OnDialogResponse.md",
"repo_id": "openmultiplayer",
"token_count": 3414
} | 366 |
---
title: Contributing
description: How to contribute to the SA-MP Wiki and open.mp documentation for PH.
---
Kung gusto mong makatulong sa pag gawa ng documents tungkol sa scripting ay kelangan marunong ka magtagalog syempre kelangan mo dito ng konting kaalamaan tungkol sa git kasi kelangan natin ng magandang docume... | openmultiplayer/web/docs/translations/fil/meta/contributing.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/meta/contributing.md",
"repo_id": "openmultiplayer",
"token_count": 3342
} | 367 |
---
title: OnNPCEnterVehicle
description: Ang callback na ito ay tinatawag kapag ang isang NPC ay sumakay sa isang sasakyan.
tags: ["npc"]
---
## Description
Ang callback na ito ay tinatawag kapag ang isang NPC ay sumakay sa isang sasakyan.
| Name | Description |
|... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnNPCEnterVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnNPCEnterVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 413
} | 368 |
---
title: OnPlayerExitVehicle
description: This callback is called when a player starts to exit a vehicle.
tags: []
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
## Paglalarawan
Ang callback na ito ay natatawag kapag ang isang manlalaro ay lumabas sa sasakyan.
| Pangalan | Deskripsyon ... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerExitVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerExitVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 845
} | 369 |
---
title: AddVehicleComponent
description: Nagdaragdag ng 'bahagi' (madalas na tinutukoy bilang 'mod' (pagbabago)) sa isang sasakyan.
tags: ["vehicle"]
---
## Description
Nagdaragdag ng 'bahagi' (madalas na tinutukoy bilang 'mod' (pagbabago)) sa isang sasakyan. Ang mga wastong bahagi ay matatagpuan dito.
| Name ... | openmultiplayer/web/docs/translations/fil/scripting/functions/AddVehicleComponent.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AddVehicleComponent.md",
"repo_id": "openmultiplayer",
"token_count": 948
} | 370 |
---
title: ChangeVehiclePaintjob
description: Baguhin ang paintjob ng sasakyan (para sa mga payak na kulay tingnan ang ChangeVehicleColor).
tags: ["vehicle"]
---
## Description
Change a vehicle's paintjob (for plain colors see ChangeVehicleColor).
| Name | Description ... | openmultiplayer/web/docs/translations/fil/scripting/functions/ChangeVehiclePaintjob.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/ChangeVehiclePaintjob.md",
"repo_id": "openmultiplayer",
"token_count": 594
} | 371 |
---
title: GetObjectModel
description: Kunin ang model ID ng isang object (CreateObject).
tags: []
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Kunin ang model ID ng isang object (CreateObject).
| Name | Description |
| -------- | ----------------------------------------... | openmultiplayer/web/docs/translations/fil/scripting/functions/GetObjectModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/GetObjectModel.md",
"repo_id": "openmultiplayer",
"token_count": 232
} | 372 |
---
title: SetPlayerScore
description: I-set ang score ng player
tags: ["player"]
---
## Description
I-set ang score ng player. Ang mga player scores ay ipinapakita sa scoreboard (ipinapakita sa pamamagitan ng pagpindot sa TAB key).
| Name | Description |
| -------- | --------------... | openmultiplayer/web/docs/translations/fil/scripting/functions/SetPlayerScore.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/SetPlayerScore.md",
"repo_id": "openmultiplayer",
"token_count": 383
} | 373 |
---
title: floatadd
description: Nagdaragdag ng dalawang float nang magkasama.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
Nagdaragdag ng dalawang float nang magkasama. Ang function na ito ay kalabisan dahil ang karaniwang operator (+) ay gumagawa ng parehong bagay.
| Name | Descr... | openmultiplayer/web/docs/translations/fil/scripting/functions/floatadd.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/floatadd.md",
"repo_id": "openmultiplayer",
"token_count": 388
} | 374 |
# Maintien du wiki SA:MP par open.mp
Bienvenue sur le wiki de SA:MP, qui est aujourd'hui maintenu par l'équipe open.mp et sa communauté _(et, plus généralement, la communauté SA:MP)_.
Cette documentation tend à recenser de la manière la plus exhaustive tout ce qui pourrait être utile aux développeurs. Elle vise à êtr... | openmultiplayer/web/docs/translations/fr/index.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/index.md",
"repo_id": "openmultiplayer",
"token_count": 459
} | 375 |
---
title: OnNPCConnect
description: Ce rappel est appelé lorsqu'un PNJ se connecte avec succès au serveur.
tags: ["npc"]
---
## Description
Ce rappel est appelé lorsqu'un PNJ se connecte avec succès au serveur.
| Nom | Description |
| ------------ | -----------------... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnNPCConnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnNPCConnect.md",
"repo_id": "openmultiplayer",
"token_count": 403
} | 376 |
---
title: OnPlayerConnect
description: This callback is called when a player connects to the server.
tags: ["player"]
---
## Paramètres
Cette callback est appelée quand un joueur se connecte au serveur.
| Nom | Description |
| --------------- | --------------------- |
| `int` playerid | ID du... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerConnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerConnect.md",
"repo_id": "openmultiplayer",
"token_count": 428
} | 377 |
---
title: OnPlayerKeyStateChange
description: Cette callback est appelée lorsqu'un joueur appuie / lâche une touche de son clavier (uniquement les touches supportées par SA:MP)
tags: ["player"]
---
## Paramètres
Cette callback est appelée lorsqu'un joueur appuie / lâche une touche de son clavier (uniquement les touc... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerKeyStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerKeyStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 3332
} | 378 |
---
title: OnPlayerStreamOut
description: Cette fonction est appelée quand un joueur est déchargé (n'est plus visible) pour un joueur.
tags: ["player"]
---
## Paramètres
Cette fonction est appelée quand un joueur est déchargé (n'est plus visible) pour un joueur.
| Nom | Description ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 445
} | 379 |
---
title: OnVehicleSirenStateChange
description: Cette callback est appelée lorsque l'état de la sirène d'un véhicule change.
tags: ["vehicle"]
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
## Paramètres
Cette callback est appelée lorsque l'état de la sirène d'un véhicule change.
| Nom | De... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleSirenStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleSirenStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 594
} | 380 |
---
title: OnFilterScriptExit
description: Ez a visszahívás egy filterszkript leállása során kerül meghívásra.
tags: []
---
## Leírás
Ez a visszahívás egy filterszkript leállása során kerül meghívásra. Csak abban a filterszkriptben lesz meghívva amelyik éppen leáll.
## Példák
```c
public OnFilterScriptExit()
{
... | openmultiplayer/web/docs/translations/hu/scripting/callbacks/OnFilterScriptExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/hu/scripting/callbacks/OnFilterScriptExit.md",
"repo_id": "openmultiplayer",
"token_count": 405
} | 381 |
---
title: OnClientCheckResponse
description: This callback is called when a SendClientCheck request completes
tags: []
---
## Description
This callback is called when a SendClientCheck request completes.
| Name | Description |
| ------------- | --------------------------------- |
| pl... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnClientCheckResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnClientCheckResponse.md",
"repo_id": "openmultiplayer",
"token_count": 454
} | 382 |
---
title: OnPlayerDeath
description: Callback ini akan terpanggil ketika pemain mati, entah itu dengan bunuh diri atau terbunuh oleh pemain lain.
tags: ["player"]
---
## Deskripsi
Callback ini akan terpanggil ketika pemain mati, entah itu dengan bunuh diri atau terbunuh oleh pemain lain.
| Nama | Deskripsi... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerDeath.md",
"repo_id": "openmultiplayer",
"token_count": 1093
} | 383 |
---
title: OnPlayerUpdate
description: Callback ini akan terpanggil ketika klien/pemain memperbarui server dengan statusnya.
tags: ["player"]
---
## Deskripsi
Callback ini di panggil ketika klien/pemain memperbarui server dengan statusnya. Ini sering digunakan untuk membuat memanggil balik khusus untuk pembaruan klie... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1263
} | 384 |
---
title: Kick
description: Tendang player dari server. Player harus keluar dari game dan re-connect jika mereka masih ingin lanjut bermain.
tags: ["administration"]
---
## Deskripsi
Tendang player dari server. Player harus keluar dari game dan re-connect jika mereka masih ingin lanjut bermain.
| Nama | Deskrip... | openmultiplayer/web/docs/translations/id/scripting/functions/Kick.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/Kick.md",
"repo_id": "openmultiplayer",
"token_count": 682
} | 385 |
---
title: tolower
description: Fungsi ini mengubah sebuah huruf menjadi huruf besar.
tags: ["string"]
---
<LowercaseNote />
## Deskripsi
Fungsi ini mengubah sebuah huruf menjadi huruf besar.
| Nama | Deskripsi |
| ---- | ------------------------------------------ |
| c | Karakte... | openmultiplayer/web/docs/translations/id/scripting/functions/toupper.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/toupper.md",
"repo_id": "openmultiplayer",
"token_count": 304
} | 386 |
---
id: startingids
title: ID Permulaan
description: Semuanya, seperti objek, pemain, atau ID kendaraan menggunakan ID. Beberapa ID dimulai dari 0, ada juga yang dimulai dari 1.
sidebar_label: ID Permulaan
---
Semuanya, seperti objek, pemain, atau ID kendaraan menggunakan ID. Beberapa ID dimulai dari 0, ada juga yang ... | openmultiplayer/web/docs/translations/id/scripting/resources/startingids.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/resources/startingids.md",
"repo_id": "openmultiplayer",
"token_count": 663
} | 387 |
---
title: Menu Guide
---
Sebuah tutorial pendek yang menjelaskan bagaimana cara menggunakan sistem menu pada game. Sistem menu ini sangat berbeda dengan SA-MP dialog dan lebih mencerminkan UI tradisional dari gim aslinya.
## Menu di dalam SA-MP
Menu kelihatannya sangat rumit dan susah dibuat scriptnya untuk kebanya... | openmultiplayer/web/docs/translations/id/tutorials/MenuGuide.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/tutorials/MenuGuide.md",
"repo_id": "openmultiplayer",
"token_count": 3184
} | 388 |
---
title: AddStaticPickup
description: Ta funkcja dodaje „statyczny” pickup do gry.
tags: []
---
## Opis
Ta funkcja dodaje „statyczny” pickup do gry. Pickupy wspierają bronie, zdrowie, kamizelkę itd. i mogą działać bez konieczności ich dodatkowego kodowania (bronie/życie/kamizelka będą dawane automatycznie).
| Nazw... | openmultiplayer/web/docs/translations/pl/scripting/functions/AddStaticPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/AddStaticPickup.md",
"repo_id": "openmultiplayer",
"token_count": 1334
} | 389 |
---
title: AttachPlayerObjectToVehicle
description: Przyczepia obiekt gracza do pojazdu.
tags: ["player", "vehicle"]
---
## Opis
Przyczepia obiekt gracza do pojazdu.
| Nazwa | Opis |
| ------------- | ----------------------------------------------------- |
| p... | openmultiplayer/web/docs/translations/pl/scripting/functions/AttachPlayerObjectToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/AttachPlayerObjectToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 1348
} | 390 |
---
title: OnClientMessage
description: Esta callback é chamada toda vez que um NPC ver uma ClientMessage.
tags: []
---
## Descrição
Essa callback é chamada sempre que um NPC ver uma ClientMessage. Isso acontecerá sempre que uma função SendClientMessageToAll for usada e sempre que uma função SendClientMessage é envia... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 352
} | 391 |
---
title: OnPlayerClickMap
description: OnPlayerClickMap é chamado quando um jogador pocisiona um ponto no mapa do menu de pausa (clicando com botão direito).
tags: ["player"]
---
## Descrição
OnPlayerClickMap é chamado quando um jogador pocisiona um ponto no mapa do menu de pausa (clicando com botão direito).
| No... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerClickMap.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerClickMap.md",
"repo_id": "openmultiplayer",
"token_count": 631
} | 392 |
---
title: OnPlayerGiveDamage
description: Esta callback é chamada quando um jogador causa danos a algum jogador.
tags: ["player"]
---
<VersionWarnPT name='callback' version='SA-MP 0.3.d' />
## Descrição
Esta callback é chamada quando um jogador causa danos a algum jogador.
| Nome | De... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerGiveDamage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerGiveDamage.md",
"repo_id": "openmultiplayer",
"token_count": 880
} | 393 |
---
title: OnPlayerText
description: Executada quando o Player envia uma mensagem no chat.
tags: ["player"]
---
## Descrição
Executada quando o Player envia uma mensagem no chat.
| Nome | Descrição |
| -------- | ---------------------------------------- |
| playerid | ID do jogador... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerText.md",
"repo_id": "openmultiplayer",
"token_count": 425
} | 394 |
---
title: OnVehicleStreamOut
description: Essa callback é chamada quando um veículo sai da área visível de um jogador.
tags: ["vehicle"]
---
## Descrição
Essa callback é chamada quando um veículo sai da área visível de um jogador.
| Nome | Descrição |
| --... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 393
} | 395 |
---
title: Attach3DTextLabelToVehicle
description: Anexa uma Text Label 3D a um veículo específico.
tags: ["vehicle", "3dtextlabel"]
---
## Descrição
Anexa uma Text Label 3D a um veículo específico.
| Nome | Descrição |
| --------- | -----------... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/Attach3DTextLabelToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/Attach3DTextLabelToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 955
} | 396 |
---
title: GangZoneFlashForPlayer
description: Faz a gangzone piscar para um jogador.
tags: ["player", "gangzone"]
---
## Descrição
Faz a gangzone piscar para um jogador.
| Nome | Descrição |
| ---------- | ----... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GangZoneFlashForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GangZoneFlashForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 842
} | 397 |
---
title: GetPlayerMenu
description: Obtém o ID do menu que o player está a visualizar no momento (mostrado por ShowMenuForPlayer).
tags: ["player", "menu"]
---
## Descrição
Obtém o ID do menu que o player está a visualizar no momento (mostrado por ShowMenuForPlayer).
| Nome | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetPlayerMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetPlayerMenu.md",
"repo_id": "openmultiplayer",
"token_count": 507
} | 398 |
---
title: ShowPlayerDialog
description: Mostra um dialog (janela) asíncrono (um único por vez).
tags: ["player"]
---
## Descrição
Mostra um dialog (janela) asíncrono (um único por vez).
| Parâmetro | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/ShowPlayerDialog.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/ShowPlayerDialog.md",
"repo_id": "openmultiplayer",
"token_count": 1733
} | 399 |
---
title: Estilos de corte de câmera
---
## Descrição
Para ser usado com [SetPlayerCameraLookAt](../functions/SetPlayerCameraLookAt), [InterpolateCameraPos](../functions/InterpolateCameraPos.md) e [InterpolateCameraLookAt](../functions/InterpolateCameraLookAt.md).
## Estilos de corte
```c
1 - CAMERA_MOVE
2 - CAMER... | openmultiplayer/web/docs/translations/pt-BR/scripting/resources/cameracutstyles.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/resources/cameracutstyles.md",
"repo_id": "openmultiplayer",
"token_count": 124
} | 400 |
---
titlu: OnClientMessage
descriere: Acest callback este apelat oricand NPC-ul vede un ClientMessage
tags: []
---
## Descriere
Acest callback este apelat oricand NPC-ul vede un ClientMessage. Acesta va fi de fiecare data cand se utilizeaza functia SendClientMessageToAll si de fiecare data functia SendClientMessage e... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 326
} | 401 |
---
title: OnPlayerDisconnect
description: Acest callback este apelat atunci când un jucător se deconectează de la server.
tags: ["player"]
---
## Descriere
Acest callback este apelat atunci când un jucător se deconectează de la server.
| Nume | Descriere |
| -------- | -... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerDisconnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerDisconnect.md",
"repo_id": "openmultiplayer",
"token_count": 1024
} | 402 |
---
title: OnPlayerPickUpPickup
description: Apelat atunci când un jucător preia un pick-up creat cu CreatePickup.
tags: ["player"]
---
## Descriere
Apelat atunci când un jucător preia un pick-up creat cu CreatePickup.
| Nume | Descriere |
| -------- | ----------------------... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerPickUpPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerPickUpPickup.md",
"repo_id": "openmultiplayer",
"token_count": 498
} | 403 |
---
title: OnRecordingPlaybackEnd
description: Acest callback este apelat atunci când un fișier înregistrat care este reprodus cu NPCStartRecordingPlayback a ajuns la final.
tags: []
---
## Descriere
Acest callback este apelat atunci când un fișier înregistrat care este reprodus cu NPCStartRecordingPlayback a ajuns l... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnRecordingPlaybackEnd.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnRecordingPlaybackEnd.md",
"repo_id": "openmultiplayer",
"token_count": 203
} | 404 |
---
title: AddSimpleModel
description: Adaugă un nou model de obiect simplu personalizat pentru descărcare.
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Descriere
Adaugă un nou model de obiect simplu personalizat pentru descărcare. Fișierele model vor fi stocate în documentele playerului \ GTA San Andre... | openmultiplayer/web/docs/translations/ro/scripting/functions/AddSimpleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/functions/AddSimpleModel.md",
"repo_id": "openmultiplayer",
"token_count": 1189
} | 405 |
---
title: "Compensarea intarzierii"
descripion: Explicație de compensare a întârzierii.
---
Compensarea întârzierii pentru gloanțele declanșate este activată implicit pe serverele SA-MP de la 0.3z. Poate fi comutat utilizând variabila server `lagcompmode` din [server.cfg] (server.cfg). Setarea la 0 va dezactiva compl... | openmultiplayer/web/docs/translations/ro/server/LagCompensation.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/server/LagCompensation.md",
"repo_id": "openmultiplayer",
"token_count": 258
} | 406 |
---
title: OnFilterScriptInit
description: Ta "callback" imenuje se, ko je "filterscript" začne.
tags: []
---
## Opis
Ta "callback" imenuje se, ko je "filterscript" začne.. Kliče se samo znotraj "filterscript" v katerem se začne.
## Primeri
```c
public OnFilterScriptInit()
{
print("\n---------------------------... | openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnFilterScriptInit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnFilterScriptInit.md",
"repo_id": "openmultiplayer",
"token_count": 176
} | 407 |
---
title: ConnectNPC
description: Poveze NPC-a na server.
tags: ["npc"]
---
## Opis
Poveze NPC-a na server.
| Ime | Opis |
| -------- | ----------------------------------------------------------------------------- |
| name[] | Ime sa ko... | openmultiplayer/web/docs/translations/sr/scripting/functions/ConnectNPC.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sr/scripting/functions/ConnectNPC.md",
"repo_id": "openmultiplayer",
"token_count": 414
} | 408 |
---
title: OnDialogResponse
description: Callback นี้ถูกเรียกเมื่อผู้เล่นตอบสนองกับกล่องโต้ตอบที่แสดงโดยใช้ ShowPlayerDialog ไม่ว่าจะ คลิกปุ่ม, กด ENTER/ESC หรือดับเบิลคลิกที่รายการไอเทม (หากใช้กล่องโต้ตอบแบบรายการ)
tags: []
---
## คำอธิบาย
Callback นี้ถูกเรียกเมื่อผู้เล่นตอบสนองกับกล่องโต้ตอบที่แสดงโดยใช้ ShowPlayer... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnDialogResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnDialogResponse.md",
"repo_id": "openmultiplayer",
"token_count": 6055
} | 409 |
---
title: OnPlayerEditAttachedObject
description: This callback is called when a player ends attached object edition mode.
tags: ["player"]
---
## คำอธิบาย
This callback is called when a player ends attached object edition mode.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerEditAttachedObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerEditAttachedObject.md",
"repo_id": "openmultiplayer",
"token_count": 1733
} | 410 |
---
title: OnPlayerRequestClass
description: Called when a player changes class at class selection (and when class selection first appears).
tags: ["player"]
---
## คำอธิบาย
Called when a player changes class at class selection (and when class selection first appears).
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerRequestClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerRequestClass.md",
"repo_id": "openmultiplayer",
"token_count": 553
} | 411 |
---
title: OnTrailerUpdate
description: This callback is called when a player sent a trailer update.
tags: []
---
## คำอธิบาย
This callback is called when a player sent a trailer update.
| Name | Description |
| --------- | ---------------------------------------------- |
| pl... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnTrailerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnTrailerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 630
} | 412 |
---
title: AttachObjectToVehicle
description: Attach an object to a vehicle.
tags: ["vehicle"]
---
## คำอธิบาย
Attach an object to a vehicle.
| Name | Description |
| -----------... | openmultiplayer/web/docs/translations/th/scripting/functions/AttachObjectToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/AttachObjectToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 1913
} | 413 |
---
title: Create3DTextLabel
description: Creates a 3D Text Label at a specific location in the world.
tags: ["3dtextlabel"]
---
## คำอธิบาย
Creates a 3D Text Label at a specific location in the world
| Name | Description |
| ------------ | ----------... | openmultiplayer/web/docs/translations/th/scripting/functions/Create3DTextLabel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/Create3DTextLabel.md",
"repo_id": "openmultiplayer",
"token_count": 1161
} | 414 |
---
title: DestroyMenu
description: Destroys the specified menu.
tags: ["menu"]
---
## คำอธิบาย
Destroys the specified menu.
| Name | Description |
| ------ | ---------------------- |
| menuid | The menu ID to destroy |
## ส่งคืน
True if the destroying was successful, otherwise false
## ตัวอย่าง
```... | openmultiplayer/web/docs/translations/th/scripting/functions/DestroyMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/DestroyMenu.md",
"repo_id": "openmultiplayer",
"token_count": 405
} | 415 |
---
title: EnablePlayerCameraTarget
description: Toggle camera targeting functions for a player.
tags: ["player"]
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Toggle camera targeting functions for a player. Disabled by default to save bandwidth.
| Name ... | openmultiplayer/web/docs/translations/th/scripting/functions/EnablePlayerCameraTarget.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/EnablePlayerCameraTarget.md",
"repo_id": "openmultiplayer",
"token_count": 559
} | 416 |
---
title: GangZoneHideForAll
description: GangZoneHideForAll hides a gangzone from all players.
tags: ["gangzone"]
---
## คำอธิบาย
GangZoneHideForAll hides a gangzone from all players.
| Name | Description |
| ---- | ----------------- |
| zone | The zone to hide. |
## ส่งคืน
This function does not return an... | openmultiplayer/web/docs/translations/th/scripting/functions/GangZoneHideForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GangZoneHideForAll.md",
"repo_id": "openmultiplayer",
"token_count": 510
} | 417 |
---
title: GetGravity_FR
description: Permets d'obtenir la valeur de la gravité.
tags: []
---
## คำอธิบาย
Permets d'obtenir la valeur de la gravité.
| Name | Description |
| ---- | ----------- |
## ตัวอย่าง
```c
#if !defined GetGravity
native Float:GetGravity();
#endif
printf("Gravité actuelle: %f", GetGravi... | openmultiplayer/web/docs/translations/th/scripting/functions/GetGravity_FR.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetGravity_FR.md",
"repo_id": "openmultiplayer",
"token_count": 292
} | 418 |
---
title: GetPlayerCameraAspectRatio
description: Retrieves the aspect ratio of a player's camera.
tags: ["player"]
---
## คำอธิบาย
Retrieves the aspect ratio of a player's camera.
| Name | Description |
| -------- | ---------------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCameraAspectRatio.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCameraAspectRatio.md",
"repo_id": "openmultiplayer",
"token_count": 564
} | 419 |
---
title: GetPlayerHealth
description: The function GetPlayerHealth allows you to retrieve the health of a player.
tags: ["player"]
---
## คำอธิบาย
The function GetPlayerHealth allows you to retrieve the health of a player. Useful for cheat detection, among other things.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerHealth.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerHealth.md",
"repo_id": "openmultiplayer",
"token_count": 597
} | 420 |
---
title: GetPlayerScore
description: This function returns a player's score as it was set using SetPlayerScore.
tags: ["player"]
---
## คำอธิบาย
This function returns a player's score as it was set using SetPlayerScore
| Name | Description |
| -------- | ------------------------------- |
| ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerScore.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerScore.md",
"repo_id": "openmultiplayer",
"token_count": 383
} | 421 |
---
title: GetPlayerWeapon
description: Returns the ID of the weapon a player is currently holding.
tags: ["player"]
---
## คำอธิบาย
Returns the ID of the weapon a player is currently holding.
| Name | Description |
| -------- | --------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerWeapon.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerWeapon.md",
"repo_id": "openmultiplayer",
"token_count": 635
} | 422 |
---
title: GetVehicleDamageStatus
description: Retrieve the damage statuses of a vehicle.
tags: ["vehicle"]
---
## คำอธิบาย
Retrieve the damage statuses of a vehicle.
| Name | Description |
| --------------------------- | -----------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleDamageStatus.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleDamageStatus.md",
"repo_id": "openmultiplayer",
"token_count": 869
} | 423 |
---
title: GetWeaponName
description: Get the name of a weapon.
tags: []
---
## คำอธิบาย
Get the name of a weapon.
| Name | Description |
| -------------- | ----------------------------------------------------------------------- |
| weaponid ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetWeaponName.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetWeaponName.md",
"repo_id": "openmultiplayer",
"token_count": 613
} | 424 |
---
title: ManualVehicleEngineAndLights
description: Use this function before any player connects (OnGameModeInit) to tell all clients that the script will control vehicle engines and lights.
tags: ["vehicle"]
---
## คำอธิบาย
Use this function before any player connects (OnGameModeInit) to tell all clients that the s... | openmultiplayer/web/docs/translations/th/scripting/functions/ManualVehicleEngineAndLights.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ManualVehicleEngineAndLights.md",
"repo_id": "openmultiplayer",
"token_count": 401
} | 425 |
---
title: PlayerSpectateVehicle
description: Sets a player to spectate another vehicle.
tags: ["player", "vehicle"]
---
## คำอธิบาย
Sets a player to spectate another vehicle. Their camera will be attached to the vehicle as if they are driving it.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayerSpectateVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerSpectateVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 690
} | 426 |
---
title: PlayerTextDrawSetString
description: Change the text of a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## คำอธิบาย
Change the text of a player-textdraw.
| Name | Description |
| -------- | ------------------------------------------------- |
... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetString.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetString.md",
"repo_id": "openmultiplayer",
"token_count": 1110
} | 427 |
---
title: SendClientMessage
description: This function sends a message to a specific player with a chosen color in the chat.
tags: []
---
## คำอธิบาย
This function sends a message to a specific player with a chosen color in the chat. The whole line in the chatbox will be in the set color unless color embedding is us... | openmultiplayer/web/docs/translations/th/scripting/functions/SendClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SendClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 698
} | 428 |
---
title: SetMenuColumnHeader
description: Sets the caption of a column in a menu.
tags: ["menu"]
---
## คำอธิบาย
Sets the caption of a column in a menu.
| Name | Description |
| ------ | ----------------------------------------- |
| menuid | ID of the menu to change. ... | openmultiplayer/web/docs/translations/th/scripting/functions/SetMenuColumnHeader.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetMenuColumnHeader.md",
"repo_id": "openmultiplayer",
"token_count": 575
} | 429 |
---
title: SetPlayerCameraPos
description: Sets the camera to a specific position for a player.
tags: ["player"]
---
## คำอธิบาย
Sets the camera to a specific position for a player.
| Name | Description |
| -------- | ---------------------------------------- |
| playerid | ID of the ... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerCameraPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerCameraPos.md",
"repo_id": "openmultiplayer",
"token_count": 461
} | 430 |
---
title: SetPlayerObjectPos
description: Sets the position of a player-object to the specified coordinates.
tags: ["player"]
---
## คำอธิบาย
Sets the position of a player-object to the specified coordinates.
| Name | Description |
| ------... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerObjectPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerObjectPos.md",
"repo_id": "openmultiplayer",
"token_count": 830
} | 431 |
---
title: SetPlayerWorldBounds
description: Set the world boundaries for a player.
tags: ["player"]
---
## คำอธิบาย
Set the world boundaries for a player. Players can not go out of the boundaries (they will be pushed back in).
| Name | Description |
| ----------- | --... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerWorldBounds.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerWorldBounds.md",
"repo_id": "openmultiplayer",
"token_count": 693
} | 432 |
---
title: SetVehicleToRespawn
description: Sets a vehicle back to the position at where it was created.
tags: ["vehicle"]
---
## คำอธิบาย
Sets a vehicle back to the position at where it was created.
| Name | Description |
| --------- | -------------------------------- |
| vehicleid | The I... | openmultiplayer/web/docs/translations/th/scripting/functions/SetVehicleToRespawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetVehicleToRespawn.md",
"repo_id": "openmultiplayer",
"token_count": 322
} | 433 |
---
title: StopPlayerObject
description: Stop a moving player-object after MovePlayerObject has been used.
tags: ["player"]
---
## คำอธิบาย
Stop a moving player-object after MovePlayerObject has been used.
| Name | Description |
| -------- | ---------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/StopPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/StopPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 570
} | 434 |
---
title: TextDrawSetProportional
description: Appears to scale text spacing to a proportional ratio.
tags: ["textdraw"]
---
## คำอธิบาย
Appears to scale text spacing to a proportional ratio. Useful when using TextDrawLetterSize to ensure the text has even character spacing.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawSetProportional.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawSetProportional.md",
"repo_id": "openmultiplayer",
"token_count": 931
} | 435 |
---
title: UsePlayerPedAnims
description: Uses standard player walking animation (animation of the CJ skin) instead of custom animations for every skin (e.g. skating for skater skins).
tags: ["player"]
---
## คำอธิบาย
Uses standard player walking animation (animation of the CJ skin) instead of custom animations for e... | openmultiplayer/web/docs/translations/th/scripting/functions/UsePlayerPedAnims.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/UsePlayerPedAnims.md",
"repo_id": "openmultiplayer",
"token_count": 396
} | 436 |
---
title: flength
description: Returns the length of a file.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Returns the length of a file.
| Name | Description |
| ------ | ------------------------------------------ |
| handle | The file handle... | openmultiplayer/web/docs/translations/th/scripting/functions/flength.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/flength.md",
"repo_id": "openmultiplayer",
"token_count": 709
} | 437 |
---
title: floattan
description: Get the tangent from a given angle.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Get the tangent from a given angle. The input angle may be in radians, degrees or grades.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/floattan.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/floattan.md",
"repo_id": "openmultiplayer",
"token_count": 521
} | 438 |
---
title: ispacked
description: Checks if the given string is packed.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Checks if the given string is packed.
| Name | Description |
| ------ | -------------------- |
| string | The string to check. |
## ส่งคืน
1 if th... | openmultiplayer/web/docs/translations/th/scripting/functions/ispacked.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ispacked.md",
"repo_id": "openmultiplayer",
"token_count": 259
} | 439 |
---
title: strfind
description: Search for a sub string in a string.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Search for a sub string in a string.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/strfind.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/strfind.md",
"repo_id": "openmultiplayer",
"token_count": 826
} | 440 |
---
title: Crime List
description: Crime List to be used with [PlayCrimeReportForPlayer](../functions/PlayCrimeReportForPlayer) function.
sidebar_label: Crime List
---
To be used with [PlayCrimeReportForPlayer](../functions/PlayCrimeReportForPlayer) function.
| Crime ID | Ten-code | Description ... | openmultiplayer/web/docs/translations/th/scripting/resources/crimelist.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/crimelist.md",
"repo_id": "openmultiplayer",
"token_count": 1223
} | 441 |
---
title: Marker Modes
---
To be used with [ShowPlayerMarkers](../functions/ShowPlayerMarkers).
```c
PLAYER_MARKERS_MODE_OFF (0)
PLAYER_MARKERS_MODE_GLOBAL (1)
PLAYER_MARKERS_MODE_STREAMED (2)
```
| openmultiplayer/web/docs/translations/th/scripting/resources/markermodes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/markermodes.md",
"repo_id": "openmultiplayer",
"token_count": 98
} | 442 |
---
title: Spectate Modes
description: Spectate Modes to be used with [PlayerSpectatePlayer](../functions/PlayerSpectatePlayer.md) and [PlayerSpectateVehicle](../functions/PlayerSpectateVehicle.md) functions.
tags: []
sidebar_label: Spectate Modes
---
Spectate Modes to be used with [PlayerSpectatePlayer](../functions/... | openmultiplayer/web/docs/translations/th/scripting/resources/spectatemodes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/spectatemodes.md",
"repo_id": "openmultiplayer",
"token_count": 524
} | 443 |
---
title: "โครงสร้างขั้นสูง"
---
## การจัดการ Array
### หาช่องว่างอย่างไรให้ถูกต้อง
ตัวอย่างนี้แสดงวิธีการหาช่องว่างในอาร์เรย์โดยใช้โค้ดมาตรฐาน แบบฝึกหัด
```c
new
gMyArray[10];
stock FindEmptySlot()
{
new
i = 0;
while (i < sizeof (gMyArray) && gMyArray[i])
{
i++;
}
if (i ==... | openmultiplayer/web/docs/translations/th/tutorials/AdvancedStructures.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/tutorials/AdvancedStructures.md",
"repo_id": "openmultiplayer",
"token_count": 10237
} | 444 |
---
title: OnActorStreamOut
description: Bu callback, bir aktör oyuncunun akış alanından ayrıldığında tetiklenir.
tags: []
---
:::warning
Bu callback SA-MP 0.3.7 sürümüyle birlikte eklenmiştir. Önceki SA-MP sürümlerinde çalışmaz.
:::
## Açıklama
Bu callback, bir aktör oyuncunun akış alanından ayrıldığında tetiklen... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnActorStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnActorStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 461
} | 445 |
---
title: OnPlayerDeath
description: This callback is called when a player dies, either by suicide or by being killed by another player.
tags: ["player"]
---
## Açıklama
Bu callback bir oyuncu öldüğünde, intihar ettiğinde yada başka bir oyuncu tarafından öldürüldüğünde çağırılır.
| İsim | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerDeath.md",
"repo_id": "openmultiplayer",
"token_count": 1319
} | 446 |
---
title: OnPlayerObjectMoved
description: Fonksiyon, bir oyuncu objesi MovePlayerObject'den sonra hareket ettirildiğinde (hareket etmeyi durdurduğunda) çağrılır.
tags: ["player"]
---
## Açıklama
Fonksiyon, bir oyuncu objesi MovePlayerObject'den sonra hareket ettirildiğinde (hareket etmeyi durdurduğunda) çağrılır. ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 584
} | 447 |
---
title: OnRconLoginAttempt
description: Bu fonksiyon, bir oyuncu RCON olarak oturum açmaya çalıştığında giriş denemesi başarısız olsa bile çağrılır.
tags: []
---
## Açıklama
Bu fonksiyon, bir oyuncu RCON olarak oturum açmaya çalıştığında giriş denemesi başarısız olsa bile çağrılır.
| Parametre | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnRconLoginAttempt.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnRconLoginAttempt.md",
"repo_id": "openmultiplayer",
"token_count": 1058
} | 448 |
---
title: AddServerRule
description: Bir sunucu kuralı ekleyin.
tags: ["rule"]
---
<VersionWarnTR version='omp v1.1.0.2612' />
## Açıklama
Bir sunucu kuralı ekleyin.
| İsim | Açıklama |
| ----------------- | -------------------------------------------... | openmultiplayer/web/docs/translations/tr/scripting/functions/AddServerRule.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/AddServerRule.md",
"repo_id": "openmultiplayer",
"token_count": 509
} | 449 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.