text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
title: SetPlayerPickupType
description: Sets the type of a player-pickup.
tags: ["player", "pickup", "playerpickup"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Sets the type of a player-pickup.
| Name | Description |
|--------------------|-... | openmultiplayer/web/docs/scripting/functions/SetPlayerPickupType.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerPickupType.md",
"repo_id": "openmultiplayer",
"token_count": 733
} | 323 |
---
title: SetPlayerWorldBounds
description: Set the world boundaries for a player.
tags: ["player"]
---
## Description
Set the world boundaries for a player. Players can not go out of the boundaries (they will be pushed back in).
| Name | Description |
| ---------- | -... | openmultiplayer/web/docs/scripting/functions/SetPlayerWorldBounds.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerWorldBounds.md",
"repo_id": "openmultiplayer",
"token_count": 654
} | 324 |
---
title: SetVehicleParamsCarDoors
description: Allows you to open and close the doors of a vehicle.
tags: ["vehicle"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Allows you to open and close the doors of a vehicle.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetVehicleParamsCarDoors.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetVehicleParamsCarDoors.md",
"repo_id": "openmultiplayer",
"token_count": 478
} | 325 |
---
title: ShowNameTags
description: Toggle the drawing of nametags, health bars and armor bars above players.
tags: []
---
## Description
Toggle the drawing of nametags, health bars and armor bars above players.
| Name | Description |
| --------- | ---------------... | openmultiplayer/web/docs/scripting/functions/ShowNameTags.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ShowNameTags.md",
"repo_id": "openmultiplayer",
"token_count": 415
} | 326 |
---
title: TextDrawAlignment
description: Set the alignment of text in a text draw.
tags: ["textdraw"]
---
## Description
Set the alignment of text in a text draw.
| Parameter | Description |
| ------------------------- | ---------------... | openmultiplayer/web/docs/scripting/functions/TextDrawAlignment.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawAlignment.md",
"repo_id": "openmultiplayer",
"token_count": 966
} | 327 |
---
title: TextDrawGetColour
description: Gets the text colour of a textdraw.
tags: ["textdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the text colour of a textdraw.
| Name | Description |
| ----------- | -------------------------------------------... | openmultiplayer/web/docs/scripting/functions/TextDrawGetColour.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawGetColour.md",
"repo_id": "openmultiplayer",
"token_count": 659
} | 328 |
---
title: TextDrawIsSelectable
description: Checks if a textdraw is selectable.
tags: ["textdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a textdraw is selectable.
## Parameters
| Name | Description |
| ----------- | -------------------------------- |
| ... | openmultiplayer/web/docs/scripting/functions/TextDrawIsSelectable.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawIsSelectable.md",
"repo_id": "openmultiplayer",
"token_count": 768
} | 329 |
---
title: TextDrawUseBox
description: Toggle whether a textdraw uses a box or not.
tags: ["textdraw"]
---
## Description
Toggle whether a textdraw uses a box or not.
| Name | Description |
| -------------- | -------------------------------------------------- |
| Text... | openmultiplayer/web/docs/scripting/functions/TextDrawUseBox.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawUseBox.md",
"repo_id": "openmultiplayer",
"token_count": 754
} | 330 |
---
title: VectorSize
description: Returns the norm (length) of the provided vector.
tags: ["math"]
---
## Description
Returns the norm (length) of the provided vector.
| Name | Description |
| ------- | ------------------------------------- |
| Float:x | The vector's magnitude on the X ... | openmultiplayer/web/docs/scripting/functions/VectorSize.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/VectorSize.md",
"repo_id": "openmultiplayer",
"token_count": 319
} | 331 |
---
title: existproperty
description: Check if a property exist.
tags: ["core", "property"]
---
<LowercaseNote />
## Description
Check if a property exist.
| Name | Description |
| ------ | ------------------------------------... | openmultiplayer/web/docs/scripting/functions/existproperty.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/existproperty.md",
"repo_id": "openmultiplayer",
"token_count": 461
} | 332 |
---
title: floatcmp
description: floatcmp can be used to compare float values to each other, to validate the comparison.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
floatcmp can be used to compare float values to each other, to validate the comparison.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/floatcmp.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/floatcmp.md",
"repo_id": "openmultiplayer",
"token_count": 274
} | 333 |
---
title: fputchar
description: Write one character to a file.
tags: ["file management"]
---
<LowercaseNote />
## Description
Write one character to a file.
| Name | Description |
| ----------- | ----------------------------------------------... | openmultiplayer/web/docs/scripting/functions/fputchar.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/fputchar.md",
"repo_id": "openmultiplayer",
"token_count": 839
} | 334 |
---
title: heapspace
description: Returns the amount of memory available for the heap/stack in bytes.
tags: ["core"]
---
<LowercaseNote />
## Description
Returns the amount of memory available for the heap/stack in bytes.
## Examples
```c
public OnGameModeInit()
{
printf("Heapspace: %i kilobytes", heapspace() ... | openmultiplayer/web/docs/scripting/functions/heapspace.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/heapspace.md",
"repo_id": "openmultiplayer",
"token_count": 113
} | 335 |
---
title: strcat
description: This function concatenates (joins together) two strings into the destination string.
tags: ["string"]
---
<LowercaseNote />
## Description
This function concatenates (joins together) two strings into the destination string.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/strcat.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/strcat.md",
"repo_id": "openmultiplayer",
"token_count": 465
} | 336 |
---
title: uudecode
description: Decode an UU-encoded string.
tags: ["string", "encryption"]
---
<LowercaseNote />
## Description
Decode an UU-encoded string.
| Name | Description |
| ------------------------- | --------------------------------------------- |
|... | openmultiplayer/web/docs/scripting/functions/uudecode.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/uudecode.md",
"repo_id": "openmultiplayer",
"token_count": 315
} | 337 |
# The preprocessor
---
The first phase of compiling a pawn source file to the executable
P-code is “preprocessing”: a general purpose text filter that modifies/cleans up the text
before it is fed into the parser. The preprocessing phase removes comments,
strips out “conditionally compiled” blocks, processes the com... | openmultiplayer/web/docs/scripting/language/reference/05-The-preprocessor.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/language/reference/05-The-preprocessor.md",
"repo_id": "openmultiplayer",
"token_count": 2072
} | 338 |
---
title: Camera Cut Styles
---
:::info
Camera cut styles are used by natives such as [SetPlayerCameraLookAt](../functions/SetPlayerCameraLookAt), [InterpolateCameraPos](../functions/InterpolateCameraPos) and [InterpolateCameraLookAt](../functions/InterpolateCameraLookAt).
:::
## Cut Styles
| ID | Style | Descrip... | openmultiplayer/web/docs/scripting/resources/cameracutstyles.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/cameracutstyles.md",
"repo_id": "openmultiplayer",
"token_count": 179
} | 339 |
---
title: File Seek Whence
description: File seek whence definitions. (fseek)
---
:::note
These definitions are used by [fseek](../functions/fseek).
:::
| Definition | Description |
| ------------ | --------... | openmultiplayer/web/docs/scripting/resources/file-seek-whence.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/file-seek-whence.md",
"repo_id": "openmultiplayer",
"token_count": 299
} | 340 |
---
title: Material Text Sizes
description: A list of Material Text Sizes.
---
:::info
There are two kinds of parameters for [SetObjectMaterialText](../functions/SetObjectMaterialText) - material text alignments and material text sizes. Text sizes are listed on this page.
:::
| Value | Definition ... | openmultiplayer/web/docs/scripting/resources/materialtextsizes.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/materialtextsizes.md",
"repo_id": "openmultiplayer",
"token_count": 416
} | 341 |
---
title: Sound IDs
description: A list of sound IDs used by PlayerPlaySound.
---
Here you can find all of the sound IDs used by [PlayerPlaySound](../functions/PlayerPlaySound) function.
For [crime report sound IDs](../functions/PlayCrimeReportForPlayer) check [here](crimelist).
:::note
You have to use sound ID **... | openmultiplayer/web/docs/scripting/resources/sound-ids.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/sound-ids.md",
"repo_id": "openmultiplayer",
"token_count": 7221
} | 342 |
---
title: OnObjectMoved
description: Ovaj callback se poziva kada je objekt pomjeren nakon MoveObject (kada se prestane kretati).
tags: []
---
## Deskripcija
Ovaj callback se poziva kada je objekt pomjeren nakon MoveObject (kada se prestane kretati).
| Ime | Deskripcija |
| -------- | ---------... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 450
} | 343 |
---
title: OnPlayerFinishedDownloading
description: Ovaj callback je pozvan kada igrač dovrši preuzimanje custom modela.
tags: ["player"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.DL R1 i ne radi u nižim verzijama!
:::
## Deskripcija
Ovaj callback je pozvan kada igrač dovrši preuzimanje custom modela. Za v... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerFinishedDownloading.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerFinishedDownloading.md",
"repo_id": "openmultiplayer",
"token_count": 527
} | 344 |
---
title: OnPlayerStreamIn
description: Ovaj callback je pozvan kada se igrač učita/pojavi u klijent nekog drugog igrača.
tags: ["player"]
---
## Deskripcija
Ovaj callback je pozvan kada se igrač učita/pojavi u klijent nekog drugog igrača.
| Ime | Deskripcija |
| ------... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 413
} | 345 |
---
title: OnVehicleSirenStateChange
description: Ovaj callback je pozvan kada se uključi/isključi sirena vozila.
tags: ["vehicle"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Ovaj callback je pozvan kada se uključi/isključi sirena vozila.
| Ime | Desk... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleSirenStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleSirenStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 660
} | 346 |
---
title: AllowPlayerTeleport
description: O(ne)mogući mogućnost teleportovanja igrača kada koristi desni klik na mapu.
tags: ["player"]
---
:::warning
Ova funkcija, kao u 0.3d, je zastarjela. Provjerite [OnPlayerClickMap](../callbacks/OnPlayerClickMap.md).
:::
## Deskripcija
O(ne)mogući mogućnost teleportovanja ... | openmultiplayer/web/docs/translations/bs/scripting/functions/AllowPlayerTeleport.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AllowPlayerTeleport.md",
"repo_id": "openmultiplayer",
"token_count": 515
} | 347 |
---
title: CallLocalFunction
description: Poziva javnu funkciju iz skripte u kojoj se koristi.
tags: []
---
## Deskripcija
Poziva javnu funkciju iz skripte u kojoj se koristi.
| Ime | Deskripcija |
| -------------- | --------------------------------------------- |
| funct... | openmultiplayer/web/docs/translations/bs/scripting/functions/CallLocalFunction.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/CallLocalFunction.md",
"repo_id": "openmultiplayer",
"token_count": 491
} | 348 |
---
title: CreatePlayer3DTextLabel
description: Kreira 3D Text Label samo za jednog određenog igrača.
tags: ["player", "3dtextlabel"]
---
## Deskripcija
Kreira 3D Text Label samo za jednog određenog igrača.
| Ime | Deskripcija |
| --------... | openmultiplayer/web/docs/translations/bs/scripting/functions/CreatePlayer3DTextLabel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/CreatePlayer3DTextLabel.md",
"repo_id": "openmultiplayer",
"token_count": 1342
} | 349 |
---
title: DisableMenu
description: Onemogući meni.
tags: ["menu"]
---
## Deskripcija
Onemogući meni.
| Ime | Deskripcija |
| ----------- | ----------------------------- |
| Menu:menuid | ID meni-a koji se onemogućava |
## Returns
Ova funkcija ne returna (vraća) nikakve posebne vrijednost... | openmultiplayer/web/docs/translations/bs/scripting/functions/DisableMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/DisableMenu.md",
"repo_id": "openmultiplayer",
"token_count": 415
} | 350 |
---
title: FindTextureFileNameFromCRC
description: Pronađite postojeću prilagođenu datoteku teksture kože ili jednostavnog objekta.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.DL R1 i ne radi u nižim verzijama!
:::
## Deskripcija
Pronađite postojeću prilagođenu datoteku teksture kože ili jednostavno... | openmultiplayer/web/docs/translations/bs/scripting/functions/FindTextureFileNameFromCRC.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/FindTextureFileNameFromCRC.md",
"repo_id": "openmultiplayer",
"token_count": 537
} | 351 |
---
title: GetActorHealth
description: Dobij health actora.
tags: ["actor"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Deskripcija
Dobij health actora
| Ime | Deskripcija |
| ------------- | ---------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetActorHealth.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetActorHealth.md",
"repo_id": "openmultiplayer",
"token_count": 579
} | 352 |
---
title: GetPVarInt
description: Dobiva vrijednost cijelog broja varijable igrača.
tags: ["pvar"]
---
## Deskripcija
Dobiva vrijednost cijelog broja varijable igrača.
| Ime | Deskripcija |
| -------- | ----------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPVarInt.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPVarInt.md",
"repo_id": "openmultiplayer",
"token_count": 708
} | 353 |
---
title: GetPlayerVehicleSeat
description: Saznaj u kojem je igrač sjedištu.
tags: ["player", "vehicle"]
---
## Deskripcija
Saznaj u kojem je igrač sjedištu.
| Ime | Deskripcija |
| -------- | -------------------------------------- |
| playerid | ID player you want to get the seat o... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerVehicleSeat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerVehicleSeat.md",
"repo_id": "openmultiplayer",
"token_count": 494
} | 354 |
---
title: GetServerVarAsInt
description: Dobij cjelobrojnu vrijednost server varijable.
tags: []
---
:::warning
This function, as of 0.3.7 R2, is deprecated. Please see GetConsoleVarAsInt
:::
## Deskripcija
Dobij cjelobrojnu vrijednost server varijable.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetServerVarAsInt.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetServerVarAsInt.md",
"repo_id": "openmultiplayer",
"token_count": 435
} | 355 |
---
title: GetVehicleRotationQuat
description: Vraća rotaciju vozila na svim osama kao kvaternion.
tags: ["vehicle"]
---
## Deskripcija
Vraća rotaciju vozila na svim osama kao kvaternion.
| Ime | Deskripcija |
| --------- | -----------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleRotationQuat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleRotationQuat.md",
"repo_id": "openmultiplayer",
"token_count": 705
} | 356 |
---
title: IsObjectMoving
description: Provjerava da li se zadati objectid kreće.
tags: []
---
## Deskripcija
Provjerava da li se zadati objectid kreće.
| Ime | Deskripcija |
| -------- | ------------------------------------------------ |
| objectid | Objectid kojeg želite p... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsObjectMoving.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsObjectMoving.md",
"repo_id": "openmultiplayer",
"token_count": 285
} | 357 |
---
title: IsValidObject
description: Provjerava da li je navedeni ID objekta postojeći.
tags: []
---
## Deskripcija
Provjerava da li je navedeni ID objekta postojeći.
| Ime | Deskripcija |
| -------- | ------------------------------------ |
| objectid | ID objekta za provjeriti postoja... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsValidObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsValidObject.md",
"repo_id": "openmultiplayer",
"token_count": 676
} | 358 |
---
title: NetStats_GetIpPort
description: Nabavite IP adresu i port igrača.
tags: []
---
## Deskripcija
Nabavite IP adresu i port igrača.
| Ime | Deskripcija |
| ----------- | ------------------------------------------------------------ |
| playerid | ID i... | openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_GetIpPort.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_GetIpPort.md",
"repo_id": "openmultiplayer",
"token_count": 949
} | 359 |
---
title: PlayerTextDrawHide
description: Sakrij player-textdraw za igrača kojem je kreiran.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Sakrij player-textdraw za igrača kojem je kreiran.
| Ime | Deskripcija |
| -------- | ------------------------------ |
| playerid | I... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawHide.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawHide.md",
"repo_id": "openmultiplayer",
"token_count": 734
} | 360 |
---
title: RemovePlayerAttachedObject
description: Ukloni prikvačeni objekat sa igrača.
tags: ["player"]
---
## Deskripcija
Ukloni prikvačeni objekat sa igrača.
| Ime | Deskripcija |
| -------- | -------------------------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/RemovePlayerAttachedObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/RemovePlayerAttachedObject.md",
"repo_id": "openmultiplayer",
"token_count": 501
} | 361 |
---
title: SendRconCommand
description: Šalje RCON (Remote Console) komandu.
tags: ["administration"]
---
## Deskripcija
Šalje RCON (Remote Console) komandu.
| Ime | Deskripcija |
| --------- | ------------------------- |
| command[] | RCON komanda za izvršiti. |
## Returns
Ova funkcija uvijek ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SendRconCommand.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SendRconCommand.md",
"repo_id": "openmultiplayer",
"token_count": 514
} | 362 |
---
title: SetObjectRot
description: Postavi rotaciju objekta na tri ose (X, Y i Z).
tags: []
---
## Deskripcija
Postavi rotaciju objekta na tri ose (X, Y i Z).
| Ime | Deskripcija |
| ---------- | --------------------------------- |
| objectid | ID objekta za postaviti rotaciju. |
| F... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetObjectRot.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetObjectRot.md",
"repo_id": "openmultiplayer",
"token_count": 750
} | 363 |
---
title: SetPlayerFacingAngle
description: Postavi smjer gledanja igrača (Z rotacija).
tags: ["player"]
---
## Deskripcija
Postavi smjer gledanja igrača (Z rotacija).
| Ime | Deskripcija |
| --------- | -------------------------------------- |
| playerid | ID igrača za postaviti s... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerFacingAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerFacingAngle.md",
"repo_id": "openmultiplayer",
"token_count": 541
} | 364 |
---
title: SetPlayerRaceCheckpoint
description: Kreira race (trkački) checkpoint.
tags: ["player", "checkpoint", "racecheckpoint"]
---
## Deskripcija
Kreira race (trkački) checkpoint. Kada igrač uđe u njega, callback OnPlayerEnterRaceCheckpoint se poziva.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 3241
} | 365 |
---
title: SetSpawnInfo
description: Ova funkcija se može koristiti za promijeniti spawn informacije određenog igrača.
tags: []
---
## Deskripcija
Ova funkcija se može koristiti za promijeniti spawn informacije određenog igrača. Ona omogućava da automatski postaviš nekome spawn oružje, njihov tim, skin ili spawn pozi... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetSpawnInfo.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetSpawnInfo.md",
"repo_id": "openmultiplayer",
"token_count": 1188
} | 366 |
---
title: SetWeather
description: Postavite vrijeme (weather) za sve igrače.
tags: []
---
## Deskripcija
Postavite vrijeme (weather) za sve igrače.
| Ime | Deskripcija |
| --------- | ------------------------------------------------------- |
| weatherid | [Vrijeme/w... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetWeather.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetWeather.md",
"repo_id": "openmultiplayer",
"token_count": 411
} | 367 |
---
title: TextDrawBackgroundColor
description: Prilagođava boju pozadine područja za textdraw (obris / sjena - NE okvir).
tags: ["textdraw"]
---
## Deskripcija
Prilagođava boju pozadine područja za textdraw (obris / sjena - NE box. Za boju boxa, pogledajte TextDrawBoxColor).
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawBackgroundColor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawBackgroundColor.md",
"repo_id": "openmultiplayer",
"token_count": 1075
} | 368 |
---
title: TextDrawSetString
description: Mijenja tekst na textdrawu.
tags: ["textdraw"]
---
## Deskripcija
Mijenja tekst na textdrawu.
| Ime | Deskripcija |
| -------- | ------------------------ |
| text | textdraw za izmijeniti. |
| string[] | Novi string za textdraw. |
## Returns
Ova funk... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawSetString.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawSetString.md",
"repo_id": "openmultiplayer",
"token_count": 916
} | 369 |
---
title: asin
description: .
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Dobijte obrnutu vrijednost sinusnog luka u radijanima.
| Ime | Deskripcija |
| ----------- | ---------------------- |
| Float:value | the input in arc sine. |
## Returns
Vrijednost č... | openmultiplayer/web/docs/translations/bs/scripting/functions/asin.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/asin.md",
"repo_id": "openmultiplayer",
"token_count": 401
} | 370 |
---
title: floatadd
description: Dodaje dva floata zajedno.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Dodaje dva floata zajedno. Ova je funkcija suvišna jer standardni operater (+) radi istu stvar.
| Ime | Deskripcija |
| ------------- | ------------ |
| Float:Numb... | openmultiplayer/web/docs/translations/bs/scripting/functions/floatadd.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/floatadd.md",
"repo_id": "openmultiplayer",
"token_count": 370
} | 371 |
---
title: format
description: Formatira string tako da sadrži varijable i druge stringove unutar njega.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Formatira string tako da sadrži varijable i druge stringove unutar njega.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/format.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/format.md",
"repo_id": "openmultiplayer",
"token_count": 1560
} | 372 |
---
title: listenport
description: .
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
| openmultiplayer/web/docs/translations/bs/scripting/functions/listenport.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/listenport.md",
"repo_id": "openmultiplayer",
"token_count": 44
} | 373 |
---
title: strins
description: Umetni string u drugi string.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Umetni string u drugi string.
| Ime | Deskripcija |
| ----------------------- | ----------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/strins.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/strins.md",
"repo_id": "openmultiplayer",
"token_count": 701
} | 374 |
---
title: Vrste Pogodaka Mecima
---
:::info
Ova stranica sadrži sve tipove pogodaka mecima koje koristi [OnPlayerWeaponShot](../callbacks/OnPlayerWeaponShot).
:::
---
| Vrijednost | Definicija |
| ---------- | ----------------------------- |
| 0 | BULLET_HIT_TYPE_NONE |
| 1 ... | openmultiplayer/web/docs/translations/bs/scripting/resources/bullethittypes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/resources/bullethittypes.md",
"repo_id": "openmultiplayer",
"token_count": 342
} | 375 |
---
title: OnDialogResponse
description: Dieses Callback wird ausgeführt wenn ein Spieler einem Dialog antwortet(benutzt), indem er einen der Buttons drückt, Enter/ESC drückt oder ein List-Item per Doppelklick auswählt(List Style Dialog).
tags: [Pickup]
---
## Beschreibung
Dieses Callback wird ausgeführt wenn ein Spi... | openmultiplayer/web/docs/translations/de/scripting/callbacks/OnDialogResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/de/scripting/callbacks/OnDialogResponse.md",
"repo_id": "openmultiplayer",
"token_count": 2930
} | 376 |
---
título: OnActorStreamIn
descripción: Este callback se llama cuando un actor es cargado (se hace visible) por el cliente de un jugador.
tags: []
---
<VersionWarnES name='callback' version='SA-MP 0.3.7' />
## Descripción
Este callback se llama cuando un actor es cargado (se hace visible) por el cliente de un jugad... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnActorStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnActorStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 397
} | 377 |
---
título: OnPlayerClickTextDraw
descripción: Este callback se llama cuando un jugador clickea en un textdraw o cancela el modo de selección con la tecla ESC.
tags: ["player", "textdraw"]
---
## Descripción
Este callback se llama cuando un jugador clickea en un textdraw o cancela el modo de selección con la tecla ES... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerClickTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerClickTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 942
} | 378 |
---
título: OnPlayerKeyStateChange
descripción: Este callback se llama cuando el estado de alguna tecla soportada cambia (presionada/soltada).
tags: ["player"]
---
## Descripción
Este callback se llama cuando el estado de alguna tecla [soportada](../resources/keys) cambia (presionada/soltada).<br/>Las teclas direccio... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerKeyStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerKeyStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 4672
} | 379 |
---
título: OnPlayerUpdate
descripción: Este callback se llama cada vez que un cliente/jugador actualiza su estado con el servidor.
tags: ["player"]
---
## Descripción
Este callback se llama cada vez que un cliente/jugador actualiza su estado con el servidor. A menudo de usa para crear callbacks personalizados para d... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1168
} | 380 |
---
title: AddStaticVehicle
description: Añade un vehículo 'estático' (los modelos están pre-cargados para los jugadores) al modo de juego.
tags: ["vehículo, vehicle"]
---
## Descripción
Añade un vehículo 'estático' (los modelos están pre-cargados para los jugadores) al modo de juego.
| Nombre ... | openmultiplayer/web/docs/translations/es/scripting/functions/AddStaticVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/functions/AddStaticVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 794
} | 381 |
---
title: SendClientMessageToAll
description: یک پیام را برای همه بازیکن ها نشان میدهد.
tags: []
---
<div dir="rtl" style={{ textAlign: "right" }}>
## توضیحات
یک پیام را برای همه بازیکن ها نشان میدهد. این معادل چند نفره SendClientMessage است.
| Name | Description |
... | openmultiplayer/web/docs/translations/fa/scripting/functions/SendClientMessageToAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fa/scripting/functions/SendClientMessageToAll.md",
"repo_id": "openmultiplayer",
"token_count": 822
} | 382 |
---
title: OnEnterExitModShop
description: This callback is called when a player enters or exits a mod shop.
tags: []
---
## Deskripsyon
Ang callback na ito ay na cacall kapag ang player ay pumasok o umalis mula sa mod shop.
| Pangalan | Deskripsyong ... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnEnterExitModShop.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnEnterExitModShop.md",
"repo_id": "openmultiplayer",
"token_count": 534
} | 383 |
---
title: OnPlayerClickPlayerTextDraw
description: This callback is called when a player clicks on a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripsyon
Ang callback na ito ay natatawag kapag ang player ay pumindot sa isang player-textdraw. Hindi ito natatawag kapag ang player ay nag c... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerClickPlayerTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerClickPlayerTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1074
} | 384 |
---
title: AddMenuItem
description: Magdagdag ng item sa isang tinutukoy na menu.
tags: ["menu"]
---
## Description
Adds an item to a specified menu.
| Name | Description |
| ------- | ---------------------------------------- |
| menuid | Ang menu id upang magdagdag ng item. |
| ... | openmultiplayer/web/docs/translations/fil/scripting/functions/AddMenuItem.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AddMenuItem.md",
"repo_id": "openmultiplayer",
"token_count": 601
} | 385 |
---
title: AttachCameraToObject
description: Maaari mong gamitin ang function na ito upang ikabit ang player camera sa mga bagay.
tags: []
---
## Description
Maaari mong gamitin ang function na ito upang ikabit ang player camera sa mga bagay.
| Name | Description ... | openmultiplayer/web/docs/translations/fil/scripting/functions/AttachCameraToObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AttachCameraToObject.md",
"repo_id": "openmultiplayer",
"token_count": 493
} | 386 |
---
title: EnableVehicleFriendlyFire
description: Paganahin ang friendly fire para sa mga sasakyan ng team.
tags: ["vehicle"]
---
## Description
Paganahin ang friendly fire para sa mga sasakyan ng team. Hindi masisira ng mga manlalaro ang mga sasakyan ng mga kasamahan sa koponan (Dapat gamitin ang SetPlayerTeam!).
#... | openmultiplayer/web/docs/translations/fil/scripting/functions/EnableVehicleFriendlyFire.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/EnableVehicleFriendlyFire.md",
"repo_id": "openmultiplayer",
"token_count": 178
} | 387 |
---
title: Kick
description: I-kick ang isang manlalaro mula sa server. Kakailanganin nilang umalis sa laro at muling kumonekta kung nais nilang magpatuloy sa paglalaro.
tags: ["administration"]
---
## Description
I-kick ang isang manlalaro mula sa server. Kakailanganin nilang umalis sa laro at muling kumonekta kung ... | openmultiplayer/web/docs/translations/fil/scripting/functions/Kick.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/Kick.md",
"repo_id": "openmultiplayer",
"token_count": 739
} | 388 |
---
title: ShowNameTags
description: I-toggle ang drawing ng mga nametag, health bar at armor bar sa itaas ng mga manlalaro.
tags: []
---
## Description
I-toggle ang drawing ng mga nametag, health bar at armor bar sa itaas ng mga manlalaro.
| Name | Description |
| ------- | --... | openmultiplayer/web/docs/translations/fil/scripting/functions/ShowNameTags.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/ShowNameTags.md",
"repo_id": "openmultiplayer",
"token_count": 437
} | 389 |
---
title: floatstr
description: Kino-convert ang isang string sa isang float.
tags: ["string", "floating-point"]
---
<LowercaseNote />
## Description
Converts a string to a float.
| Name | Description |
| ------ | ----------------------------------- |
| string | Ang string na i-convert sa... | openmultiplayer/web/docs/translations/fil/scripting/functions/floatstr.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/floatstr.md",
"repo_id": "openmultiplayer",
"token_count": 234
} | 390 |
---
title: OnClientMessage
description: Cette callback est appelée chaque fois qu'un NPC voit un ClientMessage.
tags: [NPC, ClientMessage, SendClientMessageToAll, ]
---
## Paramètres
Cette callback est appelée chaque fois qu'un NPC voit un ClientMessage. Ce sera le cas à chaque fois qu’une fonction SendClientMessageT... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 401
} | 391 |
---
title: OnPickupStreamIn
description: Ce rappel est appelé lorsqu'un objet à récupérer entre dans la portée visuelle d'un joueur.
tags: ["player"]
---
<VersionWarn name='callback' version='omp v1.1.0.2612' />
## Description
Ce rappel est appelé lorsqu'un objet à récupérer entre dans la portée visuelle d'un joueur... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPickupStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPickupStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 728
} | 392 |
---
title: OnPlayerEnterRaceCheckpoint
description: Cette callback est appelée quand un joueur est entré dans un race checkpoint.
tags: ["player", "checkpoint", "racecheckpoint"]
---
## Paramètres
Cette callback est appelée quand un joueur est entré dans un race checkpoint.
| Nom | Description ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerEnterRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerEnterRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 532
} | 393 |
---
title: OnPlayerRequestClass
description: Appelée lorsqu'un joueur change de classe dans la sélection de classe.
tags: ["player"]
---
## Paramètres
Appelée lorsqu'un joueur change de classe dans la sélection de classe.
| Nom | Description ... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerRequestClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnPlayerRequestClass.md",
"repo_id": "openmultiplayer",
"token_count": 550
} | 394 |
---
title: OnScriptCash
description: Ce rappel est déclenché lorsque quelque chose dans le jeu, comme les casinos, donne de l'argent au joueur.
tags: ["player"]
---
:::warning
Ce rappel NE FONCTIONNE PAS.
:::
## Description
Ce rappel est déclenché lorsque quelque chose dans le jeu, comme les casinos, donne de l'ar... | openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnScriptCash.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/Callbacks/OnScriptCash.md",
"repo_id": "openmultiplayer",
"token_count": 592
} | 395 |
---
title : AddSimpleModel
description: Ajoute un nouveau modèle d'objet simple personnalisé à télécharger.
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Ajoute un nouveau modèle d'objet simple personnalisé à télécharger. Les fichiers modèles seront stockés dans le dossier Documents\GTA San A... | openmultiplayer/web/docs/translations/fr/scripting/functions/AddSimpleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fr/scripting/functions/AddSimpleModel.md",
"repo_id": "openmultiplayer",
"token_count": 1145
} | 396 |
---
title: OnIncomingConnection
description: Callback ini akan terpanggil ketika sebuah IP address mencoba untuk koneksi kedalam server.
tags: []
---
## Deskripsi
Callback ini akan terpanggil ketika sebuah IP address mencoba untuk koneksi kedalam server. Untuk memblokir koneksi yang ingin masuk, gunakan BlockIpAddres... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnIncomingConnection.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnIncomingConnection.md",
"repo_id": "openmultiplayer",
"token_count": 552
} | 397 |
---
title: OnPlayerPickUpPickup
description: Callback ini dipanggil ketika pemain mengambil pickup yang dibuat dengan CreatePickup.
tags: ["player"]
---
## Deskripsi
Callback ini dipanggil ketika pemain mengambil pickup yang dibuat dengan CreatePickup.
| Nama | Deskripsi |
| ----... | openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerPickUpPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/callbacks/OnPlayerPickUpPickup.md",
"repo_id": "openmultiplayer",
"token_count": 480
} | 398 |
---
title: CreateObject
description: Membuat Object pada koordinat tertentu di dalam game.
tags: []
---
## Deskripsi
Membuat Object pada koordinat tertentu di dalam game.
| Name | Description ... | openmultiplayer/web/docs/translations/id/scripting/functions/CreateObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/CreateObject.md",
"repo_id": "openmultiplayer",
"token_count": 2182
} | 399 |
---
title: strcat
description: Fungsi ini menggabungkan dua buah string menjadi sebuah string.
tags: ["string"]
---
<LowercaseNote />
## Deskripsi
Fungsi ini menggabungkan dua buah string menjadi sebuah string.
| Nama | Deskripsi |
| --------------------- | ---------... | openmultiplayer/web/docs/translations/id/scripting/functions/strcat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/functions/strcat.md",
"repo_id": "openmultiplayer",
"token_count": 532
} | 400 |
---
id: mapiconstyles
title: Gaya Ikon Peta
description: Daftar Gaya Ikon Peta
---
| ID | Konstanta | Ada penanda cekpoin? | Jangkauan radar peta |
| --- | ------------------------- | -------------------- | ---------------------------------------------- |
| 0 | MAPICON_LOCA... | openmultiplayer/web/docs/translations/id/scripting/resources/mapiconstyles.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/id/scripting/resources/mapiconstyles.md",
"repo_id": "openmultiplayer",
"token_count": 432
} | 401 |
# Wikipedia SA-MP i dokumentacja open.mp
Witamy na wikipedii SA-MP, utrzymywanej przez zespół open.mp i szerszą społeczność SA-MP!
Ta strona ma na celu zapewnienie łatwo dostępnego,
łatwego do współtworzenia źródła dokumentacji dla SA-MP oraz, docelowo, open.mp.
## Wikipedia SA-MP została wyłączona
Niestety, wikip... | openmultiplayer/web/docs/translations/pl/index.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/index.md",
"repo_id": "openmultiplayer",
"token_count": 690
} | 402 |
---
title: ApplyAnimation
description: Włącza animację graczowi.
tags: []
---
## Opis
Włącza animację graczowi.
| Nazwa | Opis ... | openmultiplayer/web/docs/translations/pl/scripting/functions/ApplyAnimation.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pl/scripting/functions/ApplyAnimation.md",
"repo_id": "openmultiplayer",
"token_count": 3355
} | 403 |
---
title: Common Issues
---
## Conteúdos
## Cliente
### Eu tenho o erro "San Andreas cannot be found"
San Andreas Multi-player **NÃO** é um programa "stand-alone" (que funciona sozinho). Ele adiciona a funcionalidade de multi-jogador ao San Andreas e portanto você precisa do GTA San Andreas no seu computador, tamb... | openmultiplayer/web/docs/translations/pt-BR/client/CommonClientIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/client/CommonClientIssues.md",
"repo_id": "openmultiplayer",
"token_count": 1686
} | 404 |
---
title: OnNPCConnect
description: Essa callback é executada quando um NPC conecta com sucesso no servidor.
tags: []
---
## Descrição
Essa callback é executada quando um NPC conecta com sucesso no servidor.
| Nome | Descrição |
| ------------ | ---------------------... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnNPCConnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnNPCConnect.md",
"repo_id": "openmultiplayer",
"token_count": 344
} | 405 |
---
title: OnPlayerEditAttachedObject
description: Esta callback é chamada quando um jogador termina o modo de edição de objetos anexados.
tags: ["player"]
---
## Descrição
Esta callback é chamada quando um jogador termina o modo de edição de objetos anexados.
| Name | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerEditAttachedObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerEditAttachedObject.md",
"repo_id": "openmultiplayer",
"token_count": 1917
} | 406 |
---
title: OnPlayerRequestClass
description: Chamado quando um jogador muda de classe na seleção de classe (e quando a seleção de classe aparece pela primeira vez).
tags: ["player"]
---
## Descrição
Chamado quando um jogador muda de classe na seleção de classe (e quando a seleção de classe aparece pela primeira vez).... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerRequestClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnPlayerRequestClass.md",
"repo_id": "openmultiplayer",
"token_count": 496
} | 407 |
---
title: OnVehicleDamageStatusUpdate
description: Essa callback é executada quando elementos do veíclo como portas, rodas, painéis, ou luzes mudam seu status de dano.
tags: ["vehicle"]
---
:::tip
Funções úteis para trabalhar com danos em veículos podem ser encontradas [aqui](../resources/damagestatus).
:::
## Des... | openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleDamageStatusUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehicleDamageStatusUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 780
} | 408 |
---
title: AddStaticVehicle
description: Adiciona um veículo 'fixo' (modelos são pré-carregados para os jogadores) ao gamemode.
tags: ["vehicle"]
---
## Descrição
Adiciona um veículo 'fixo' (modelos são pré-carregados para os jogadores) ao gamemode.
| Name | Descrição ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AddStaticVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AddStaticVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 827
} | 409 |
---
title: DeleteSVar
description: Exclui uma variável do servidor definida anteriormente.
tags: []
---
## Descrição
Exclui uma variável do servidor definida anteriormente.
| Nome | Descrição |
| ------- | ---------------------------------------------- |
| varname | O nome da ... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/DeleteSVar.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/DeleteSVar.md",
"repo_id": "openmultiplayer",
"token_count": 528
} | 410 |
---
title: GetMaxPlayers
description: Retorna o número máximo de jogadores que podem entrar no servidor, conforme definido pela variável 'maxplayer' no servidor.
tags: ["player"]
---
## Descrição
Retorna o número máximo de jogadores que podem entrar no servidor, conforme definido pela variável 'maxplayer' no server.c... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetMaxPlayers.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetMaxPlayers.md",
"repo_id": "openmultiplayer",
"token_count": 364
} | 411 |
---
title: SetActorPos
description: Define a posição de um ator.
tags: []
---
Esta função foi implementada no SA-MP 0.3.7 e não funcionará em versões anteriores.
## Descrição
Define a posição de um ator.
| Nome | Descrição |
| ------- | ------------------------... | openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetActorPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetActorPos.md",
"repo_id": "openmultiplayer",
"token_count": 587
} | 412 |
---
title: "Estruturas de Controle"
---
## Condicionais
### if
O uso de "if" (se) verifica se algo é verdadeiro e caso seja, realiza alguma coisa.
```c
new
a = 5;
if (a == 5)
{
print("a é 5");
}
```
O código entre os parênteses após o "if" é chamado de condição, há inúmeras formas diferentes que você pode ... | openmultiplayer/web/docs/translations/pt-BR/scripting/language/ControlStructures.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/language/ControlStructures.md",
"repo_id": "openmultiplayer",
"token_count": 9068
} | 413 |
---
title: "Console Remoto (RCON)"
---
O Console Remoto é um prompt de comando onde você pode usar comandos RCON sem precisar estar no jogo e no seu servidor. Desde 0.3b, o Console Remoto foi removido do Navegador de Servidores. A partir de agora você terá que utilizar outra forma de acessar o RCON Remoto conforme exp... | openmultiplayer/web/docs/translations/pt-BR/server/RemoteConsole.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/pt-BR/server/RemoteConsole.md",
"repo_id": "openmultiplayer",
"token_count": 369
} | 414 |
---
title: OnObjectMoved
description: Acest callback este apelat atunci când un obiect este mutat după MoveObject (când se oprește din mișcare).
tags: []
---
## Descriere
Acest callback este apelat atunci când un obiect este mutat după MoveObject (când se oprește din mișcare).
| Nume | Descriere ... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 499
} | 415 |
---
title: OnPlayerFinishedDownloading
description: Acest callback este apelat atunci când un jucător termină descărcarea modelelor personalizate.
tags: ["player"]
---
<VersionWarn name='callback' version='SA-MP 0.3.DL R1' />
## Descriere
Acest callback este apelat atunci când un jucător termină descărcarea modelelo... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerFinishedDownloading.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerFinishedDownloading.md",
"repo_id": "openmultiplayer",
"token_count": 540
} | 416 |
---
title: OnPlayerStreamIn
description: Acest callback este apelat atunci când un jucător este transmis în flux de către clientul altui jucător.
tags: ["player"]
---
## Descriere
Acest callback este apelat atunci când un jucător este transmis în flux de către clientul altui jucător.
| Nume | Descriere ... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 410
} | 417 |
---
title: OnVehicleSirenStateChange
description: Acest callback este apelat atunci când sirena unui vehicul este declansata.
tags: ["vehicle"]
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
## Descriere
Acest callback este apelat atunci când sirena unui vehicul este declansata.
| Nume | Descriere ... | openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnVehicleSirenStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnVehicleSirenStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 669
} | 418 |
---
title: acos
description: .
tags: []
---
<LowercaseNote />
## Descriere
Obțineți valoarea inversată a unui cosinus arc în radiani.
| Nume | Descriere |
| ------------ | ------------------------------ |
| Float: value | intrarea în cosinusul arcului. |
## Se intoarce
Cosinusul arcul... | openmultiplayer/web/docs/translations/ro/scripting/functions/acos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/functions/acos.md",
"repo_id": "openmultiplayer",
"token_count": 383
} | 419 |
---
title: Lista de culori
description: Culorile sunt pretutindeni în SA-MP - vehicule, nume de jucători și clipuri, extrase de text, gametext, chat, texte 3D și dialoguri (ca încorporare a culorilor)! Mai jos puteți găsi informații despre aceste lucruri diferite.
sidebar_label: Lista de culori
---
## Chat text and pl... | openmultiplayer/web/docs/translations/ro/scripting/resources/colorslist.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ro/scripting/resources/colorslist.md",
"repo_id": "openmultiplayer",
"token_count": 2979
} | 420 |
---
title: AddMenuItem
description: Добавляет элемент в меню.
tags: ["menu"]
---
## Описание
Добавляет элемент в меню.
| Параметр| Описание |
| ------- | -------------------------------- |
| menuid | Id меню |
| column | Столбец ( 0 - 1 ) |
| title[] ... | openmultiplayer/web/docs/translations/ru/scripting/functions/AddMenuItem.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/scripting/functions/AddMenuItem.md",
"repo_id": "openmultiplayer",
"token_count": 1083
} | 421 |
---
title: Система переменных для каждого игрока
description: Система переменных для каждого игрока (в сокращении PVar) - это новый способ создания переменных для каждого игрока индивидуально в глобальном пространстве, т.е. к одной переменной можно получить доступ и из игрового мода (gamemode), и из подключаемого сцена... | openmultiplayer/web/docs/translations/ru/tutorials/perplayervariablesystem.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ru/tutorials/perplayervariablesystem.md",
"repo_id": "openmultiplayer",
"token_count": 2608
} | 422 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.