text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
title: GetVehicleModelCount
description: Gets the model count of a vehicle model.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the model count of a vehicle model.
## Parameters
| Name | Description |
|---------|---------------... | openmultiplayer/web/docs/scripting/functions/GetVehicleModelCount.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleModelCount.md",
"repo_id": "openmultiplayer",
"token_count": 391
} | 293 |
---
title: GetVehicleSirenState
description: Gets the siren state of the vehicle.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the siren state of the vehicle.
## Parameters
| Name | Description |
|-----------|------------------------|
| vehicleid | The ID of t... | openmultiplayer/web/docs/scripting/functions/GetVehicleSirenState.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleSirenState.md",
"repo_id": "openmultiplayer",
"token_count": 350
} | 294 |
---
title: HasGameText
description: Does the player currently have text in the given gametext style displayed?
tags: ["player"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Does the player currently have text in the given gametext style displayed?
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/HasGameText.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/HasGameText.md",
"repo_id": "openmultiplayer",
"token_count": 436
} | 295 |
---
title: IsAdminTeleportAllowed
description: Checks if the RCON admins allowed to teleport by right-clicking on the map.
tags: []
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if the RCON admins allowed to teleport by right-clicking on the map.
## Returns
true: Allowed.
false: Not allowed.... | openmultiplayer/web/docs/scripting/functions/IsAdminTeleportAllowed.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsAdminTeleportAllowed.md",
"repo_id": "openmultiplayer",
"token_count": 214
} | 296 |
---
title: IsPlayerConnected
description: Checks if a player is connected (if an ID is taken by a connected player).
tags: ["player"]
---
## Description
Checks if a player is connected (if an ID is taken by a connected player).
| Name | Description |
| -------- | ------------------------------... | openmultiplayer/web/docs/scripting/functions/IsPlayerConnected.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerConnected.md",
"repo_id": "openmultiplayer",
"token_count": 361
} | 297 |
---
title: IsPlayerObjectMoving
description: Checks if the given player objectid is moving.
tags: ["player", "object", "playerobject"]
---
## Description
Checks if the given player objectid is moving.
| Name | Description |
| -------- | -----------------------------------... | openmultiplayer/web/docs/scripting/functions/IsPlayerObjectMoving.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerObjectMoving.md",
"repo_id": "openmultiplayer",
"token_count": 768
} | 298 |
---
title: IsValidGangZone
description: Check if the gangzone valid
tags: ["gangzone"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Check if the gangzone valid.
| Name | Description |
| ----------- | -------------------------- |
| zoneid | The ID of the gangzone. |
## ... | openmultiplayer/web/docs/scripting/functions/IsValidGangZone.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsValidGangZone.md",
"repo_id": "openmultiplayer",
"token_count": 380
} | 299 |
---
title: IsVehicleOccupied
description: Check if a vehicle is occupied.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Check if a vehicle is occupied.
## Parameters
| Name | Description |
|-----------|------------------------|
| vehicleid | The ID of the vehicle. |... | openmultiplayer/web/docs/scripting/functions/IsVehicleOccupied.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsVehicleOccupied.md",
"repo_id": "openmultiplayer",
"token_count": 216
} | 300 |
---
title: PlayerPlaySound
description: Plays the specified sound for a player.
tags: ["player"]
---
## Description
Plays the specified sound for a player.
For a library that lists all sounds, check out [this](https://github.com/WoutProvost/samp-sound-array).
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayerPlaySound.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerPlaySound.md",
"repo_id": "openmultiplayer",
"token_count": 530
} | 301 |
---
title: PlayerTextDrawIsProportional
description: Checks if a player-textdraw is proportional.
tags: ["player", "textdraw", "playertextdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a player-textdraw is proportional.
## Parameters
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawIsProportional.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawIsProportional.md",
"repo_id": "openmultiplayer",
"token_count": 899
} | 302 |
---
title: PutPlayerInVehicle
description: Puts a player in a vehicle.
tags: ["player", "vehicle"]
---
## Description
Puts a player in a vehicle.
| Name | Description |
| --------- | ------------------------------------------- |
| playerid | The ID of the player to put in a vehi... | openmultiplayer/web/docs/scripting/functions/PutPlayerInVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PutPlayerInVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 615
} | 303 |
---
title: SendChat
description: This will send a player text by the bot, just like using SendPlayerMessageToAll, but this function is to be used inside the NPC scripts.
tags: []
---
## Description
This will send a player text by the bot, just like using [SendPlayerMessageToAll](../functions/SendPlayerMessageToAll), ... | openmultiplayer/web/docs/scripting/functions/SendChat.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SendChat.md",
"repo_id": "openmultiplayer",
"token_count": 332
} | 304 |
---
title: SetActorHealth
description: Set the health of an actor.
tags: ["actor"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Set the health of an actor.
| Name | Description |
| ------------ | ----------------------------------------- |
| actorid | The ID of... | openmultiplayer/web/docs/scripting/functions/SetActorHealth.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetActorHealth.md",
"repo_id": "openmultiplayer",
"token_count": 317
} | 305 |
---
title: SetObjectMoveSpeed
description: Set the move speed of an object.
tags: ["object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Set the move speed of an object.
| Name | Description |
|-------------|--------------------------------------... | openmultiplayer/web/docs/scripting/functions/SetObjectMoveSpeed.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetObjectMoveSpeed.md",
"repo_id": "openmultiplayer",
"token_count": 398
} | 306 |
---
title: SetPlayerAdmin
description: Sets the player as an RCON admin.
tags: ["player", "rcon", "administration"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Sets the player as an RCON admin.
| Name | Description |
|------------|-... | openmultiplayer/web/docs/scripting/functions/SetPlayerAdmin.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerAdmin.md",
"repo_id": "openmultiplayer",
"token_count": 446
} | 307 |
---
title: SetPlayerInterior
description: Set a player's interior.
tags: ["player"]
---
## Description
Set a player's interior. A list of currently known interiors and their positions can be found here.
| Name | Description |
| ---------- | -------------... | openmultiplayer/web/docs/scripting/functions/SetPlayerInterior.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerInterior.md",
"repo_id": "openmultiplayer",
"token_count": 367
} | 308 |
---
title: SetPlayerPosFindZ
description: This sets the players position then adjusts the players z-coordinate to the nearest solid ground under the position.
tags: ["player"]
---
## Description
This sets the players position then adjusts the players z-coordinate to the nearest solid ground under the position.
| Nam... | openmultiplayer/web/docs/scripting/functions/SetPlayerPosFindZ.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerPosFindZ.md",
"repo_id": "openmultiplayer",
"token_count": 432
} | 309 |
---
title: SetSVarString
description: Set a string server variable.
tags: ["server variable", "svar"]
---
<VersionWarn version='SA-MP 0.3.7 R2' />
## Description
Set a string server variable.
| Name | Description |
| ---------------- | -------------------------------------... | openmultiplayer/web/docs/scripting/functions/SetSVarString.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetSVarString.md",
"repo_id": "openmultiplayer",
"token_count": 450
} | 310 |
---
title: SetVehicleParamsForPlayer
description: Set the parameters of a vehicle for a player.
tags: ["player", "vehicle"]
---
## Description
Set the parameters of a vehicle for a player.
| Name | Description |
... | openmultiplayer/web/docs/scripting/functions/SetVehicleParamsForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetVehicleParamsForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 1548
} | 311 |
---
title: ShowPlayerDialog
description: Shows the player a synchronous (only one at a time) dialog box.
tags: ["player", "dialog"]
---
## Description
Shows the player a synchronous (only one at a time) dialog box.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/ShowPlayerDialog.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ShowPlayerDialog.md",
"repo_id": "openmultiplayer",
"token_count": 1901
} | 312 |
---
title: TextDrawBoxColor
description: Adjusts the text box colour (only used if TextDrawUseBox 'use' parameter is 1).
tags: ["textdraw"]
---
## Description
Adjusts the text box colour (only used if TextDrawUseBox 'use' parameter is 'true').
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/TextDrawBoxColor.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawBoxColor.md",
"repo_id": "openmultiplayer",
"token_count": 1050
} | 313 |
---
title: TextDrawGetOutline
description: Gets the thickness of a textdraw's text's outline.
tags: ["textdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the thickness of a textdraw's text's outline.
| Name | Description |
| ----------- | ------... | openmultiplayer/web/docs/scripting/functions/TextDrawGetOutline.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawGetOutline.md",
"repo_id": "openmultiplayer",
"token_count": 688
} | 314 |
---
title: TextDrawSetPos
description: Sets the position of a textdraw.
tags: ["textdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Sets the position (in-screen x & y) of a textdraw.
| Name | Description |
| ----------- | --------------------------------... | openmultiplayer/web/docs/scripting/functions/TextDrawSetPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawSetPos.md",
"repo_id": "openmultiplayer",
"token_count": 737
} | 315 |
---
title: TogglePlayerClock
description: Toggle the in-game clock (top-right corner) for a specific player.
tags: ["player"]
---
## Description
Toggle the in-game clock (top-right corner) for a specific player. When this is enabled, time will progress at 1 minute per second. Weather will also interpolate (slowly cha... | openmultiplayer/web/docs/scripting/functions/TogglePlayerClock.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TogglePlayerClock.md",
"repo_id": "openmultiplayer",
"token_count": 412
} | 316 |
---
title: acos
description: Get the inversed value of a cosine in degrees.
tags: ["math"]
---
<LowercaseNote />
## Description
Get the inversed value of a cosine in degrees. In trigonometrics, arc cosine is the inverse operation of cosine.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/acos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/acos.md",
"repo_id": "openmultiplayer",
"token_count": 426
} | 317 |
---
title: fblockread
description: This function allows you to read data from a file, without encoding and line terminators.
tags: ["file management"]
---
<LowercaseNote />
## Description
This function allows you to read data from a file, without encoding and line terminators
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/fblockread.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/fblockread.md",
"repo_id": "openmultiplayer",
"token_count": 1022
} | 318 |
---
title: floatfract
description: Get the fractional part of a float.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
Get the fractional part of a float. This means the value of the numbers after the decimal point.
| Name | Description |
| ----------- | ---... | openmultiplayer/web/docs/scripting/functions/floatfract.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/floatfract.md",
"repo_id": "openmultiplayer",
"token_count": 215
} | 319 |
---
title: frename
description: Rename a file.
tags: ["file management"]
---
<VersionWarn version='omp v1.1.0.2612' />
<LowercaseNote />
## Description
Rename a file.
| Name | Description |
| --------------- | ------------------------------------------... | openmultiplayer/web/docs/scripting/functions/frename.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/frename.md",
"repo_id": "openmultiplayer",
"token_count": 658
} | 320 |
---
title: max
description: Return the highest of two numbers.
tags: ["core"]
---
<LowercaseNote />
## Description
Function used to compare the values.
| Name | Description |
| ------ | ----------------------- |
| value1 | Value 1 (a) to compare. |
| value2 | Value 2 (b) to compare. |
## Returns
The... | openmultiplayer/web/docs/scripting/functions/max.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/max.md",
"repo_id": "openmultiplayer",
"token_count": 268
} | 321 |
---
title: strdel
description: Delete part of a string.
tags: ["string"]
---
<LowercaseNote />
## Description
Delete part of a string.
| Name | Description |
| -------- | ---------------------------------------------- |
| string[] | The string to delete part of. ... | openmultiplayer/web/docs/scripting/functions/strdel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/strdel.md",
"repo_id": "openmultiplayer",
"token_count": 368
} | 322 |
---
title: "Control Structures"
description: An overview of control structures in the Pawn language
---
## Conditionals
### if
An if statement checks if something is true and does something if it is.
```c
new
a = 5;
if (a == 5)
{
print("a is 5");
}
```
The code within the brackets after the "if" is called ... | openmultiplayer/web/docs/scripting/language/ControlStructures.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/language/ControlStructures.md",
"repo_id": "openmultiplayer",
"token_count": 6646
} | 323 |
# Statements
---
A statement may take one or more lines, whereas one line may contain two or
more statements.
Control flow statements (if, if–else, for, while, do–while and switch) may be nested.
**Statement label**
A label consists of an identifier followed by a colon (“:”).
A label is a “jump target” of ... | openmultiplayer/web/docs/scripting/language/reference/08-Statements.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/language/reference/08-Statements.md",
"repo_id": "openmultiplayer",
"token_count": 2582
} | 324 |
---
title: Click Sources
description: Click Sources
---
:::info
Below is a list of click sources used by [OnPlayerClickPlayer](../callbacks/OnPlayerClickPlayer). As of right now, only one click source type exists.
:::
| Value | Constant symbol |
| ----- | ----------------------- |
| 0 | CLICK_SOURCE_SC... | openmultiplayer/web/docs/scripting/resources/clicksources.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/clicksources.md",
"repo_id": "openmultiplayer",
"token_count": 102
} | 325 |
---
title: Spectate Types
description: Spectate Types used by GetPlayerSpectateType.
tags: []
sidebar_label: Spectate Types
---
:::info
Spectate Types used by [GetPlayerSpectateType](../functions/GetPlayerSpectateType).
:::
| Type | Value |
|---------|-------|
| None | 0 |
| Vehicle | 1 |
| Player | ... | openmultiplayer/web/docs/scripting/resources/spectatetypes.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/spectatetypes.md",
"repo_id": "openmultiplayer",
"token_count": 120
} | 326 |
---
title: Vehicle Information Types
description: Vehicle Information Type Constants.
---
:::info
A list of vehicle info types used by [GetVehicleModelInfo](../functions/GetVehicleModelInfo) can be found here.
:::
| Vehicle Information Type | Description ... | openmultiplayer/web/docs/scripting/resources/vehicleinformationtypes.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/vehicleinformationtypes.md",
"repo_id": "openmultiplayer",
"token_count": 754
} | 327 |
---
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' />
<div dir="rtl" style={{ textAlign: "right" }}>
## الوصف
يتم استدعاء هذا الاستدعاء أو الكال باك عند تدفق الممثل (أكتور) بواسطة كلاينت ا... | openmultiplayer/web/docs/translations/ar/scripting/callbacks/OnActorStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ar/scripting/callbacks/OnActorStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 789
} | 328 |
---
title: OnActorStreamIn
description: Ovaj callback se poziva kada se aktor pojavi u igračevom klijentu.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Ovaj callback se poziva kada se aktor pojavi u igračevom klijentu.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnActorStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnActorStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 414
} | 329 |
---
title: OnPlayerClickPlayerTextDraw
description: Ovaj callback je pozvan kada igrač klikne na player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Ovaj callback je pozvan kada igrač klikne na player-textdraw. Nije pozvan kada igrač napusti select mode (ESC) - međutim, OnPlayerClickTex... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerClickPlayerTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerClickPlayerTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1063
} | 330 |
---
title: OnPlayerInteriorChange
description: Pozvan kada igrač promijeni enterijer.
tags: ["player"]
---
## Deskripcija
Pozvan kada igrač promijeni enterijer. Može biti izazvano od strane `SetPlayerInterior` funkcije ili kada igrač uđe/izađe iz izgrade(u zgradu).
| Ime | DescripDeskripcijation ... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerInteriorChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerInteriorChange.md",
"repo_id": "openmultiplayer",
"token_count": 598
} | 331 |
---
title: OnPlayerText
description: Pozvano kada igrač pošalje chat poruku.
tags: ["player"]
---
## Deskripcija
Pozvano kada igrač pošalje chat poruku.
| Ime | Deskripcija |
| -------- | -------------------------------- |
| playerid | ID igrača koji je napisao tekst. |
| text[] | Tekst k... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerText.md",
"repo_id": "openmultiplayer",
"token_count": 421
} | 332 |
---
title: OnVehicleStreamOut
description: Ovaj callback je pozvan kada se vozilo prestane pojavljivati u igračevom klijentu (previše je daleko i ne može da ga vidi).
tags: ["vehicle"]
---
## Deskripcija
Ovaj callback je pozvan kada se vozilo prestane pojavljivati u igračevom klijentu (previše je daleko i ne može da ... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 464
} | 333 |
---
title: Attach3DTextLabelToPlayer
description: Prikvači 3D tekst label za igrača.
tags: ["player", "3dtextlabel"]
---
## Deskripcija
Prikvači 3D tekst label za igrača.
| Ime | Deskripcija |
| --------- | -----------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/Attach3DTextLabelToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/Attach3DTextLabelToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 955
} | 334 |
---
title: CancelSelectTextDraw
description: Prekid selektovanja textdrawa pomoću miša.
tags: ["textdraw"]
---
## Deskripcija
Cancel textdraw selection with the mouse
| Ime | Deskripcija |
| -------- | ------------------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/CancelSelectTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/CancelSelectTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 556
} | 335 |
---
title: CreateVehicle
description: Creates a vehicle in the world.
tags: ["vehicle"]
---
## Deskripcija
Creates a vehicle in the world. Can be used in place of AddStaticVehicleEx at any time in the script.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/CreateVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/CreateVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 2086
} | 336 |
---
title: DisablePlayerCheckpoint
description: Onemogućava (skriva/uništava) checkpoint postavljenog za igrača.
tags: ["player", "checkpoint"]
---
## Deskripcija
Onemogućava (skriva/uništava) checkpoint postavljenog za igrača. Igrači mogu odjednom postaviti samo jedan checkpoint. Prije postavljanja drugog ne treba o... | openmultiplayer/web/docs/translations/bs/scripting/functions/DisablePlayerCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/DisablePlayerCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 660
} | 337 |
---
title: GameTextForAll
description: Prikazuje 'game text' (tekst na ekranu) određeno vrijeme za sve igrače.
tags: []
---
## Deskripcija
Prikazuje 'game text' (tekst na ekranu) određeno vrijeme za sve igrače.
| Ime | Deskripcija |
| -------------- | ---------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GameTextForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GameTextForAll.md",
"repo_id": "openmultiplayer",
"token_count": 738
} | 338 |
---
title: GetActorVirtualWorld
description: Dobij id virtual world-a određenog actora.
tags: []
---
<VersionWarn version='SA-MP 0.3.7' />
## Deskripcija
Dobij id virtual world-a određenog actora.
| Ime | Deskripcija |
| ------- | --------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetActorVirtualWorld.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetActorVirtualWorld.md",
"repo_id": "openmultiplayer",
"token_count": 340
} | 339 |
---
title: GetPVarType
description: Dobija tip (cijli broj, float ili string) igračeve varijable.
tags: ["pvar"]
---
## Deskripcija
Dobija tip (cijli broj, float ili string) igračeve varijable.
| Ime | Deskripcija |
| -------- | ----------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPVarType.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPVarType.md",
"repo_id": "openmultiplayer",
"token_count": 861
} | 340 |
---
title: GetPlayerVirtualWorld
description: Dohvaća trenutni virtualni svijet u kojem se igrač nalazi.
tags: ["player"]
---
## Deskripcija
Dohvaća trenutni virtualni svijet u kojem se igrač nalazi.
| Ime | Deskripcija |
| -------- | ------------------------------------- |
| playerid ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerVirtualWorld.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerVirtualWorld.md",
"repo_id": "openmultiplayer",
"token_count": 471
} | 341 |
---
title: GetVehicleComponentInSlot
description: Dohvaća ID instalirane komponente (modshop mod(ifikacija)) na vozilu u određenom slotu.
tags: ["vehicle"]
---
## Deskripcija
Dohvaća ID instalirane komponente (modshop mod(ifikacija)) na vozilu u određenom slotu.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleComponentInSlot.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleComponentInSlot.md",
"repo_id": "openmultiplayer",
"token_count": 921
} | 342 |
---
title: GetVehicleVirtualWorld
description: Dobij virtualni svijet vozila.
tags: ["vehicle"]
---
## Deskripcija
Dobij virtualni svijet vozila.
| Ime | Deskripcija |
| --------- | -------------------------------------------- |
| vehicleid | ID vozila za dobiti njegov virtualn... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleVirtualWorld.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleVirtualWorld.md",
"repo_id": "openmultiplayer",
"token_count": 274
} | 343 |
---
title: IsPlayerConnected
description: Provjerava da li je igrač konektovan (Ako je ID uzet od stanje konektovanog igrača).
tags: ["player"]
---
## Deskripcija
Provjerava da li je igrač konektovan (Ako je ID uzet od stanje konektovanog igrača).
| Ime | Deskripcija |
| -------- | ------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerConnected.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerConnected.md",
"repo_id": "openmultiplayer",
"token_count": 479
} | 344 |
---
title: IsVehicleStreamedIn
description: Provjerava ako je vozilo učitano za igrača.
tags: ["vehicle"]
---
## Deskripcija
Provjerava ako je vozilo učitano za igrača. Samo vozila u blizini su učitana (vidljiva) za igrača.
| Ime | Deskripcija |
| ----------- | ---------------------- |
| vehicleid... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsVehicleStreamedIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsVehicleStreamedIn.md",
"repo_id": "openmultiplayer",
"token_count": 605
} | 345 |
---
title: NetStats_MessagesSent
description: Dobija broj poruka koje je server poslao igraču za reprodukciju.
tags: []
---
## Deskripcija
Dobija broj poruka koje je server poslao igraču za reprodukciju.
| Ime | Deskripcija |
| -------- | ---------------------------- |
| playerid | ID igrača za... | openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_MessagesSent.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_MessagesSent.md",
"repo_id": "openmultiplayer",
"token_count": 758
} | 346 |
---
title: PlayerTextDrawSetPreviewModel
description: Postavlja player-textdrawu 3D pregled određenog ID-a modela.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Postavlja player-textdrawu 3D pregled određenog ID-a modela.
| Ime | Deskripcija |
| ---------- | ... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawSetPreviewModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawSetPreviewModel.md",
"repo_id": "openmultiplayer",
"token_count": 882
} | 347 |
---
title: RemoveVehicleComponent
description: Ukloni komponentu sa vozila.
tags: ["vehicle"]
---
## Deskripcija
Ukloni komponentu sa vozila.
| Ime | Deskripcija |
| ----------- | -------------------------- |
| vehicleid | ID vozila. |
| componentid | ID komponente za uklonit... | openmultiplayer/web/docs/translations/bs/scripting/functions/RemoveVehicleComponent.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/RemoveVehicleComponent.md",
"repo_id": "openmultiplayer",
"token_count": 413
} | 348 |
---
title: SetActorInvulnerable
description: Uključite/isključite aktorovu neranjivost.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Uključite/isključite aktorovu neranjivost.
| Ime | Deskripcija |
|... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetActorInvulnerable.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetActorInvulnerable.md",
"repo_id": "openmultiplayer",
"token_count": 479
} | 349 |
---
title: SetPVarFloat
description: Postavi float vrijednost player (igračeve) varijable.
tags: ["pvar"]
---
## Deskripcija
Postavi float vrijednost player (igračeve) varijable.
| Ime | Deskripcija |
| ----------- | ---------------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPVarFloat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPVarFloat.md",
"repo_id": "openmultiplayer",
"token_count": 786
} | 350 |
---
title: SetPlayerHoldingObject
description: Pričvršćuje objekat za kost.
tags: ["player"]
---
## Deskripcija
Pričvršćuje objekat za kost.
| Ime | Deskripcija |
| -------- | -------------------------------------------------------------- |
| playerid | ID igra... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerHoldingObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerHoldingObject.md",
"repo_id": "openmultiplayer",
"token_count": 791
} | 351 |
---
title: SetPlayerSkillLevel
description: Postavite nivo vještine određene vrste oružja za igrača.
tags: ["player"]
---
## Deskripcija
Postavite nivo vještine određene vrste oružja za igrača.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerSkillLevel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerSkillLevel.md",
"repo_id": "openmultiplayer",
"token_count": 780
} | 352 |
---
title: SetTimerEx
description: Postavlja tajmer za pozivanje funkcije nakon navedenog intervala.
tags: []
---
## Deskripcija
Postavlja tajmer za pozivanje funkcije nakon navedenog intervala. Ova varijanta ('Ex') može proslijediti parametre (kao npr playerID) funkciji.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetTimerEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetTimerEx.md",
"repo_id": "openmultiplayer",
"token_count": 1789
} | 353 |
---
title: ShowNameTags
description: Omogući/onemogući iscrtavanje nametag-ova, healthbar-ova i armora iznad igrača.
tags: []
---
## Deskripcija
Omogući/onemogući iscrtavanje nametag-ova, healthbar-ova i armora iznad igrača.
| Ime | Deskripcija |
| ------- ... | openmultiplayer/web/docs/translations/bs/scripting/functions/ShowNameTags.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/ShowNameTags.md",
"repo_id": "openmultiplayer",
"token_count": 522
} | 354 |
---
title: TextDrawCreate
description: Kreira textdraw.
tags: ["textdraw"]
---
## Deskripcija
Kreira textdraw. Textdraw-ovi su, kako samo ime implicira, tekst (uglavnom - ovdje također mogu biti boxovi, sprite-ovi i pregledi modela (skinovi/vozila/oružja/objekti) koji je iscrtan na igračevom zaslonu. Pogledaj ovu str... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawCreate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawCreate.md",
"repo_id": "openmultiplayer",
"token_count": 1357
} | 355 |
---
title: TextDrawTextSize
description: Promijeni veličinu textdrawa (veličinu boxa ako je TextDrawUseBox omogućen i/ili klikljivo područje za koristiti sa TextDrawSetSelectable).
tags: ["textdraw"]
---
## Deskripcija
Promijeni veličinu textdrawa (veličinu boxa ako je TextDrawUseBox omogućen i/ili klikljivo područje... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawTextSize.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawTextSize.md",
"repo_id": "openmultiplayer",
"token_count": 1423
} | 356 |
---
title: clamp
description: Forsira vrijednost da bude unutar raspona.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Forsira vrijednost da bude unutar raspona.
| Ime | Deskripcija |
| ----- | ------------------------------ |
| value | Vrijednost koja se for... | openmultiplayer/web/docs/translations/bs/scripting/functions/clamp.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/clamp.md",
"repo_id": "openmultiplayer",
"token_count": 462
} | 357 |
---
title: floatdiv
description: Divide one float by another one.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Divide one float by another one. Redundant as the division operator (/) does the same thing.
| Ime | Deskripcija |
| ----------... | openmultiplayer/web/docs/translations/bs/scripting/functions/floatdiv.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/floatdiv.md",
"repo_id": "openmultiplayer",
"token_count": 436
} | 358 |
---
title: fremove
description: Obriši datoteku.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Obriši datoteku.
| Ime | Deskripcija |
| ------ | --------------------------------------------------------------------- |
| ... | openmultiplayer/web/docs/translations/bs/scripting/functions/fremove.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/fremove.md",
"repo_id": "openmultiplayer",
"token_count": 722
} | 359 |
---
title: min
description: .
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Function used to compare the values.
| Ime | Deskripcija |
| --- | -------------------------- |
| a | Vrijednost a za uporediti. |
| b | Vrijednost b za uporediti. |
## Returns
Return... | openmultiplayer/web/docs/translations/bs/scripting/functions/min.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/min.md",
"repo_id": "openmultiplayer",
"token_count": 363
} | 360 |
---
title: strpack
description: Upakuj string.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Upakuj string. Upakovani stringovi koriste 75% manje memorije.
| Ime | Deskripcija |
| --------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/strpack.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/strpack.md",
"repo_id": "openmultiplayer",
"token_count": 600
} | 361 |
---
title: OnFilterScriptInit
description: Wird ausgeführt wenn ein Filterscript gestartet wird (initialize).
tags: []
---
## Beschreibung
Wird ausgeführt wenn ein Filterscript gestartet wird (initialize). Wird nur im entsprechenden Filterscript ausgeführt.
## Beispiele
```c
public OnFilterScriptInit()
{
print(... | openmultiplayer/web/docs/translations/de/scripting/callbacks/OnFilterScriptInit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/de/scripting/callbacks/OnFilterScriptInit.md",
"repo_id": "openmultiplayer",
"token_count": 289
} | 362 |
---
título: OnClientMessage
descripción: Este callback se llama cuando el NPC ve un ClientMessage.
tags: [NPC, ClientMessage, SendClientMessageToAll, ]
---
## Descripción
Este callback se llama cuando el NPC ve un ClientMessage. Esto va a ser cada vez que la función SendClientMessageToAll sea usada o también cuando l... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 381
} | 363 |
---
título: OnPlayerDeath
descripción: Este callback se llama cuando un jugador muere, ya sea suicidándose o siendo asesinado por otro jugador.
tags: ["player"]
---
## Descripción
Este callback se llama cuando un jugador muere, ya sea suicidándose o siendo asesinado por otro jugador.
| Nombre | Descripción ... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerDeath.md",
"repo_id": "openmultiplayer",
"token_count": 1097
} | 364 |
---
título: OnPlayerObjectMoved
descripción: Este callback se llama cuando un objeto de jugador es movido después de MovePlayerObject (cuando este termina de moverse).
tags: ["player"]
---
## Descripción
Este callback se llama cuando un objeto de jugador es movido después de MovePlayerObject (cuando este termina de m... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 479
} | 365 |
---
título: OnRconLoginAttempt
descripción: Este callback se llama cuando alguien intenta identificarse como RCON adentro del juego, sin importar si tiene éxito o no.
tags: []
---
## Descripción
Este callback se llama cuando alguien intenta identificarse como RCON adentro del juego, sin importar si tiene éxito o no.
... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnRconLoginAttempt.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnRconLoginAttempt.md",
"repo_id": "openmultiplayer",
"token_count": 808
} | 366 |
---
title: Guía de Pickup
---
Un breve tutorial que describe cómo usar pickups.
## Definir el pickup
Lo primero que se debe hacer al crear pickup es crear su identificación. Esto se hará en una variable global. Para este ejemplo usaremos el nombre "gMiPickup".
```c
new gMiPickup;
```
## Creando la pickup
Hay dos ... | openmultiplayer/web/docs/translations/es/tutorials/PickupGuide.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/tutorials/PickupGuide.md",
"repo_id": "openmultiplayer",
"token_count": 1642
} | 367 |
---
title: سبک های دیالوگ
---
<div dir="rtl" style={{ textAlign: "right" }}>
:::note نکته
- در [OnDialogResponse](../callbacks/OnDialogResponse) فشردن **button1** باعث میشود **response** **1** باشد، اگر **button2** فشرده شود باعث میشود **response** **0** شود.
- هر دیالوگ میتواند دو دکمه داشته باشید. برای اینکه دکمه ... | openmultiplayer/web/docs/translations/fa/scripting/resources/dialogstyles.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fa/scripting/resources/dialogstyles.md",
"repo_id": "openmultiplayer",
"token_count": 4206
} | 368 |
---
title: OnGameModeExit
description: This callback is called when a gamemode ends, either through 'gmx', the server being shut down, or GameModeExit.
tags: []
---
## Description
Ang callback na ito ay itinatawag kapag ang isang gamemode ay isinara or itinapos. Itinatawag ito tuwing itinatawag ang rcon command na `g... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnGameModeExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnGameModeExit.md",
"repo_id": "openmultiplayer",
"token_count": 438
} | 369 |
---
title: OnPlayerConnect
description: This callback is called when a player connects to the server.
tags: ["player"]
---
## Description
Ang callback na ito ay itinatawag kapag ang isang player ay kumonek sa server.
| Name | Description |
| -------- | ---------------------------------... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerConnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerConnect.md",
"repo_id": "openmultiplayer",
"token_count": 356
} | 370 |
---
title: AddSimpleModel
description: Nagdaragdag ng bagong custom na simpleng object model para sa pag-download.
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Nagdaragdag ng bagong custom na simpleng object model para sa pag-download. Ang mga file ng modelo ay maiimbak sa Documents\GTA San ... | openmultiplayer/web/docs/translations/fil/scripting/functions/AddSimpleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AddSimpleModel.md",
"repo_id": "openmultiplayer",
"token_count": 940
} | 371 |
---
title: Ban
description: I-ban ang isang manlalaro na kasalukuyang nasa server.
tags: ["administration"]
---
## Description
I-ban ang isang manlalaro na kasalukuyang nasa server. Hindi na sila makakasali muli sa server. Ang pagbabawal ay magiging IP-based, at mase-save sa samp.ban file sa root directory ng server.... | openmultiplayer/web/docs/translations/fil/scripting/functions/Ban.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/Ban.md",
"repo_id": "openmultiplayer",
"token_count": 845
} | 372 |
---
title: ResumeRecordingPlayback
description: Ipagpapatuloy nito ang naka-pause na pag-record.
tags: []
---
## Description
Ipagpapatuloy nito ang naka-pause na pag-record.
## Related Functions
- [PauseRecordingPlayback](../functions/PauseRecordingPlayback): Ipagpapatuloy ang pagre-record kung naka-pause ito. | openmultiplayer/web/docs/translations/fil/scripting/functions/ResumeRecordingPlayback.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/ResumeRecordingPlayback.md",
"repo_id": "openmultiplayer",
"token_count": 112
} | 373 |
---
title: StartRecordingPlayerData
description: Nagsisimulang i-record ang mga galaw ng isang player sa isang file, na pagkatapos ay maaaring kopyahin ng isang NPC.
tags: ["player"]
---
## Description
Nagsisimulang i-record ang mga galaw ng isang player sa isang file, na pagkatapos ay maaaring kopyahin ng isang NPC.... | openmultiplayer/web/docs/translations/fil/scripting/functions/StartRecordingPlayerData.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/StartRecordingPlayerData.md",
"repo_id": "openmultiplayer",
"token_count": 1086
} | 374 |
---
title: OnFilterScriptExit
description: Cette callback est appelée lorsqu'un filterscript a été déchargé.
tags: [filterscripts, déchargé, unloaded, unload]
---
## Description
Cette callback est appelée lorsqu'un filterscript a été déchargé. Elle n'est appelée que dans le filterscript qui est déchargé.
## Exemple
... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnFilterScriptExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnFilterScriptExit.md",
"repo_id": "openmultiplayer",
"token_count": 217
} | 375 |
---
title: OnPlayerClickMap
description: OnPlayerClickMap est appelé quand un joueur place un point (clic droit) sur la map dans le menu pause.
tags: [player, ClickMap, Map, target, waypoint]
---
## Paramètres
OnPlayerClickMap est appelé quand un joueur place un point (clic droit) sur la map dans le menu pause.
| No... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerClickMap.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerClickMap.md",
"repo_id": "openmultiplayer",
"token_count": 858
} | 376 |
---
title: OnPlayerExitedMenu
description: Callback appelée un joueur quitte un menu.
tags: ["player", "menu"]
---
## Paramètres
Callback appelée un joueur quitte un menu.
| Nom | Description |
| -------------- | ----------------------------------------- |
| `int` playerid | ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerExitedMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerExitedMenu.md",
"repo_id": "openmultiplayer",
"token_count": 352
} | 377 |
---
title: OnPlayerSelectObject
description: Cette callback est appelée quand un joueur sélectionne un objet après que SelectObject a été utilisé.
tags: ["player"]
---
## Description
Cette callback est appelée quand un joueur sélectionne un objet après que SelectObject a été utilisé.
| Nom | Description... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerSelectObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerSelectObject.md",
"repo_id": "openmultiplayer",
"token_count": 741
} | 378 |
---
title: OnVehicleDamageStatusUpdate
description: Cette callback est appelée lorsqu'un élément de véhicule - tel que les portes ou les phares - sont endommagés.
tags: ["vehicle"]
---
:::tip
Voir ["damagestatus"](../resources/damagestatus).
:::
## Description
Cette callback est appelée lorsqu'un élément de véhicu... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleDamageStatusUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnVehicleDamageStatusUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1050
} | 379 |
---
title : "Compensation des décalages"
description : Explication de la compensation de décalage.
---
La compensation de décalage pour les balles tirées est activée par défaut sur les serveurs SA-MP depuis 0.3z. Il peut être basculé à l'aide de la variable de serveur `lagcompmode` dans [server.cfg](server.cfg). Le ré... | openmultiplayer/web/docs/translations/fr/server/LagCompensation.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/server/LagCompensation.md",
"repo_id": "openmultiplayer",
"token_count": 219
} | 380 |
---
title: Client
description: Kategori ini berisi informasi mengenai fitur client SA-MP beserta dukungannya.
---
Kategori ini berisi informasi mengenai fitur client SA-MP beserta dukungannya.
| openmultiplayer/web/docs/translations/id/client/_.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/client/_.md",
"repo_id": "openmultiplayer",
"token_count": 69
} | 381 |
---
title: OnPlayerClickPlayer
description: Terpanggil ketika pemain mengklik dua kali pemain yang berada di scoreboard.
tags: ["player"]
---
## Deskripsi
Terpanggil ketika pemain mengklik dua kali pemain yang berada di scoreboard.
| Name | Description |
... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerClickPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerClickPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 594
} | 382 |
---
title: OnPlayerStateChange
description: Callback ini akan terpanggil ketika pemain melakukan perubahan status.
tags: ["player"]
---
## Deskripsi
Callback ini akan terpanggil ketika pemain melakukan perubahan status. (misalnya saat player yang sedang mengendarai)
| Nama | Deskripsi ... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 588
} | 383 |
---
title: DestroyObject
description: Menghancurkan (menghapus) Object yang dibuat menggunakan CreateObject.
tags: []
---
## Deskripsi
Menghancurkan (menghapus) Object yang dibuat menggunakan CreateObject..
| Name | Description |
| -------- | -----------------... | openmultiplayer/web/docs/translations/id/scripting/functions/DestroyObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/DestroyObject.md",
"repo_id": "openmultiplayer",
"token_count": 646
} | 384 |
---
title: strfind
description: Mencari sebuah sub-string di dalam sebuah string.
tags: ["string"]
---
<LowercaseNote />
## Deskripsi
Mencari sebuah sub-string di dalam sebuah string.
| Nama | Deskripsi ... | openmultiplayer/web/docs/translations/id/scripting/functions/strfind.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/strfind.md",
"repo_id": "openmultiplayer",
"token_count": 919
} | 385 |
---
title: ID Cuaca
description: Informasi tentang ID cuaca
---
Informasi ini untuk digunakan dengan [SetWeather](../functions/SetWeather) dan [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 ... | openmultiplayer/web/docs/translations/id/scripting/resources/weatherid.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/resources/weatherid.md",
"repo_id": "openmultiplayer",
"token_count": 679
} | 386 |
---
title: AddMenuItem
description: Dodaje element do konkretnego menu.
Tags: ["menu"]
---
## Opis
Dodaje element do konkretnego menu.
| Nazwa | Opis |
| ------- | ------------------------------------------------- |
| menuid | ID menu, do którego element ma zostać doda... | openmultiplayer/web/docs/translations/pl/scripting/functions/AddMenuItem.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/AddMenuItem.md",
"repo_id": "openmultiplayer",
"token_count": 716
} | 387 |
---
title: AttachCameraToObject
description: Możesz używać tej funkcji, aby przyczepiać kamerę gracza do obiektów.
tags: []
---
## Opis
Możesz używać tej funkcji, aby przyczepiać kamerę gracza do obiektów.
| Nazwa | Opis |
| -------- | -------------------------... | openmultiplayer/web/docs/translations/pl/scripting/functions/AttachCameraToObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/AttachCameraToObject.md",
"repo_id": "openmultiplayer",
"token_count": 572
} | 388 |
---
title: Bem-vindo
sidebar_label: Bem-vindo
---
Bem-vindo ao SA-MP wiki, mantido pelo time do open.mp e uma grande comunidade do SA-MP!
Este site tem como objetivo fornecer uma fonte de documentação de fácil acesso e contribuição para SA-MP e, eventualmente, open.mp.
## A Wiki do SA-MP se foi
Infelizmente, o SA-M... | openmultiplayer/web/docs/translations/pt-BR/index.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/index.md",
"repo_id": "openmultiplayer",
"token_count": 517
} | 389 |
---
title: OnNPCExitVehicle
description: Essa callback é executada quando um NPC sai de um veículo.
tags: []
---
## Descrição
Essa callback é executada quando um NPC sai de um veículo.
## Exemplos
```c
public OnNPCExitVehicle()
{
print("O NPC saiu do veículo.");
return 1;
}
```
## Callbacks Relacionadas
... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnNPCExitVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnNPCExitVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 164
} | 390 |
---
title: OnPlayerEnterRaceCheckpoint
description: Esta callback é chamada quando um jogador entra em um checkpoint de corrida.
tags: ["player", "checkpoint", "racecheckpoint"]
---
## Descrição
Esta callback é chamada quando um jogador entra em um checkpoint de corrida.
| Nome | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerEnterRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerEnterRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 476
} | 391 |
---
title: OnPlayerSelectObject
description: Esta callback é chamada quando um jogador seleciona um objeto após SelectObject ser usado.
tags: ["player"]
---
## Descrição
Esta callback é chamada quando um jogador seleciona um objeto após SelectObject ser usado.
| Nome | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerSelectObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerSelectObject.md",
"repo_id": "openmultiplayer",
"token_count": 756
} | 392 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.