text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
title: OnVehicleDamageStatusUpdate
description: Ovaj callback je pozvan kada dio vozila kao npr vrata, gume, paneli, ili svjetla promijene svoj status oštećenja.
tags: ["vehicle"]
---
:::tip
Za neke korisne funkcije za raditi sa vozilima sa vrijednostima oštećenja vozila, pogledajte [ovdje](../resources/damagesta... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleDamageStatusUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleDamageStatusUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 855
} | 360 |
---
title: AddStaticVehicle
description: Dodaje 'statično' vozilo (modeli su unaprijed učitani za igrač) u gamemode-u.
tags: ["vehicle"]
---
## Deskripcija
Dodaje 'statično' vozilo (modeli su unaprijed učitani za igrač) u gamemode-u.
| Ime | Deskripcija |
| ... | openmultiplayer/web/docs/translations/bs/scripting/functions/AddStaticVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AddStaticVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 809
} | 361 |
---
title: AttachPlayerObjectToVehicle
description: Prikvači player objekat za vozilo.
tags: ["player", "vehicle"]
---
## Deskripcija
Attach a player object to a vehicle.
| Ime | Deskripcija |
| ------------- | ------------------------------------------------ |
| player... | openmultiplayer/web/docs/translations/bs/scripting/functions/AttachPlayerObjectToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AttachPlayerObjectToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 1222
} | 362 |
---
title: CreateExplosion
description: Kreiraj eksploziju na određenim kordinatama.
tags: []
---
## Deskripcija
Kreiraj eksploziju na određenim kordinatama.
| Ime | Deskripcija |
| ------------ | ----------------------- |
| Float:X | X kordinata eksplozije. |
| Float:Y | Y kordinata e... | openmultiplayer/web/docs/translations/bs/scripting/functions/CreateExplosion.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/CreateExplosion.md",
"repo_id": "openmultiplayer",
"token_count": 532
} | 363 |
---
title: DestroyPickup
description: Uništava pickup kreiran sa CreatePickup.
tags: []
---
## Deskripcija
Uništava pickup kreiran sa CreatePickup.
| Ime | Deskripcija |
| ------ | ----------------------------------------------------- |
| pickup | ID pickup-a koji se uniš... | openmultiplayer/web/docs/translations/bs/scripting/functions/DestroyPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/DestroyPickup.md",
"repo_id": "openmultiplayer",
"token_count": 327
} | 364 |
---
title: EnableStuntBonusForPlayer
description: Omogućuje ili onemogućava stunt bonuse za igrača.
tags: ["player"]
---
## Deskripcija
Omogućuje ili onemogućava stunt bonuse za igrača. Omogućeno po zadanim postavkama.
| Ime | Deskripcija |
| -------- | -------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/EnableStuntBonusForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/EnableStuntBonusForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 401
} | 365 |
---
title: GangZoneShowForAll
description: Prikazuje gangzonu sa željenom bojom svim igračima.
tags: ["gangzone"]
---
## Deskripcija
Prikazuje gangzonu sa željenom bojom svim igračima.
| Ime | Deskripcija |
| ----- | -----... | openmultiplayer/web/docs/translations/bs/scripting/functions/GangZoneShowForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GangZoneShowForAll.md",
"repo_id": "openmultiplayer",
"token_count": 809
} | 366 |
---
title: GetMyPos
description: Dobij poziciju NPC-a
tags: ["npc"]
---
## Deskripcija
Dobij poziciju NPC-a
| Ime | Deskripcija |
| --------- | --------------------------------------------------------- |
| &Float:x | Float za spremanje X koordinate, proslijeđen r... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetMyPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetMyPos.md",
"repo_id": "openmultiplayer",
"token_count": 346
} | 367 |
---
title: GetPlayerTargetActor
description: Dobij id aktora koji je naciljan od strane nekog igrača.
tags: ["player"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Dobij id aktora koji je naciljan od strane nekog igrača.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerTargetActor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerTargetActor.md",
"repo_id": "openmultiplayer",
"token_count": 552
} | 368 |
---
title: GetSVarString
description: Dobija string vrijednost server varijable.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 R2 i ne radi u nižim verzijama!
:::
## Deskripcija
Dobija string vrijednost server varijable.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetSVarString.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetSVarString.md",
"repo_id": "openmultiplayer",
"token_count": 654
} | 369 |
---
title: GetVehicleParamsCarWindows
description: Omogućava vam da doznate trenutno stanje prozora vozila.
tags: ["vehicle"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Omogućava vam da doznate trenutno stanje prozora vozila.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleParamsCarWindows.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleParamsCarWindows.md",
"repo_id": "openmultiplayer",
"token_count": 697
} | 370 |
---
title: InterpolateCameraPos
description: Pomjerite kameru igrača od jedne pozicije do druge, unutar postavljenog vremena.
tags: []
---
## Deskripcija
Pomjerite kameru igrača od jedne pozicije do druge, unutar postavljenog vremena. Korisno za scenarije cut scnea
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/InterpolateCameraPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/InterpolateCameraPos.md",
"repo_id": "openmultiplayer",
"token_count": 1722
} | 371 |
---
title: IsPlayerObjectMoving
description: Provjerava ako se dati player objectid pomjera.
tags: ["player"]
---
## Deskripcija
Provjerava ako se dati player objectid pomjera.
| Ime | Deskripcija |
| -------- | -----------------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerObjectMoving.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerObjectMoving.md",
"repo_id": "openmultiplayer",
"token_count": 790
} | 372 |
---
title: MovePlayerObject
description: Premjestite player objekat na novi položaj zadanom brzinom.
tags: ["player"]
---
## Deskripcija
Premjestite player objekat na novi položaj zadanom brzinom. Također podržava rotaciju. Also supports rotation. Igrači/vozila će 'surfati' objektom dok se kreće.
| Ime | Des... | openmultiplayer/web/docs/translations/bs/scripting/functions/MovePlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/MovePlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 1598
} | 373 |
---
title: PlayerTextDrawBackgroundColor
description: Podesite boju pozadine player-textdrawa.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Podesite boju pozadine player-textdrawa.
| Ime | Deskripcija |
| -------- | ------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawBackgroundColor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawBackgroundColor.md",
"repo_id": "openmultiplayer",
"token_count": 1081
} | 374 |
---
title: PlayerTextDrawTextSize
description: Promijeni veličinu player-textdrawa (box ako je PlayerTextDrawUseBox omogućen i/ili klikljivo područje za koristiti sa PlayerTextDrawSetSelectable).
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Promijeni veličinu player-textdrawa (box ako je PlayerTe... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawTextSize.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawTextSize.md",
"repo_id": "openmultiplayer",
"token_count": 1695
} | 375 |
---
title: SendClientMessageToAll
description: Prikazuje poruku u chatu za sve igrače.
tags: []
---
## Deskripcija
Prikazuje poruku u chatu za sve igrače. Ovo je ekvivalent SendClientMessage za više igrača.
| Ime | Deskripcija |
| --------------- | ---------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/SendClientMessageToAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SendClientMessageToAll.md",
"repo_id": "openmultiplayer",
"token_count": 502
} | 376 |
---
title: SetNameTagDrawDistance
description: Postavi maksimalnu distancu sa koje se prikazuju imena igrača.
tags: []
---
## Deskripcija
Postavi maksimalnu distancu sa koje se prikazuju imena igrača.
| Ime | Deskripcija |
| -------------- | ---------------------- |
| Float:distance | Distanca ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetNameTagDrawDistance.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetNameTagDrawDistance.md",
"repo_id": "openmultiplayer",
"token_count": 364
} | 377 |
---
title: SetPlayerCameraPos
description: Postavlja kameru u određenu poziciju za igrača.
tags: ["player"]
---
## Deskripcija
Postavlja kameru u određenu poziciju za igrača.
| Ime | Deskripcija |
| -------- | -------------------------------- |
| playerid | ID igrača. ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerCameraPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerCameraPos.md",
"repo_id": "openmultiplayer",
"token_count": 501
} | 378 |
---
title: SetPlayerObjectNoCameraCol
description: Uključuje / isključuje sudar kamere predmeta igrača.
tags: ["player"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Uključuje/isključuje sudar kamere predmeta igrača.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerObjectNoCameraCol.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerObjectNoCameraCol.md",
"repo_id": "openmultiplayer",
"token_count": 550
} | 379 |
---
title: SetPlayerWeather
description: Postavite vrijeme (weather) igrača.
tags: ["player"]
---
## Deskripcija
Postavite vrijeme (weather) igrača.
| Ime | Deskripcija |
| -------- | ------------------------------- |
| playerid | ID igrača za postaviti vrijeme. |
| weather | Vrijeme (weath... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerWeather.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerWeather.md",
"repo_id": "openmultiplayer",
"token_count": 433
} | 380 |
---
title: SetVehiclePos
description: Postavlja poziciju vozila.
tags: ["vehicle"]
---
## Deskripcija
Postavlja poziciju vozila.
| Ime | Deskripcija |
| --------- | ----------------------------------------------- |
| vehicleid | ID vozila kojem želite postaviti novu poziciju... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehiclePos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehiclePos.md",
"repo_id": "openmultiplayer",
"token_count": 492
} | 381 |
---
title: StopObject
description: Zaustavi objekat koji se kreće nakon što se MoveObject koristio.
tags: []
---
## Deskripcija
Zaustavi objekat koji se kreće nakon što se MoveObject koristio.
| Ime | Deskripcija |
| -------- | ------------------------- |
| objectid | ID objekta za zaustaviti. |
... | openmultiplayer/web/docs/translations/bs/scripting/functions/StopObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/StopObject.md",
"repo_id": "openmultiplayer",
"token_count": 779
} | 382 |
---
title: TextDrawSetPreviewRot
description: Postavlja rotaciju i zumiranje 3D pregleda modela (3D model preview) textdrawa.
tags: ["textdraw"]
---
## Deskripcija
Postavlja rotaciju i zumiranje 3D pregleda modela (3D model preview) textdrawa.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawSetPreviewRot.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawSetPreviewRot.md",
"repo_id": "openmultiplayer",
"token_count": 1212
} | 383 |
---
title: UpdatePlayer3DTextLabelText
description: Ažurira igračevom 3D Text Labelu text i boju.
tags: ["player", "3dtextlabel"]
---
## Deskripcija
Ažurira igračevom 3D Text Labelu text i boju.
| Ime | Deskripcija |
| --------------- | --------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/UpdatePlayer3DTextLabelText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/UpdatePlayer3DTextLabelText.md",
"repo_id": "openmultiplayer",
"token_count": 597
} | 384 |
---
title: fexist
description: Provjerava postoji li određena datoteka u direktoriju skripti datoteka.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Provjerava postoji li određena datoteka u direktoriju skripti datoteka.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/fexist.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/fexist.md",
"repo_id": "openmultiplayer",
"token_count": 718
} | 385 |
---
title: floatstr
description: Konvertuje string u float.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Konvertuje string u float.
| Ime | Deskripcija |
| ------ | ------------------------------- |
| string | String za konvertovati u float. |
## Returns
... | openmultiplayer/web/docs/translations/bs/scripting/functions/floatstr.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/floatstr.md",
"repo_id": "openmultiplayer",
"token_count": 263
} | 386 |
---
title: gettime
description: Dobij trenutno vrijeme servera koje će biti pohranjeno u varijablama &hour, &minute and &second.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Dobij trenutno vrijeme servera koje će biti pohranjeno u varijablama &hour, &minute and &second.
| Ime ... | openmultiplayer/web/docs/translations/bs/scripting/functions/gettime.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/gettime.md",
"repo_id": "openmultiplayer",
"token_count": 598
} | 387 |
---
title: setproperty
description: Dodaj novu imovinu ili promijeni već postojeću.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Dodaj novu imovinu ili promijeni već postojeću.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/setproperty.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/setproperty.md",
"repo_id": "openmultiplayer",
"token_count": 990
} | 388 |
---
title: valstr
description: Pretvori cijeli broj u string.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Pretvori cijeli broj u string.
| Ime | Deskripcija |
| --------------- | ----------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/valstr.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/valstr.md",
"repo_id": "openmultiplayer",
"token_count": 768
} | 389 |
---
title: Contributing
description: Wie du bei der Dokumentation des SA-MP Wiki und open.mp mithelfen kannst.
---
Jeder kann bei dieser Dokumentation mithelfen! Alles was du benötigst ist ein [GitHub](https://github.com) account und etwas Freizeit. Du musst dich nicht einmal mit Git auskennen. Alles lässt sich im Web... | openmultiplayer/web/docs/translations/de/meta/Contributing.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/de/meta/Contributing.md",
"repo_id": "openmultiplayer",
"token_count": 3853
} | 390 |
---
título: OnNPCConnect
descripción: This callback is called when a NPC successfully connects to the server.
tags: ["npc"]
---
## Descripción
Este callback se llama cuando un NPC se conecta con éxito al servidor.
| Nombre | Descripción |
| -------------- | ------------... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnNPCConnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnNPCConnect.md",
"repo_id": "openmultiplayer",
"token_count": 384
} | 391 |
---
título: OnPlayerExitedMenu
descripción: Se llama cuando un jugador sale de un menú.
tags: ["player", "menu"]
---
## Descripción
Se llama cuando un jugador sale de un menú.
| Nombre | Descripción |
| -------- | ----------------------------------------- |
| playerid | El ID del juga... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerExitedMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerExitedMenu.md",
"repo_id": "openmultiplayer",
"token_count": 281
} | 392 |
---
título: OnPlayerStateChange
descripción: Este callback se llama cuando un jugador cambia de estado.
tags: ["player"]
---
## Description
Este callback se llama cuando un jugador cambia de estado. Por ejemplo, cuando pasa de ser conductor a estár a pie (bajándose de vehículo).
| Nombre | Descripción ... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 555
} | 393 |
---
título: OnVehicleRespray
descripción: Este callback se llama cuando un jugador sale de un taller de modificación, sin importar si los colores no fueron cambiados.
tags: ["vehicle"]
---
## Descripción
Este callback se llama cuando un jugador sale de un taller de modificación, sin importar si los colores no fueron ... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnVehicleRespray.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnVehicleRespray.md",
"repo_id": "openmultiplayer",
"token_count": 815
} | 394 |
---
title: OnPlayerCommandText
description: این کالبک زمانی فرا خوانده می شود که یک بازیکن یک دستور را در پنجره کلاینت وارد کند.
tags: ["player"]
---
<div dir="rtl" style={{ textAlign: "right" }}>
## توضیحات
این کالبک زمانی فرا خوانده می شود که یک بازیکن یک دستور را در پنجره کلاینت وارد کند. دستورات چیز هایی هستند ک... | openmultiplayer/web/docs/translations/fa/scripting/callbacks/OnPlayerCommandText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fa/scripting/callbacks/OnPlayerCommandText.md",
"repo_id": "openmultiplayer",
"token_count": 1122
} | 395 |
---
title: OnActorStreamIn
description: This callback is called when an actor is streamed in by a player's client.
tags: []
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
## Deskripsyon
Ang callback na ito ay natatawag kapag ang actor ay na stream na sa client ng player.
| Pangalan | Deskripsyon ... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnActorStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnActorStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 384
} | 396 |
---
title: OnNPCModeInit.
description: Tinatawag ang callback na ito kapag na-load ang isang NPC script.
tags: ["npc"]
---
## Description
Tinatawag ang callback na ito kapag na-load ang isang NPC script.
## Examples
```c
public OnNPCModeInit()
{
print("NPC script loaded.");
return 1;
}
```
## Related Call... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnNPCModeInit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnNPCModeInit.md",
"repo_id": "openmultiplayer",
"token_count": 212
} | 397 |
---
title: OnPlayerUpdate
description: This callback is called every time a client/player updates the server with their status.
tags: ["player"]
---
## Paglalarawan
Ang callback na ito ay tinatawag sa tuwing ina-update ng isang kliyente/manlalaro ang server sa kanilang katayuan. Madalas itong ginagamit para gumawa ng... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1266
} | 398 |
---
title: AllowPlayerTeleport
description: Paganahin/Huwag paganahin ang kakayahang mag-teleport para sa isang manlalaro sa pamamagitan ng pag-right-click sa mapa.
tags: ["player"]
---
:::warning
Ang function na ito, mula sa 0.3d, ay hindi na ginagamit. Tignan ang [OnPlayerClickMap](../callbacks/OnPlayerClickMap).
... | openmultiplayer/web/docs/translations/fil/scripting/functions/AllowPlayerTeleport.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AllowPlayerTeleport.md",
"repo_id": "openmultiplayer",
"token_count": 496
} | 399 |
---
title: DestroyMenu
description: Sinisira ang tinukoy na menu.
tags: ["menu"]
---
## Description
Sinisira ang tinukoy na menu.
| Name | Description |
| ------ | ---------------------- |
| menuid | Ang menu ID ng sisirain|
## Returns
True kung matagumpay ang pagsira, kung hindi man ay False
## Exam... | openmultiplayer/web/docs/translations/fil/scripting/functions/DestroyMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/DestroyMenu.md",
"repo_id": "openmultiplayer",
"token_count": 324
} | 400 |
---
title: GetPlayerState
description: Kunin ang kasalukuyang estado ng isang manlalaro.
tags: ["player"]
---
## Description
Kunin ang kasalukuyang estado ng isang manlalaro.
| Name | Description |
| -------- | ------------------------------------------------- |
| playerid |... | openmultiplayer/web/docs/translations/fil/scripting/functions/GetPlayerState.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/GetPlayerState.md",
"repo_id": "openmultiplayer",
"token_count": 427
} | 401 |
---
title: SetPlayerWeather
description: Magtakda ng panahon ng manlalaro.
tags: ["player"]
---
## Description
Magtakda ng panahon ng manlalaro.
| Name | Description |
| -------- | ---------------------------------------------- |
| playerid | Ang ID ng player na ang panahon ay ... | openmultiplayer/web/docs/translations/fil/scripting/functions/SetPlayerWeather.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/SetPlayerWeather.md",
"repo_id": "openmultiplayer",
"token_count": 403
} | 402 |
---
title: floatdiv
description: Hatiin ang isang float sa isa pa.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
Hatiin ang isang float sa isa pa. Redundant bilang ang operator ng dibisyon (/) ay gumagawa ng parehong bagay.
| Name | Description |
| ---... | openmultiplayer/web/docs/translations/fil/scripting/functions/floatdiv.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/floatdiv.md",
"repo_id": "openmultiplayer",
"token_count": 453
} | 403 |
---
title: AddCharModel
description: Ajoute un nouveau skin de joueur à télécharger
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Ajoute un nouveau skin de joueur à télécharger. The fichier modèle va être sauvegardé dans le dossier Documents\GTA San Andreas User Files\SAMP\cache du joueur, da... | openmultiplayer/web/docs/translations/fr/scripting/AddCharModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/AddCharModel.md",
"repo_id": "openmultiplayer",
"token_count": 858
} | 404 |
---
title: OnNPCExitVehicle
description: Ce rappel est appelé lorsqu'un PNJ quitte un véhicule.
tags: ["npc"]
---
## Description
Ce rappel est appelé lorsqu'un PNJ quitte un véhicule.
## Exemples
```c
public OnNPCExitVehicle()
{
print("Le PNJ a quitté le véhicule");
return 1;
}
```
## Rappels Relatives
Le... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnNPCExitVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnNPCExitVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 222
} | 405 |
---
title: OnPlayerEditAttachedObject
description: Cette callback est appelée quand un joueur en a fini avec le mode édition des attach objects.
tags: ["player"]
---
## Paramètres
Cette callback est appelée quand un joueur en a fini avec le mode édition des attach objects.
| Name | Descriptio... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerEditAttachedObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerEditAttachedObject.md",
"repo_id": "openmultiplayer",
"token_count": 2151
} | 406 |
---
title: OnPlayerObjectMoved
description: Cette callback est appelée quand l'objet d'un joueur a été déplacé après un MovePlayerObject (quand l'objet s'arrête de bouger).
tags: ["player"]
---
## Paramètres
Cette callback est appelée quand l'objet d'un joueur a été déplacé après un MovePlayerObject _(quand l'objet s... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 630
} | 407 |
---
title: OnPlayerUpdate
description: Cette callback est appelée à chaque fois qu'un client/joueur modifie son status auprès du serveur.
tags: ["player"]
---
## Paramètres
Cette callback est appelée à chaque fois qu'un client/joueur modifie son status auprès du serveur. Elle est souvent utilisée pour créer des callb... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1129
} | 408 |
---
title: OnVehicleStreamOut
description: Cette callback est appelé quand un véhicule disparait du champs de stream du joueur (le véhicule est tellement loin qu'il ne peut plus le voir).
tags: ["vehicle"]
---
## Paramètres
Cette callback est appelé quand un véhicule disparait du champs de stream du joueur (le véhicu... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 515
} | 409 |
---
title: OnGameModeInit
description: Ez a visszahívás akkor indul el, amikor a játékmód elindul.
tags: []
---
## Leírás
Ez a visszahívás akkor indul el, amikor a játékmód elindul.
## Példák
```c
public OnGameModeInit()
{
print("Játékmód elindítva!");
return 1;
}
```
## Megjegyzések
:::tip
Ezt a funkció... | openmultiplayer/web/docs/translations/hu/scripting/callbacks/OnGameModeInit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/hu/scripting/callbacks/OnGameModeInit.md",
"repo_id": "openmultiplayer",
"token_count": 471
} | 410 |
---
title: OnEnterExitModShop
description: Callback ini akan terpanggil ketika pemain memasuki atau keluar dari mod shop.
tags: []
---
## Deskripsi
Callback ini akan terpanggil ketika pemain memasuki atau keluar dari mod shop.
| Nama | Deskripsi |
| ------... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnEnterExitModShop.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnEnterExitModShop.md",
"repo_id": "openmultiplayer",
"token_count": 543
} | 411 |
---
title: OnPlayerEnterCheckpoint
description: Callback ini terpanggil ketika seorang pemain memasuki checkpoint untuk pemain itu.
tags: ["player", "checkpoint"]
---
## Deskripsi
Callback ini terpanggil ketika seorang pemain memasuki checkpoint untuk pemain itu.
| Nama | Deskripsi |
| -... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerEnterCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerEnterCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 588
} | 412 |
---
title: AddSimpleModel
description: Menambahkan sebuah simpel objek model untuk diunggah.
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Menambahkan model simpel kustom objek diunggah. Model file bawaanya terletak pada folder Documents\GTA San Andreas User Files\SAMP\cache milik player bern... | openmultiplayer/web/docs/translations/id/scripting/functions/AddSimpleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/AddSimpleModel.md",
"repo_id": "openmultiplayer",
"token_count": 935
} | 413 |
---
title: SetVehicleNumberPlate
description: Set plat nomor kendaraan.
tags: ["vehicle"]
---
## Deskripsi
Set plat nomor kendaraan.
| Nama | Deskripsi |
| ----------- | ------------------------------------------------------ |
| vehicleid | ID kendaraan yang ingin ... | openmultiplayer/web/docs/translations/id/scripting/functions/SetVehicleNumberPlate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/SetVehicleNumberPlate.md",
"repo_id": "openmultiplayer",
"token_count": 697
} | 414 |
---
id: damagestatus
title: Status Kerusakan
description: Informasi tentang status kerusakan pada kendaraan dan contoh kodenya.
---
:::note
ID ini untuk digunakan dengan [GetVehicleDamageStatus](../functions/GetVehicleDamageStatus) dan [UpdateVehicleDamageStatus](../functions/UpdateVehicleDamageStatus).
:::
Kerusak... | openmultiplayer/web/docs/translations/id/scripting/resources/damagestatus.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/resources/damagestatus.md",
"repo_id": "openmultiplayer",
"token_count": 1296
} | 415 |
---
id: vehiclecolorid
title: Vehicle Color IDs
description: Informasi tentang ID warna kendaraan.
---
:::danger
Mulai dari SA-MP 0.3x, informasi ini sudah usang. ID warna kendaraan dari 128 hingga 255 diganti dengan warna baru secara sengaja. Periksa gambar ke-dua untuk warna terbaru di 0.3x.
:::
 do pojazdu.
tags: ["vehicle"]
---
## Opis
Dodaje „komponent” (część tuningową) do pojazdu. Listę komponentów znajdziesz poniżej.
| Nazwa | Opis ... | openmultiplayer/web/docs/translations/pl/scripting/functions/AddVehicleComponent.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/AddVehicleComponent.md",
"repo_id": "openmultiplayer",
"token_count": 1006
} | 417 |
---
title: asin
description: .
tags: []
---
<LowercaseNote />
## Opis
Podaje odwróconą wartość arcus sinusa w radianach.
| Nazwa | Opis |
| ----------- | ----------- |
| Float:value | Arcus sinus |
## Zwracane wartości
Wartość, której arcus sinus został obliczony, w przedziale [-1,+1]. Jeżeli argumen... | openmultiplayer/web/docs/translations/pl/scripting/functions/asin.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/asin.md",
"repo_id": "openmultiplayer",
"token_count": 391
} | 418 |
---
title: OnFilterScriptExit
description: Esta callback é chamada quando um filterscript é descarregado.
tags: []
---
## Descrição
Esta callback é chamada quando um filterscript é descarregado. É apenas chamado dentro do filterscript que descarregou.
## Exemplos
```c
public OnFilterScriptExit()
{
print("\n----... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnFilterScriptExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnFilterScriptExit.md",
"repo_id": "openmultiplayer",
"token_count": 162
} | 419 |
---
title: OnPlayerClickTextDraw
description: Esta callback é chamada quando um jogador clica em uma textdraw ou cancela a seleção pressionando ESC.
tags: ["player", "textdraw"]
---
## Descrição
Esta callback é chamada quando um jogador clica em uma textdraw ou cancela a seleção pressionando ESC.
| Nome | Descr... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerClickTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerClickTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 978
} | 420 |
---
title: OnPlayerKeyStateChange
description: Esta callback é chamada quando o estado de qualquer tecla suportada muda (pressionado/solto)
tags: ["player"]
---
## Descrição
Esta callback é chamada quando o estado de qualquer tecla [suportada](../resources/keys.md) muda. (pressionado/solto). Teclas direcionais não at... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerKeyStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerKeyStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 4605
} | 421 |
---
title: OnRconCommand
description: Essa callback é executada quando um comando é enviado ao servidor, seja digitando no console, pela RCON, ou in-game utilizando "/rcon comando".
tags: []
---
## Descrição
Essa callback é executada quando um comando é enviado ao servidor, seja digitando no console, pela RCON, ou in... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnRconCommand.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnRconCommand.md",
"repo_id": "openmultiplayer",
"token_count": 808
} | 422 |
---
title: AddPlayerClass
description: Adiciona uma classe à seleção de classes. As classes são usadas para que os jogadores possam aparecer com uma skin (personagem) de sua escolha.
tags: []
---
## Descrição
Adiciona uma classe à seleção de classes. As classes são usadas para que os jogadores possam aparecer com uma... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AddPlayerClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AddPlayerClass.md",
"repo_id": "openmultiplayer",
"token_count": 1004
} | 423 |
---
title: BanEx
description: Bane um jogador com um motivo específico.
tags: []
---
## Descrição
Bane um jogador com um motivo específico.
| Nome | Descrição |
| -------- | ----------------------------- |
| playerid | O ID do jogador a ser banido. |
| reason | O motivo do banimento. ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/BanEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/BanEx.md",
"repo_id": "openmultiplayer",
"token_count": 781
} | 424 |
---
title: GangZoneShowForAll
description: Mostra uma gangzone com a cor desejada para todos os jogadores.
tags: ["gangzone"]
---
## Descrição
Mostra uma gangzone com a cor desejada para todos os jogadores.
| Nome | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GangZoneShowForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GangZoneShowForAll.md",
"repo_id": "openmultiplayer",
"token_count": 793
} | 425 |
---
title: GivePlayerMoney
description: Dá ou retira dinheiro para/de um jogador.
tags: ["player"]
---
## Descrição
Dá ou tira dinheiro para/de um jogador.
| Nome | Descrição |
| -------- | ----------------------------------------------... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GivePlayerMoney.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GivePlayerMoney.md",
"repo_id": "openmultiplayer",
"token_count": 544
} | 426 |
---
title: db_close
description: Fecha uma conexão de banco de dados SQLite que foi aberta com `db_open`.
keywords:
- sqlite
---
<LowercaseNote />
## Descrição
Fecha uma conexão de banco de dados SQLite que foi aberta com [db_open](db_open).
| Nome | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/db_close.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/db_close.md",
"repo_id": "openmultiplayer",
"token_count": 1507
} | 427 |
---
title: Click Sources
description: Click Sources
---
Para ser usado com [OnPlayerClickPlayer](../callbacks/OnPlayerClickPlayer)
| Valor | Símbolo constante |
| ----- | ----------------------- |
| 0 | CLICK_SOURCE_SCOREBOARD |
| - | - |
| openmultiplayer/web/docs/translations/pt-BR/scripting/resources/clicksources.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/resources/clicksources.md",
"repo_id": "openmultiplayer",
"token_count": 113
} | 428 |
---
title: OnFilterScriptExit
description: Acest callback este apelat atunci când un script de filtru este descărcat.
tags: []
---
## Descriere
Acest callback este apelat atunci când un script de filtru este descărcat. Este apelat doar în interiorul filterscript-ului care este descărcat.
## Exemple
```c
public OnFi... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnFilterScriptExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnFilterScriptExit.md",
"repo_id": "openmultiplayer",
"token_count": 182
} | 429 |
---
title: OnPlayerEnterCheckpoint
description: Acest callback este apelat atunci când un jucător intră în punctul de control setat pentru acel jucător.
tags: ["player", "checkpoint"]
---
## Descriere
Acest callback este apelat atunci când un jucător intră în punctul de control setat pentru acel jucător.
| Name ... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerEnterCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerEnterCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 687
} | 430 |
---
title: OnPlayerRequestSpawn
description: Apelat atunci când un jucător încearcă să apară prin selecția clasei, fie apăsând SHIFT, fie făcând clic pe butonul „Apariție”.
tags: ["player"]
---
## Descriere
Apelat atunci când un jucător încearcă să apară prin selecția clasei, fie apăsând SHIFT, fie făcând clic pe but... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerRequestSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerRequestSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 522
} | 431 |
---
title: OnVehicleDamageStatusUpdate
description: Acest callback este apelat atunci când un element al vehiculului, cum ar fi ușile, anvelopele, panourile sau luminile își schimbă starea de deteriorare.
tags: ["vehicle"]
---
:::tip
Pentru câteva funcții utile pentru lucrul cu valorile daunelor vehiculului, consulta... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnVehicleDamageStatusUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnVehicleDamageStatusUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 842
} | 432 |
---
title: AddStaticVehicle
description: Adaugă un vehicul 'static' (modelele sunt preîncărcate pentru jucători) la modul de joc.
tags: ["vehicle"]
---
## Descriere
Adaugă un vehicul 'static' (modelele sunt preîncărcate pentru jucători) la modul de joc.
| Nume | Descriere ... | openmultiplayer/web/docs/translations/ro/scripting/functions/AddStaticVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/functions/AddStaticVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 884
} | 433 |
---
title: Tipuri de lovituri de glonț
---
:::info
Se foloseste in [OnPlayerWeaponShot](../callbacks/OnPlayerWeaponShot).
:::
---
| Nume | Valoare |
| ----------------------------- | ------- |
| BULLET_HIT_TYPE_NONE | 0 |
| BULLET_HIT_TYPE_PLAYER | 1 |
| BULLET_... | openmultiplayer/web/docs/translations/ro/scripting/resources/bullethittypes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/resources/bullethittypes.md",
"repo_id": "openmultiplayer",
"token_count": 315
} | 434 |
---
title: "Structuri avansate"
---
## Manipularea matricei
### Găsirea corectă a unui slot gol
Acest exemplu arată cum să găsiți un slot gol într-o matrice folosind practicile standard de codare.
```c
new
gMyArray[10];
stock FindEmptySlot()
{
new
i = 0;
while (i < sizeof (gMyArray) && gMyArray... | openmultiplayer/web/docs/translations/ro/tutorials/AdvancedStructures.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/tutorials/AdvancedStructures.md",
"repo_id": "openmultiplayer",
"token_count": 7790
} | 435 |
---
title: OnActorStreamIn
description: Этот коллбэк вызывается, когда актёр попадает в зону стрима клиента.
tags: []
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
## Описание
Этот коллбэк вызывается, когда актёр попадает в зону стрима клиента.
| Аргумент | Описание ... | openmultiplayer/web/docs/translations/ru/scripting/callbacks/OnActorStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/scripting/callbacks/OnActorStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 641
} | 436 |
---
title: "Компенсация лагов"
descripion: Описание учитывания (компенсации) лагов.
---
Компенсация лагов для выстреленных пуль включена по умолчанию, начиная с серверной версии SA-MP 0.3z. Статус может быть изменён в параметре `lagcompmode` в [server.cfg](server.cfg). Установив настройку на 0, это отключит лагокомпен... | openmultiplayer/web/docs/translations/ru/server/LagCompenstaion.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/server/LagCompenstaion.md",
"repo_id": "openmultiplayer",
"token_count": 579
} | 437 |
---
title: OnIncomingConnection
description: Ta "callback" se pokliče, ko se naslov IP poskuša povezati s strežnikom.
tags: []
---
## Opis
Ta "callback" se pokliče, ko se naslov IP poskuša povezati s strežnikom. Če želite blokirati dohodne povezave, uporabite "BlockIpAddress".
| Ime | Opis ... | openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnIncomingConnection.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnIncomingConnection.md",
"repo_id": "openmultiplayer",
"token_count": 555
} | 438 |
---
title: CreatePickup
description: Ova funkcija radi isto sto i AddStaticPickup, osim sto vraca ID pickup-a koji mozemo da pratimo pod OnPlayerPickUpPickup ili da ga unistimo.
tags: []
---
## Opis
Ova funkcija radi isto sto i AddStaticPickup, osim sto vraca ID pickup-a koji mozemo da pratimo pod OnPlayerPickUpPicku... | openmultiplayer/web/docs/translations/sr/scripting/functions/CreatePickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sr/scripting/functions/CreatePickup.md",
"repo_id": "openmultiplayer",
"token_count": 1245
} | 439 |
---
title: OnFilterScriptInit
description: Callback นี้ถูกเรียกเมื่อฟิลเตอร์สคริปต์เริ่มต้นทำงาน (โหลด)
tags: []
---
## คำอธิบาย
Callback นี้ถูกเรียกเมื่อฟิลเตอร์สคริปต์เริ่มต้นทำงาน (โหลด) มันถูกเรียกเฉพาะในฟิลเตอร์สคริปต์ที่กำลังเริ่มต้นทำงาน
| ชื่อ | คำอธิบาย |
| ---- | -------- |
## ตัวอย่าง
```c
public OnFil... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnFilterScriptInit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnFilterScriptInit.md",
"repo_id": "openmultiplayer",
"token_count": 554
} | 440 |
---
title: OnPlayerEnterRaceCheckpoint
description: This callback is called when a player enters a race checkpoint.
tags: ["player", "checkpoint", "racecheckpoint"]
---
## คำอธิบาย
This callback is called when a player enters a race checkpoint.
| Name | Description |
| -... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerEnterRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerEnterRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 633
} | 441 |
---
title: OnPlayerSelectObject
description: This callback is called when a player selects an object after SelectObject has been used.
tags: ["player"]
---
## คำอธิบาย
This callback is called when a player selects an object after SelectObject has been used.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerSelectObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerSelectObject.md",
"repo_id": "openmultiplayer",
"token_count": 780
} | 442 |
---
title: OnVehicleDeath
description: This callback is called when a vehicle is destroyed - either by exploding or becoming submerged in water.
tags: ["vehicle"]
---
## คำอธิบาย
This callback is called when a vehicle is destroyed - either by exploding or becoming submerged in water.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnVehicleDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnVehicleDeath.md",
"repo_id": "openmultiplayer",
"token_count": 795
} | 443 |
---
title: AddStaticVehicleEx
description: Adds a 'static' vehicle (models are pre-loaded for players)to the gamemode.
tags: ["vehicle"]
---
## คำอธิบาย
Adds a 'static' vehicle (models are pre-loaded for players)to the gamemode. Differs from AddStaticVehicle in only one way: allows a respawn time to be set for when t... | openmultiplayer/web/docs/translations/th/scripting/functions/AddStaticVehicleEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/AddStaticVehicleEx.md",
"repo_id": "openmultiplayer",
"token_count": 1960
} | 444 |
---
title: AttachTrailerToVehicle
description: Attach a vehicle to another vehicle as a trailer.
tags: ["vehicle"]
---
## คำอธิบาย
Attach a vehicle to another vehicle as a trailer.
| Name | Description |
| --------- | ------------------------------------------------- |
| tr... | openmultiplayer/web/docs/translations/th/scripting/functions/AttachTrailerToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/AttachTrailerToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 480
} | 445 |
---
title: CreateExplosionForPlayer
description: Creates an explosion that is only visible to a single player.
tags: ["player"]
---
## คำอธิบาย
Creates an explosion that is only visible to a single player. This can be used to isolate explosions from other players or to make them only appear in specific virtual worlds... | openmultiplayer/web/docs/translations/th/scripting/functions/CreateExplosionForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/CreateExplosionForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 693
} | 446 |
---
title: DestroyPlayerObject
description: Destroy a player-object created using CreatePlayerObject.
tags: ["player"]
---
## คำอธิบาย
Destroy a player-object created using CreatePlayerObject.
| Name | Description |
| -------- | ------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/DestroyPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/DestroyPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 887
} | 447 |
---
title: EnableTirePopping
description: With this function you can enable or disable tire popping.
tags: []
---
## คำอธิบาย
With this function you can enable or disable tire popping.
| Name | Description |
| ---- | --------------------------------------- |
| show | 1 to enable, 0 to dis... | openmultiplayer/web/docs/translations/th/scripting/functions/EnableTirePopping.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/EnableTirePopping.md",
"repo_id": "openmultiplayer",
"token_count": 344
} | 448 |
---
title: GangZoneShowForPlayer
description: Show a gangzone for a player.
tags: ["player", "gangzone"]
---
## คำอธิบาย
Show a gangzone for a player. Must be created with GangZoneCreate first.
| Name | Description |
| ... | openmultiplayer/web/docs/translations/th/scripting/functions/GangZoneShowForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GangZoneShowForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 808
} | 449 |
---
title: GetObjectModel
description: Get the model ID of an object (CreateObject).
tags: []
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Get the model ID of an object (CreateObject).
| Name | Description |
| -------- | --... | openmultiplayer/web/docs/translations/th/scripting/functions/GetObjectModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetObjectModel.md",
"repo_id": "openmultiplayer",
"token_count": 437
} | 450 |
---
title: GetPlayerCameraPos
description: Get the position of the player's camera.
tags: ["player"]
---
## คำอธิบาย
Get the position of the player's camera.
| Name | Description |
| -------- | ---------------------------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCameraPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCameraPos.md",
"repo_id": "openmultiplayer",
"token_count": 647
} | 451 |
---
title: GetPlayerKeys
description: Check which keys a player is pressing.
tags: ["player"]
---
## คำอธิบาย
Check which keys a player is pressing.
| Name | Description |
| --------- | ----------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerKeys.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerKeys.md",
"repo_id": "openmultiplayer",
"token_count": 1048
} | 452 |
---
title: GetPlayerState
description: Get a player's current state.
tags: ["player"]
---
## คำอธิบาย
Get a player's current state.
| Name | Description |
| -------- | ------------------------------------------------- |
| playerid | The ID of the player to get the current st... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerState.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerState.md",
"repo_id": "openmultiplayer",
"token_count": 424
} | 453 |
---
title: GetSVarFloat
description: Gets a float server variable's value.
tags: []
---
:::warning
This function was added in SA-MP 0.3.7 R2 and will not work in earlier versions!
:::
## คำอธิบาย
Gets a float server variable's value.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetSVarFloat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetSVarFloat.md",
"repo_id": "openmultiplayer",
"token_count": 452
} | 454 |
---
title: GetVehicleModel
description: Gets the model ID of a vehicle.
tags: ["vehicle"]
---
## คำอธิบาย
Gets the model ID of a vehicle.
| Name | Description |
| --------- | ------------------------------------------ |
| vehicleid | The ID of the vehicle to get the model of. |
#... | openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleModel.md",
"repo_id": "openmultiplayer",
"token_count": 402
} | 455 |
---
title: HTTP
description: Sends a threaded HTTP request.
tags: []
---
## คำอธิบาย
Sends a threaded HTTP request.
| Name | Description |
| ---------- | -----------------------------------------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/HTTP.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/HTTP.md",
"repo_id": "openmultiplayer",
"token_count": 1063
} | 456 |
---
title: IsPlayerObjectMoving
description: Checks if the given player objectid is moving.
tags: ["player"]
---
:::warning
This function was added in SA-MP 0.3d and will not work in earlier versions!
:::
## คำอธิบาย
Checks if the given player objectid is moving.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/IsPlayerObjectMoving.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/IsPlayerObjectMoving.md",
"repo_id": "openmultiplayer",
"token_count": 957
} | 457 |
---
title: NetStats_BytesReceived
description: Gets the amount of data (in bytes) that the server has received from the player.
tags: []
---
## คำอธิบาย
Gets the amount of data (in bytes) that the server has received from the player.
| Name | Description |
| -------- | ------------... | openmultiplayer/web/docs/translations/th/scripting/functions/NetStats_BytesReceived.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/NetStats_BytesReceived.md",
"repo_id": "openmultiplayer",
"token_count": 756
} | 458 |
---
title: PlayerTextDrawUseBox
description: Toggle the box on a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## คำอธิบาย
Toggle the box on a player-textdraw.
| Name | Description |
|-----------------|-------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawUseBox.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawUseBox.md",
"repo_id": "openmultiplayer",
"token_count": 881
} | 459 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.