text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
title: OnPlayerEnterVehicle
description: This callback is called when a player starts to enter a vehicle, meaning the player is not in vehicle yet at the time this callback is called.
tags: []
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
## Paglalarawan
Ang callback na ito ay natatawag kapag ang isa... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerEnterVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerEnterVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 838
} | 382 |
---
title: AddStaticVehicleEx
description: Nagdaragdag ng 'static' na sasakyan (mga modelo ay paunang na-load para sa mga manlalaro) sa gamemode.
tags: ["vehicle"]
---
## Description
Nagdaragdag ng 'static' na sasakyan (mga modelo ay paunang na-load para sa mga manlalaro) sa gamemode. Naiiba sa AddStaticVehicle sa is... | openmultiplayer/web/docs/translations/fil/scripting/functions/AddStaticVehicleEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AddStaticVehicleEx.md",
"repo_id": "openmultiplayer",
"token_count": 983
} | 383 |
---
title: CancelSelectTextDraw
description: Kanselahin ang pagpili ng textdraw gamit ang mouse.
tags: ["textdraw"]
---
## Description
Kanselahin ang pagpili ng textdraw gamit ang mouse.
| Name | Description |
| -------- | ----------------------------------... | openmultiplayer/web/docs/translations/fil/scripting/functions/CancelSelectTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/CancelSelectTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 534
} | 384 |
---
title: GetGravity
description: Kunin ang kasalukuyang naka set na gravity.
tags: []
---
## Description
Kunin ang kasalukuyang naka set na gravity.
## Examples
```c
#if !defined GetGravity
native Float:GetGravity();
#endif
printf("Current gravity: %f", GetGravity());
```
## Notes
:::warning
Ang function ... | openmultiplayer/web/docs/translations/fil/scripting/functions/GetGravity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/GetGravity.md",
"repo_id": "openmultiplayer",
"token_count": 190
} | 385 |
---
title: SetMyPos
description: I-set ang posisyon ng NPC
tags: ["npc"]
---
## Description
I-set ang posisyon ng NPC
| Name | Description |
| -------- | ------------------------------------|
| Float:x | Ang X coordinate kung saan ilalagay ang NPC |
| Float:y | Ang Y coordinate kung sa... | openmultiplayer/web/docs/translations/fil/scripting/functions/SetMyPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/SetMyPos.md",
"repo_id": "openmultiplayer",
"token_count": 235
} | 386 |
---
title: floatabs
description: Ibinabalik ng function na ito ang absolute value ng float.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
Ibinabalik ng function na ito ang absolute value ng float.
| Name | Description |
| ----------- | ---------------... | openmultiplayer/web/docs/translations/fil/scripting/functions/floatabs.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/floatabs.md",
"repo_id": "openmultiplayer",
"token_count": 219
} | 387 |
---
title: OnIncomingConnection
description: Cette callback est appelée quand une adresse IP tente de se connecter au serveur.
tags: [IP, connexion, joueur]
---
## Paramètres
Cette callback est appelée quand une adresse IP tente de se connecter au serveur. Pour bloquer une connexion, utilisez BlockIpAddress
| Nom ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnIncomingConnection.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnIncomingConnection.md",
"repo_id": "openmultiplayer",
"token_count": 561
} | 388 |
---
title: OnPlayerCommandText
description: Cette callback est appelée quand un joueur tape une commande.
tags: ["player"]
---
## Paramètres
Cette callback est appelée quand un joueur tape une commande. Les commandes débutent avec un slash _(/aide, ...)_.
| Nom | Description ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerCommandText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerCommandText.md",
"repo_id": "openmultiplayer",
"token_count": 622
} | 389 |
---
title: OnPlayerInteriorChange
description: Appelé lorsqu'un joueur change d'intérieur.
tags: ["player"]
---
## Paramètres
Appelé lorsqu'un joueur change d'intérieur. Peut être déclenché par [SetPlayerInterior](../functions/SetPlayerInterior), ou bien quand un joueur entre / sort d'un bâtiment.
| Name ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerInteriorChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerInteriorChange.md",
"repo_id": "openmultiplayer",
"token_count": 670
} | 390 |
---
title: OnPlayerStreamIn
description: Cette fonction est appelée quand un joueur est chargé (devient visible) pour un joueur.
tags: ["player"]
---
## Paramètres
Cette fonction est appelée quand un joueur est chargé (devient visible) pour un joueur.
| Nom | Description |
| ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 427
} | 391 |
---
title: OnVehicleRespray
description: Cette callback est appelée lorsqu'un joueur sort d'un garage de modification, indépendamment du fait que les couleurs aient été changées ou non.
tags: ["vehicle"]
---
## Paramètres
Cette callback est appelée lorsqu'un joueur sort d'un garage de modification, indépendamment du ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleRespray.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleRespray.md",
"repo_id": "openmultiplayer",
"token_count": 940
} | 392 |
---
title: Hozzájárulás
description: Hogyan járulhatok hozzá az SA-MP Wiki és az open.mp dokumentációhoz.
---
Ez a dokumentációs forrás bárki számára elérhető, azért hogy hozzá tudjon járulni a változtatásokhoz! Amire szükséged van az egy [GitHub](https://github.com) fiók és egy kevés szabadidő. Valamint ajánlott egy ... | openmultiplayer/web/docs/translations/hu/meta/Contributing.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/hu/meta/Contributing.md",
"repo_id": "openmultiplayer",
"token_count": 4802
} | 393 |
---
title: OnActorStreamOut
description: Callback ini akan terpanggil ketika sebuah aktor keluar di jangkauan stream dari klien pemain.
tags: []
---
:::warning
Fungsi ini telah ditambahkan dalam SA-MP 0.3.7 dan tidak bekerja pada versi dibawahnya!
:::
## Deskripsi
Callback ini akan terpanggil ketika sebuah aktor k... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnActorStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnActorStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 463
} | 394 |
---
title: OnPlayerConnect
description: Callback ini akan terpangil ketika pemain terhubung kedalam server.
tags: ["player"]
---
## Deskripsi
Callback ini akan terpanggil ketika pemain terhubung kedalam server.
| Nama | Deskripsi |
| -------- | ------------------------------- |
| playerid |... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerConnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerConnect.md",
"repo_id": "openmultiplayer",
"token_count": 373
} | 395 |
---
title: OnPlayerText
description: Callback ini akan terpanggil ketika pemain mengirimkan pesan chat.
tags: ["player"]
---
## Deskripsi
Callback ini akan terpanggil ketika pemain mengirimkan pesan chat.
| Nama | Deskripsi |
| -------- | -------------------------------------- |
| pl... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerText.md",
"repo_id": "openmultiplayer",
"token_count": 461
} | 396 |
---
title: IsPlayerInRangeOfPoint
description: Memeriksa apakah pemain berada dalam jangkauan suatu titik.
tags: ["player"]
---
## Deskripsi
Memeriksa apakah pemain berada dalam jangkauan suatu titik. Fungsi asalnya lebih cepat dari pada implementasi PAWN menggunakan rumus jarak.
| Nama | Deskripsi ... | openmultiplayer/web/docs/translations/id/scripting/functions/IsPlayerInRangeOfPoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/IsPlayerInRangeOfPoint.md",
"repo_id": "openmultiplayer",
"token_count": 703
} | 397 |
---
title: tolower
description: Fungsi ini mengubah sebuah huruf menjadi huruf kecil.
tags: ["string"]
---
<LowercaseNote />
## Deskripsi
Fungsi ini mengubah sebuah huruf menjadi huruf kecil.
| Nama | Deskripsi |
| ---- | ------------------------------------------ |
| c | Karakte... | openmultiplayer/web/docs/translations/id/scripting/functions/tolower.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/tolower.md",
"repo_id": "openmultiplayer",
"token_count": 304
} | 398 |
---
id: shopnames
title: Nama Toko
description: Informasi tentang nama-nama toko
---
:::note
Nama-nama ini untuk digunakan dengan [SetPlayerShopName](../functions/SetPlayerShopName).
:::
| Nama Interal toko | Apa ini ? | Koordinat |
| ----------------- | ------------- | --------------------... | openmultiplayer/web/docs/translations/id/scripting/resources/shopnames.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/resources/shopnames.md",
"repo_id": "openmultiplayer",
"token_count": 455
} | 399 |
---
title: AttachPlayerObjectToPlayer
description: Odpowiednik AttachObjectToPlayer, tylko dla obiektów stworzonych dla danego gracza.
tags: ["player"]
---
## Opis
Odpowiednik AttachObjectToPlayer, tylko dla obiektów stworzonych dla danego gracza.
| Nazwa | Opis ... | openmultiplayer/web/docs/translations/pl/scripting/functions/AttachPlayerObjectToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/AttachPlayerObjectToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 1333
} | 400 |
---
title: OnClientCheckResponse
description: Essa callback é executada quando a requisição enviada pela função SendClientCheck é completa.
tags: []
---
## Descrição
Essa callback é executada quando a requisição enviada pela função SendClientCheck é completa.
| Nome | Descrição |
| -... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnClientCheckResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnClientCheckResponse.md",
"repo_id": "openmultiplayer",
"token_count": 511
} | 401 |
---
title: OnObjectMoved
description: Esta callback é chamada quando um objeto é movido após o MoveObject (quando para de se mover).
tags: []
---
## Descrição
Esta callback é chamada quando um objeto é movido após o MoveObject (quando para de se mover).
| Nome | Descrição |
| -------- | -----... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 411
} | 402 |
---
title: OnPlayerFinishedDownloading
description: Esta callback é chamada quando um jogador termina de baixar os modelos customizados.
tags: ["player"]
---
<VersionWarnPT name='callback' version='SA-MP 0.3.DL-R1' />
## Descrição
Esta callback é chamada quando um jogador termina de baixar os modelos customizados. P... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerFinishedDownloading.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerFinishedDownloading.md",
"repo_id": "openmultiplayer",
"token_count": 446
} | 403 |
---
title: OnPlayerTakeDamage
description: Esta callback é chama quando algum jogador recebe dano.
tags: ["player"]
---
## Descrição
Esta callback é chama quando algum jogador recebe dano.
| Nome | Descreição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerTakeDamage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerTakeDamage.md",
"repo_id": "openmultiplayer",
"token_count": 1696
} | 404 |
---
title: OnVehicleStreamIn
description: Essa callback é chamada quando um veículo entra na área visível de um jogador.
tags: ["vehicle"]
---
<VersionWarnPT name='callback' version='SA-MP 0.3.a' />
## Descrição
Essa callback é chamada quando um veículo entra na área visível de um jogador.
| Nome | Descrição... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 404
} | 405 |
---
title: Attach3DTextLabelToPlayer
description: Anexa uma text label 3D a um jogador.
tags: ["player", "3dtextlabel"]
---
## Descrição
Anexa uma text label 3D a um jogador.
| Nome | Descrição |
| --------- | ------------------------------------------... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/Attach3DTextLabelToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/Attach3DTextLabelToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 762
} | 406 |
---
title: GangZoneFlashForAll
description: Faz a gangzone piscar para todos os jogadores.
tags: ["gangzone"]
---
## Descrição
Faz a gangzone piscar para todos os jogadores.
| Nome | Descrição |
| ---------- | -... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GangZoneFlashForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GangZoneFlashForAll.md",
"repo_id": "openmultiplayer",
"token_count": 764
} | 407 |
---
title: GetPlayerKeys
description: Verifica quais teclas um jogador está pressionando.
tags: ["player"]
---
## Descrição
Verifica quais teclas um jogador está pressionando.
| Nome | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetPlayerKeys.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetPlayerKeys.md",
"repo_id": "openmultiplayer",
"token_count": 1211
} | 408 |
---
title: SetVehicleToRespawn
description: Coloca um veículo de volta para a posição onde foi criado.
tags: ["vehicle"]
---
## Descrição
Coloca um veículo de volta para a posição onde foi criado.
| Nome | Descrição |
| --------- | ---------------------------- |
| vehicleid | O ID do veículo ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetVehicleToRespawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetVehicleToRespawn.md",
"repo_id": "openmultiplayer",
"token_count": 316
} | 409 |
---
title: Tipos de Hit
---
:::info
Para ser usado com [OnPlayerWeaponShot](../callbacks/OnPlayerWeaponShot).
:::
---
| Nome | Valor |
| ----------------------------- | ----- |
| BULLET_HIT_TYPE_NONE | 0 |
| BULLET_HIT_TYPE_PLAYER | 1 |
| BULLET_HIT_TYPE_VEHICLE ... | openmultiplayer/web/docs/translations/pt-BR/scripting/resources/bullethittypes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/resources/bullethittypes.md",
"repo_id": "openmultiplayer",
"token_count": 285
} | 410 |
---
title: OnClientCheckResponse
description: Acest callback este apelat când se finalizează o solicitare SendClientCheck
tags: []
---
## Descriere
Acest callback este apelat când se finalizează o solicitare SendClientCheck.
| Name | Description |
| ------------- | --------------------... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnClientCheckResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnClientCheckResponse.md",
"repo_id": "openmultiplayer",
"token_count": 484
} | 411 |
---
title: OnPlayerDeath
description: Acest callback este apelat atunci când un jucător moare, fie prin sinucidere, fie ucis de un alt jucător.
tags: ["player"]
---
## Descriere
Acest callback este apelat atunci când un jucător moare, fie prin sinucidere, fie ucis de un alt jucător.
| Nume | Descriere ... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerDeath.md",
"repo_id": "openmultiplayer",
"token_count": 1257
} | 412 |
---
title: OnPlayerObjectMoved
description: Acest callback este apelat atunci când un obiect player este mutat după MovePlayerObject (când se oprește din mișcare).
tags: ["player"]
---
## Descriere
Acest callback este apelat atunci când un obiect player este mutat după MovePlayerObject (când se oprește din mișcare).
... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 476
} | 413 |
---
title: OnRconLoginAttempt
description: Acest callback este apelat atunci când cineva încearcă să se conecteze la RCON în joc; succes sau nu.
tags: []
---
## Descriere
Acest callback este apelat atunci când cineva încearcă să se conecteze la RCON în joc; succes sau nu.
| Nume | Descriere ... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnRconLoginAttempt.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnRconLoginAttempt.md",
"repo_id": "openmultiplayer",
"token_count": 878
} | 414 |
---
title: AddPlayerClassEx
description: Această funcție este exact aceeași cu funcția AddPlayerClass, cu adăugarea unui parametru de echipă.
tags: ["player"]
---
## Descriere
Această funcție este exact aceeași cu funcția AddPlayerClass, cu adăugarea unui parametru de echipă. | Nume | Descriere | | ------------- | --... | openmultiplayer/web/docs/translations/ro/scripting/functions/AddPlayerClassEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/functions/AddPlayerClassEx.md",
"repo_id": "openmultiplayer",
"token_count": 881
} | 415 |
---
title: Moduri de unghi
description: Constante unitare in sistemul international pentru măsurarea unghiurilor.
---
:::note
Se foloseste cu [floatsin](../functions/Floatsin), [floatcos](../functions/Floatcos), sau [floattan](../functions/Floattan).
:::
| Moduri |
| ------- |
| radian |
| degrees |
| grades |
| openmultiplayer/web/docs/translations/ro/scripting/resources/anglemodes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/resources/anglemodes.md",
"repo_id": "openmultiplayer",
"token_count": 121
} | 416 |
---
titlu: "Controlarea unui server"
descriere: Comenzi utile pentru controlarea unui server.
---
## Schimbarea gamemode-ului
### Cum sa folosiți un gamemode custom / de pe internet?
- Deschideți folderul în care ați instalat fișierele serverului dvs. (ex. /Rockstar Games/GTA San Andreas/server)
- Copiați fișierul .... | openmultiplayer/web/docs/translations/ro/server/ControllingServer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/server/ControllingServer.md",
"repo_id": "openmultiplayer",
"token_count": 6178
} | 417 |
---
title: Частые Проблемы
---
## Контент
## Клиент
### Я получаю ошибку "San Andreas не найден"
San Andreas Multiplayer это **не** самостоятельная программа! Она добавляет функционал мультиплеера в San Andreas, поэтому необходимо иметь GTA San Andreas на ПК - она так же должна иметь gta_sa.exe версии **EU/US v1.0*... | openmultiplayer/web/docs/translations/ru/client/CommonClientIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/client/CommonClientIssues.md",
"repo_id": "openmultiplayer",
"token_count": 4641
} | 418 |
---
title: SetPlayerSkin
description: Устанавливает скин игрока.
tags: ["player"]
---
## Описание
Устанавливает скин игрока. Скин игрока - это модель персонажа.
| Параметр | Описание |
| -------- | ------------------------------------------------------------ |
| pl... | openmultiplayer/web/docs/translations/ru/scripting/functions/SetPlayerSkin.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/scripting/functions/SetPlayerSkin.md",
"repo_id": "openmultiplayer",
"token_count": 2215
} | 419 |
---
title: OnFilterScriptExit
description: Ta "callback" imenuje se, ko je "filterscript" ustavil.
tags: []
---
## Opis
Ta "callback" imenuje se, ko je "filterscript" ustavil. Kliče se samo znotraj "filterscript" v katerem se ustavil.
## Primeri
```c
public OnFilterScriptExit()
{
print("\n----------------------... | openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnFilterScriptExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnFilterScriptExit.md",
"repo_id": "openmultiplayer",
"token_count": 176
} | 420 |
---
title: ClearActorAnimations
description: Prekine sve animacije aktivne na actoru.
tags: []
---
## Opis
Prekine sve animacije aktivne na actoru.
| Ime | Opis |
| ------- | -------------------------------------------------------------- |
| actorid | ID ... | openmultiplayer/web/docs/translations/sr/scripting/functions/ClearActorAnimations.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sr/scripting/functions/ClearActorAnimations.md",
"repo_id": "openmultiplayer",
"token_count": 326
} | 421 |
---
title: OnClientMessage
description: Callback นี้ถูกเรียกเมื่อ NPC เห็น ClientMessage
tags: []
---
## คำอธิบาย
Callback นี้ถูกเรียกเมื่อ NPC เห็น ClientMessage และจะเกิดขึ้นทุกครั้งที่มีการใช้ฟังก์ชั่น SendClientMessageToAll และทุกครั้งที่ฟังก์ชั่น SendClientMessage ถูกส่งไปยัง NPC และ Callback นี้จะไม่ถูกเรียกเม... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 815
} | 422 |
---
title: OnPlayerDisconnect
description: This callback is called when a player disconnects from the server.
tags: ["player"]
---
## คำอธิบาย
This callback is called when a player disconnects from the server.
| Name | Description |
| -------- | ----------------------------... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerDisconnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerDisconnect.md",
"repo_id": "openmultiplayer",
"token_count": 649
} | 423 |
---
title: OnPlayerPickUpPickup
description: Called when a player picks up a pickup created with CreatePickup.
tags: ["player"]
---
## คำอธิบาย
Called when a player picks up a pickup created with CreatePickup.
| Name | Description |
| -------- | -------------------------------... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerPickUpPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerPickUpPickup.md",
"repo_id": "openmultiplayer",
"token_count": 568
} | 424 |
---
title: OnRecordingPlaybackEnd
description: This callback is called when a recorded file being reproduced with NPCStartRecordingPlayback has reached to its end.
tags: []
---
## คำอธิบาย
This callback is called when a recorded file being reproduced with NPC:StartRecordingPlayback has reached to its end.
| Name | D... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnRecordingPlaybackEnd.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnRecordingPlaybackEnd.md",
"repo_id": "openmultiplayer",
"token_count": 283
} | 425 |
---
title: AddSimpleModel
description: Adds a new custom simple object model for download.
tags: []
---
:::warning
This function was added in SA-MP 0.3.DL R1 and will not work in earlier versions!
:::
## คำอธิบาย
Adds a new custom simple object model for download. The model files will be stored in player's Documen... | openmultiplayer/web/docs/translations/th/scripting/functions/AddSimpleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/AddSimpleModel.md",
"repo_id": "openmultiplayer",
"token_count": 937
} | 426 |
---
title: AttachObjectToPlayer
description: Attach an object to a player.
tags: ["player"]
---
## คำอธิบาย
Attach an object to a player.
| Name | Description |
| ------------- | ------------------------------------------------------------------ |
| obj... | openmultiplayer/web/docs/translations/th/scripting/functions/AttachObjectToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/AttachObjectToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 1176
} | 427 |
---
title: ConnectNPC
description: Connect an NPC to the server.
tags: ["npc"]
---
## คำอธิบาย
Connect an NPC to the server.
| Name | Description |
| -------- | ---------------------------------------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/ConnectNPC.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ConnectNPC.md",
"repo_id": "openmultiplayer",
"token_count": 467
} | 428 |
---
title: DestroyActor
description: Destroy an actor which was created with CreateActor.
tags: []
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Destroy an actor which was created with CreateActor.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/DestroyActor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/DestroyActor.md",
"repo_id": "openmultiplayer",
"token_count": 494
} | 429 |
---
title: EditPlayerObject
description: Allows players to edit a player-object (position and rotation) with a GUI and their mouse.
tags: ["player"]
---
## คำอธิบาย
Allows players to edit a player-object (position and rotation) with a GUI and their mouse.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/EditPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/EditPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 646
} | 430 |
---
title: GangZoneFlashForPlayer
description: Makes a gangzone flash for a player.
tags: ["player", "gangzone"]
---
## คำอธิบาย
Makes a gangzone flash for a player.
| Name | Description |
| ---------- | ------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GangZoneFlashForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GangZoneFlashForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 848
} | 431 |
---
title: GetGravity
description: Get the currently set gravity.
tags: []
---
## คำอธิบาย
Get the currently set gravity.
| Name | Description |
| ---- | ----------- |
## ตัวอย่าง
```c
#if !defined GetGravity
native Float:GetGravity();
#endif
printf("Current gravity: %f", GetGravity());
```
## บันทึก
:::wa... | openmultiplayer/web/docs/translations/th/scripting/functions/GetGravity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetGravity.md",
"repo_id": "openmultiplayer",
"token_count": 264
} | 432 |
---
title: GetPlayerArmour
description: This function stores the armour of a player into a variable.
tags: ["player"]
---
## คำอธิบาย
This function stores the armour of a player into a variable.
| Name | Description |
| ------------- | --------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerArmour.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerArmour.md",
"repo_id": "openmultiplayer",
"token_count": 539
} | 433 |
---
title: GetPlayerFightingStyle
description: Get the fighting style the player currently using.
tags: ["player"]
---
## คำอธิบาย
Get the fighting style the player currently using.
| Name | Description |
| -------- | -------------------------------------------------- |
| p... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerFightingStyle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerFightingStyle.md",
"repo_id": "openmultiplayer",
"token_count": 321
} | 434 |
---
title: GetPlayerPos
description: Get the position of a player, represented by X, Y and Z coordinates.
tags: ["player"]
---
## คำอธิบาย
Get the position of a player, represented by X, Y and Z coordinates.
| Name | Description |
| -------- | ----... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerPos.md",
"repo_id": "openmultiplayer",
"token_count": 653
} | 435 |
---
title: GetPlayerWantedLevel
description: Gets the wanted level of a player.
tags: ["player"]
---
## คำอธิบาย
Gets the wanted level of a player.
| Name | Description |
| -------- | -------------------------------------------------------------- |
| playerid | ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerWantedLevel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerWantedLevel.md",
"repo_id": "openmultiplayer",
"token_count": 518
} | 436 |
---
title: GetVehicleComponentType
description: Find out what type of component a certain ID is.
tags: ["vehicle"]
---
## คำอธิบาย
Find out what type of component a certain ID is.
| Name | Description |
| --------- | -------------------------- |
| component | The component ID to check. |
## ส่งค... | openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleComponentType.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleComponentType.md",
"repo_id": "openmultiplayer",
"token_count": 486
} | 437 |
---
title: GetVehicleZAngle
description: Get the rotation of a vehicle on the Z axis (yaw).
tags: ["vehicle"]
---
## คำอธิบาย
Get the rotation of a vehicle on the Z axis (yaw).
| Name | Description |
| -------------- | ----------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleZAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleZAngle.md",
"repo_id": "openmultiplayer",
"token_count": 682
} | 438 |
---
title: IsPlayerInRaceCheckpoint
description: Check if the player is inside their current set race checkpoint (SetPlayerRaceCheckpoint).
tags: ["player", "checkpoint", "racecheckpoint"]
---
## คำอธิบาย
Check if the player is inside their current set race checkpoint (SetPlayerRaceCheckpoint).
| Name | Descript... | openmultiplayer/web/docs/translations/th/scripting/functions/IsPlayerInRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/IsPlayerInRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 590
} | 439 |
---
title: LinkVehicleToInterior
description: Links a vehicle to an interior.
tags: ["vehicle"]
---
## คำอธิบาย
Links a vehicle to an interior. Vehicles can only be seen by players in the same interior (SetPlayerInterior).
| Name | Description |
| ---------- | ... | openmultiplayer/web/docs/translations/th/scripting/functions/LinkVehicleToInterior.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/LinkVehicleToInterior.md",
"repo_id": "openmultiplayer",
"token_count": 460
} | 440 |
---
title: PlayerSpectatePlayer
description: Makes a player spectate (watch) another player.
tags: ["player"]
---
## คำอธิบาย
Makes a player spectate (watch) another player.
| Name | Description |
| -------------- | ----------... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayerSpectatePlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerSpectatePlayer.md",
"repo_id": "openmultiplayer",
"token_count": 631
} | 441 |
---
title: PlayerTextDrawSetShadow
description: Adds a shadow to the bottom-right side of the text in a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## คำอธิบาย
Adds a shadow to the bottom-right side of the text in a player-textdraw. The shadow font matches the text font.
| Name | Descript... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetShadow.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetShadow.md",
"repo_id": "openmultiplayer",
"token_count": 782
} | 442 |
---
title: SelectTextDraw
description: Display the cursor and allow the player to select a textdraw.
tags: ["textdraw"]
---
## คำอธิบาย
Display the cursor and allow the player to select a textdraw
| Name | Description |
| ---------- | -------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/SelectTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SelectTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 631
} | 443 |
---
title: SetGravity
description: Set the gravity for all players.
tags: []
---
## คำอธิบาย
Set the gravity for all players.
| Name | Description |
| ------------- | ----------------------------------------------------------------- |
| Float:gravity | T... | openmultiplayer/web/docs/translations/th/scripting/functions/SetGravity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetGravity.md",
"repo_id": "openmultiplayer",
"token_count": 394
} | 444 |
---
title: SetPlayerCameraLookAt
description: Set the direction a player's camera looks at.
tags: ["player"]
---
## คำอธิบาย
Set the direction a player's camera looks at. Generally meant to be used in combination with SetPlayerCameraPos.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerCameraLookAt.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerCameraLookAt.md",
"repo_id": "openmultiplayer",
"token_count": 1265
} | 445 |
---
title: SetPlayerObjectNoCameraCol
description: Toggles a player object camera collision.
tags: ["player"]
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Toggles a player object camera collision.
| Name | Description |
| -... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerObjectNoCameraCol.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerObjectNoCameraCol.md",
"repo_id": "openmultiplayer",
"token_count": 563
} | 446 |
---
title: SetPlayerWeather
description: Set a player's weather.
tags: ["player"]
---
## คำอธิบาย
Set a player's weather.
| Name | Description |
| -------- | ------------------------------------------ |
| playerid | The ID of the player whose weather to set. |
| weather | The weat... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerWeather.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerWeather.md",
"repo_id": "openmultiplayer",
"token_count": 436
} | 447 |
---
title: SetVehiclePos
description: Set a vehicle's position.
tags: ["vehicle"]
---
## คำอธิบาย
Set a vehicle's position
| Name | Description |
| --------- | -------------------------------------------- |
| vehicleid | Vehicle ID that you want set new position. |
| Float:x ... | openmultiplayer/web/docs/translations/th/scripting/functions/SetVehiclePos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetVehiclePos.md",
"repo_id": "openmultiplayer",
"token_count": 435
} | 448 |
---
title: StopPlayerHoldingObject
description: Removes attached objects.
tags: ["player"]
---
## คำอธิบาย
Removes attached objects.
| Name | Description |
| -------- | ---------------------------------------------------- |
| playerid | ID of the player you want to remove... | openmultiplayer/web/docs/translations/th/scripting/functions/StopPlayerHoldingObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/StopPlayerHoldingObject.md",
"repo_id": "openmultiplayer",
"token_count": 362
} | 449 |
---
title: TextDrawSetPreviewVehCol
description: If a vehicle model is used in a 3D preview textdraw, this sets the two colour values for that vehicle.
tags: ["textdraw"]
---
## คำอธิบาย
If a vehicle model is used in a 3D preview textdraw, this sets the two colour values for that vehicle.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawSetPreviewVehCol.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawSetPreviewVehCol.md",
"repo_id": "openmultiplayer",
"token_count": 759
} | 450 |
---
title: UpdateVehicleDamageStatus
description: Sets the various visual damage statuses of a vehicle, such as popped tires, broken lights and damaged panels.
tags: ["vehicle"]
---
## คำอธิบาย
Sets the various visual damage statuses of a vehicle, such as popped tires, broken lights and damaged panels.
| Name |... | openmultiplayer/web/docs/translations/th/scripting/functions/UpdateVehicleDamageStatus.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/UpdateVehicleDamageStatus.md",
"repo_id": "openmultiplayer",
"token_count": 836
} | 451 |
---
title: fgetchar
description: Reads a single character from a file.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Reads a single character from a file.
| Name | Description |
| ------ | --------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/fgetchar.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/fgetchar.md",
"repo_id": "openmultiplayer",
"token_count": 915
} | 452 |
---
title: floatsub
description: Subtracts one float from another one.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Subtracts one float from another one. Note that this function has no real use, as one can simply use the standard operator (-) instead.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/floatsub.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/floatsub.md",
"repo_id": "openmultiplayer",
"token_count": 492
} | 453 |
---
title: heapspace
description: Returns the amount of memory available for the heap/stack in bytes.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Returns the amount of memory available for the heap/stack in bytes.
| Name | Description |
| ---- | ----------- |
## ตัวอย่าง
... | openmultiplayer/web/docs/translations/th/scripting/functions/heapspace.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/heapspace.md",
"repo_id": "openmultiplayer",
"token_count": 223
} | 454 |
---
title: strdel
description: Delete part of a string.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Delete part of a string.
| Name | Description |
| -------- | ---------------------------------------------- |
| string[] | The string t... | openmultiplayer/web/docs/translations/th/scripting/functions/strdel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/strdel.md",
"repo_id": "openmultiplayer",
"token_count": 461
} | 455 |
---
title: Connection status
description: Connection status to be used with NetStats_ConnectionStatus.
---
## คำอธิบาย
Connection status to be used with [NetStats_ConnectionStatus](../functions/NetStats_ConnectionStatus.md).
## Often used
| ID | State | Meaning ... | openmultiplayer/web/docs/translations/th/scripting/resources/connectionstatus.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/connectionstatus.md",
"repo_id": "openmultiplayer",
"token_count": 1358
} | 456 |
---
title: Map Icon Styles
description: A list of Map Icons
---
| ID | Constant | Has checkpoint marker | Radar map range |
| --- | ------------------------- | --------------------- | -------------------------------------- |
| 0 | MAPICON_LOCAL | No ... | openmultiplayer/web/docs/translations/th/scripting/resources/mapiconstyles.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/mapiconstyles.md",
"repo_id": "openmultiplayer",
"token_count": 406
} | 457 |
---
title: Special Actions
description: A list of all the player special actions to be used with the [SetPlayerSpecialAction](../functions/SetPlayerSpecialAction.md) function.
tags: ["player"]
sidebar_label: Special Actions
---
This page compiles the list of all the player special actions to be used with the [SetPlaye... | openmultiplayer/web/docs/translations/th/scripting/resources/specialactions.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/specialactions.md",
"repo_id": "openmultiplayer",
"token_count": 1138
} | 458 |
---
title: Weather IDs
---
To be used with [SetWeather](../functions/SetWeather) and [SetPlayerWeather](../functions/SetPlayerWeather).
```c
0 = EXTRASUNNY_LA
1 = SUNNY_LA
2 = EXTRASUNNY_SMOG_LA
3 = SUNNY_SMOG_LA
4 = CLOUDY_LA
5 = SUNNY_SF
6 = EXTRASUNNY_SF
7 = CLOUDY_SF
8 = RAINY_SF
9 = FOGGY_SF
10 = SUNNY_VEGAS
11 ... | openmultiplayer/web/docs/translations/th/scripting/resources/weatherid.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/weatherid.md",
"repo_id": "openmultiplayer",
"token_count": 487
} | 459 |
---
title: OnActorStreamIn
description: Bu callback, bir aktör başka bir oyuncunun akış alanına girdiğinde tetiklenir.
tags: []
---
:::warning
Bu callback SA-MP 0.3.7 sürümünde eklendi ve önceki sürümlerde çalışmaz.
:::
## Açıklama
Bu callback, bir aktör başka bir oyuncunun akış alanına girdiğinde tetiklenir.
| A... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnActorStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnActorStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 449
} | 460 |
---
title: OnPlayerConnect
description: Bu callback oyuncu sunucuya bağlandığında çağrılır.
tags: ["player"]
---
## Açıklama
Bu callback oyuncu sunucuya bağlandığında çağrılır.
| Ad | Açıklama |
| -------- | ------------------------- |
| playerid | Bağlanan oyuncunun id'si. |
## Çalışınca Ver... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerConnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerConnect.md",
"repo_id": "openmultiplayer",
"token_count": 426
} | 461 |
---
title: OnPlayerLeaveRaceCheckpoint
description: Bu fonksiyon, bir oyuncu yarış kontrol noktasından çıktığında çağrılır.
tags: ["player", "checkpoint", "racecheckpoint"]
---
## Açıklama
Bu fonksiyon, bir oyuncu yarış kontrol noktasından çıktığında çağrılır.
| Parametre | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerLeaveRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerLeaveRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 665
} | 462 |
---
title: OnRconCommand
description: Bu fonksiyon, RCON oturumu açmış oyuncu RCON komutu kullandığında çağrılır. (/rcon -komut-)
tags: []
---
## Açıklama
Bu fonksiyon, RCON oturumu açmış oyuncu RCON komutu kullandığında çağrılır. (/rcon -komut-)
| Parametre | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnRconCommand.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnRconCommand.md",
"repo_id": "openmultiplayer",
"token_count": 983
} | 463 |
---
title: AddPlayerClassEx
description: Bu işlev, bir takım parametresi eklenmesiyle birlikte AddPlayerClass işleviyle tamamen aynıdır.
tags: ["player"]
---
## Açıklamalar
Bu işlev, bir takım parametresi eklenmesiyle birlikte AddPlayerClass işleviyle tamamen aynıdır.
| İsim | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/functions/AddPlayerClassEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/AddPlayerClassEx.md",
"repo_id": "openmultiplayer",
"token_count": 1100
} | 464 |
---
title: AttachCameraToPlayerObject
description: Oyuncunun kamerası bir başka oyuncunun nesnesine bağlanır.
tags: ["player", "camera"]
---
## Açıklama
Oyuncunun kamerası bir başka oyuncunun nesnesine bağlanır.
Oyuncu, objeye bağlıyken kamerasını hareket ettirebilir. MovePlayerObject ve AttachPlayerObjectToVehicle ... | openmultiplayer/web/docs/translations/tr/scripting/functions/AttachCameraToPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/AttachCameraToPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 831
} | 465 |
---
title: CreateActor
description: Statik aktör oluşturma.
tags: []
---
<VersionWarnTR version='SA-MP 0.3.7' />
## Açıklama
Statik 'aktör' oluşturun. Aktörler NPC'lere benzer, ancak işlevleri sınırlıdır. Aktörler oyuncu slotlarını doldurmazlar.
| Parametre | Açıklama |
| -... | openmultiplayer/web/docs/translations/tr/scripting/functions/CreateActor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/CreateActor.md",
"repo_id": "openmultiplayer",
"token_count": 1674
} | 466 |
---
title: db_open
description: The function is used to open a connection to a SQLite database file, which is inside the `/scriptfiles` folder.
keywords:
- sqlite
---
<LowercaseNoteTR />
## Açıklama
Bu fonksiyon, /scriptfiles klasörü içerisinde bir SQLite veritabanı açmak için kullanılır.
| İsim | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/functions/db_open.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/db_open.md",
"repo_id": "openmultiplayer",
"token_count": 741
} | 467 |
---
title: Yaygın Sunucu Sorunları
---
## Sunucunun hemen çökmesi
En yaygın olarak, server.cfg dosyanızda bir hata veya oyun modunuzun eksik olmasından kaynaklanıyor olabilir. server_log.txt dosyasını kontrol edin, sunucunun çökmesine sebep olan sorun genellikle en altta yazar. Eğer bulamazsanız, crashinfo.txt dosyas... | openmultiplayer/web/docs/translations/tr/server/CommonServerIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/server/CommonServerIssues.md",
"repo_id": "openmultiplayer",
"token_count": 2058
} | 468 |
---
title: OnClientMessage
description: 每当NPC看到一个客户端消息时,这个回调就会被调用。
tags: []
---
## 描述
每当 NPC 看到一个客户端消息时,这个回调就会被调用。
每次使用 SendClientMessageToAll 函数以及每次向 NPC 发送 SendClientMessage 函数时,都会出现这种情况。
当玩家说话时,不会调用此回调。
有关玩家的文本的版本,请参阅 NPC:OnPlayerText。
| 参数名 | 说明 |
| ------ | ------------------ |
| color | 客户端消息的颜色... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 499
} | 469 |
---
title: OnPlayerClickMap
description: 当玩家在暂停菜单地图上放置一个目标/路径点时(通过右键单击),OnPlayerClickMap回调函数被调用。
tags: ["player"]
---
## 描述
当玩家在暂停菜单地图上放置一个目标/路径点时(通过右键单击),OnPlayerClickMap 回调函数被调用。
| 参数名 | 描述 |
| -------- | --------------------------------------------- |
| playerid | 放置目标/路... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerClickMap.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerClickMap.md",
"repo_id": "openmultiplayer",
"token_count": 931
} | 470 |
---
title: OnPlayerGiveDamage
description: 当一个玩家对另一个玩家造成伤害时,这个回调会被调用。
tags: ["player"]
---
## 描述
当一个玩家对另一个玩家造成伤害时,这个回调会被调用。
| 参数名 | 描述 |
| --------- | ---------------------------------------------------------------... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerGiveDamage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerGiveDamage.md",
"repo_id": "openmultiplayer",
"token_count": 1630
} | 471 |
---
title: OnPlayerStreamOut
description: 当某个玩家从其他玩家的客户端流出时,会调用此回调。
tags: ["player"]
---
## 描述
当某个玩家从其他玩家的客户端流出时,会调用此回调。
| 参数名 | 描述 |
| ----------- | ------------------- |
| playerid | 已被流出的玩家 ID。 |
| forplayerid | 失去该流的玩家 ID |
## 返回值
它在过滤脚本中总是先被调用。
## 案例
```c
public OnPlayerStreamOut(pl... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 421
} | 472 |
---
title: OnVehicleSpawn
description: 这个回调函数在载具重生时被调用。
tags: ["vehicle"]
---
:::warning
这个回调函数**仅**在载具**重生**时被调用。 CreateVehicle 和 AddStaticVehicle(Ex) 函数 **不会** 触发此回调。
:::
## 描述
这个回调函数在载具重生时被调用。
| 参数名 | 描述 |
| --------- | ----------------- |
| vehicleid | 生成的载具的 ID。 |
## 返回值
0 - 将阻止其他过滤脚本接收到这个回... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnVehicleSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnVehicleSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 515
} | 473 |
---
title: ApplyActorAnimation
description: 将动画应用于演员。
tags: []
---
<VersionWarnCN version='SA-MP 0.3.7' />
## 描述
将动画应用于演员。
| 参数名 | 说明 |
| ---------- | ----------------------------------------... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/ApplyActorAnimation.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/ApplyActorAnimation.md",
"repo_id": "openmultiplayer",
"token_count": 1867
} | 474 |
---
title: GetPlayerCameraFrontVector
description: 该函数返回玩家在三维空间的当前瞄准方向,坐标是相对于视角的位置,参见GetPlayerCameraPos。
tags: ["player", "camera"]
---
## 描述
该函数返回玩家在三维空间的当前瞄准方向,坐标是相对于视角的位置,参见 GetPlayerCameraPos。
| 参数名 | 说明 |
| -------- | ----------------------------------- |
| playerid | 要获取视角前向量的玩... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/GetPlayerCameraFrontVector.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/GetPlayerCameraFrontVector.md",
"repo_id": "openmultiplayer",
"token_count": 1267
} | 475 |
---
title: asin
description: 以度为单位求正弦值的倒数。
tags: ["math"]
---
<LowercaseNoteCN />
## 描述
以度为单位求正弦值的倒数。在三角函数中,反正弦是正弦的逆运算。
| 参数名 | 说明 |
| ----------- | ---------------------------------- |
| Float:value | 以区间[-1,+1]为单位计算的正弦值。 |
## 返回值
以度为单位的角度,在区间[-90.0,+90.0]内。
## 案例
```c
// 0.5... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/asin.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/asin.md",
"repo_id": "openmultiplayer",
"token_count": 628
} | 476 |
# SA-MP 維基(Wiki) 和 open.mp 文件
這裡是由open.mp團隊以及來自各界SAMP的團體所共同維護的 SAMP維基!
這個網站的目的在於,為SAMP以及open.mp提供可以更容易訪問、且更容易共同編輯的文件。
## SA-MP 官方維基已逝
由SAMP官方經營的維基已經被關閉,雖然現在仍然可在網站歸檔資料庫可以找到。
正因此,才需要大家的雙手來幫助我們重新完成這個新家。
如果你願意提供幫助,可以參照 [貢獻](/docs/meta/Contributing) 這篇文章以獲得更多說明。
若沒有任何 Github 的使用經驗,或是 HTML 的相關知識,也別擔心! 也可以直接告訴我們哪裡有問題、或... | openmultiplayer/web/docs/translations/zh-tw/index.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-tw/index.md",
"repo_id": "openmultiplayer",
"token_count": 928
} | 477 |
---
title: Vehicle Sync
date: "2019-11-09T11:33:00"
author: Southclaws
---
Brzi post koji pokazuje evoluciju sinhronizacije vozila.
<video autoPlay loop width="100%" controls>
<source src="https://assets.open.mp/assets/images/videos/vehicle_sync_01.mp4" type="video/mp4" />
Sorry, your browser doesn't support embed... | openmultiplayer/web/frontend/content/bs/blog/vehicle-sync.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/bs/blog/vehicle-sync.mdx",
"repo_id": "openmultiplayer",
"token_count": 258
} | 478 |
---
title: SA-MP 0.3DL compatibility plus other added features and bug fixes - SERVER BETA RELEASE 9
date: "2022-09-08T03:28:00"
author: Potassium
---
Posted in our Discord server announcements channel by kseny (discord.gg/samp)
Hello everyone
We have just released open.mp server beta 9, fixing several reported issu... | openmultiplayer/web/frontend/content/en/blog/server-beta-9.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/en/blog/server-beta-9.mdx",
"repo_id": "openmultiplayer",
"token_count": 1106
} | 479 |
<h1>Open Multiplayer</h1>
Un prochain mod multijoueur pour <em>Grand Theft Auto: San Andreas</em> qui sera entièrement rétrocompatible avec le mod actuel <em>San Andreas Multiplayer</em>.
<br />
Cela veut dire que <strong>le client SA:MP actuel ainsi que tous les scripts créés pour SA:MP fonctionneront avec open.mp<... | openmultiplayer/web/frontend/content/fr/index.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/fr/index.mdx",
"repo_id": "openmultiplayer",
"token_count": 249
} | 480 |
<h1>DUK</h1>
<hr />
<h2>Kas yra open.mp?</h2>
open.mp (Open Multiplayer, OMP) yra multiplayer režimo modas skirtas San Andreas, jis buvo pradėtas kaip atsakas į padidėjusį problemų skaičių administruojant bei naujinant SA:MP modą. Pirmoji modo versija bus jokių papildomų pastangų iš savininkų nereikalaujantis serveri... | openmultiplayer/web/frontend/content/lt/faq.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/lt/faq.mdx",
"repo_id": "openmultiplayer",
"token_count": 3470
} | 481 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.