text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
title: OnPlayerRequestSpawn
description: This callback is called when a player attempts to spawn via class selection either by pressing SHIFT or clicking the 'Spawn' button.
tags: ["player", "class"]
---
## Description
This callback is called when a player attempts to spawn via class selection either by pressing ... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerRequestSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerRequestSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 396
} | 283 |
---
title: OnUnoccupiedVehicleUpdate
description: This callback is called when a player's client updates/syncs the position of a vehicle they're not driving.
tags: ["vehicle"]
---
## Description
This callback is called when a player's client updates/syncs the position of a vehicle they're not driving. This can happen... | openmultiplayer/web/docs/scripting/callbacks/OnUnoccupiedVehicleUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnUnoccupiedVehicleUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1767
} | 284 |
---
title: Attach3DTextLabelToVehicle
description: Attaches a 3D Text Label to a specific vehicle.
tags: ["vehicle", "3dtextlabel"]
---
## Description
Attaches a 3D Text Label to a specific vehicle.
| Name | Description |
| ------------- | ... | openmultiplayer/web/docs/scripting/functions/Attach3DTextLabelToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/Attach3DTextLabelToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 865
} | 285 |
---
title: CallLocalFunction
description: Calls a public function from the script in which it is used.
tags: ["core"]
---
## Description
Calls a public function from the script in which it is used.
| Name | Description |
| -------------------- | -----------------------... | openmultiplayer/web/docs/scripting/functions/CallLocalFunction.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/CallLocalFunction.md",
"repo_id": "openmultiplayer",
"token_count": 2221
} | 286 |
---
title: CreateExplosion
description: Create an explosion at the specified coordinates.
tags: []
---
## Description
Create an explosion at the specified coordinates.
| Name | Description |
| ------------ | --------------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/CreateExplosion.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/CreateExplosion.md",
"repo_id": "openmultiplayer",
"token_count": 534
} | 287 |
---
title: DestroyMenu
description: Destroys the specified menu.
tags: ["menu"]
---
## Description
Destroys the specified menu.
| Name | Description |
| ----------- | ---------------------- |
| Menu:menuid | The menu ID to destroy |
## Returns
**true** if the destroying was successful, otherwise ... | openmultiplayer/web/docs/scripting/functions/DestroyMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/DestroyMenu.md",
"repo_id": "openmultiplayer",
"token_count": 290
} | 288 |
---
title: EditPlayerClass
description: Edit a class data.
tags: ["class"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Edit a class data.
| Name | Description |
|----------------|---------------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/EditPlayerClass.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/EditPlayerClass.md",
"repo_id": "openmultiplayer",
"token_count": 826
} | 289 |
---
title: GangZoneCreate
description: Create a gangzone (colored radar area).
tags: ["gangzone"]
---
## Description
Create a gangzone (colored radar area).
| Name | Description |
| ---------- | ---------------------------------------------------- |
| Float:minX | The X... | openmultiplayer/web/docs/scripting/functions/GangZoneCreate.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GangZoneCreate.md",
"repo_id": "openmultiplayer",
"token_count": 859
} | 290 |
---
title: Get3DTextLabelDrawDistance
description: Gets the 3D text label draw distance.
tags: ["3dtextlabel"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the 3D text label draw distance.
| Name | Description |
| ------------- | -----------... | openmultiplayer/web/docs/scripting/functions/Get3DTextLabelDrawDistance.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/Get3DTextLabelDrawDistance.md",
"repo_id": "openmultiplayer",
"token_count": 345
} | 291 |
---
title: GetConsoleVarAsBool
description: Get the boolean value of a console variable.
tags: []
---
## Description
Get the boolean value of a console variable.
| Name | Description |
| ------------ | ----------------------------------------------------- |
| const c... | openmultiplayer/web/docs/scripting/functions/GetConsoleVarAsBool.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetConsoleVarAsBool.md",
"repo_id": "openmultiplayer",
"token_count": 348
} | 292 |
---
title: GetMyFacingAngle
description: Get the current facing angle of the NPC.
tags: []
---
## Description
Get the current facing angle of the NPC.
| Name | Description |
| -------------------- | -------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/GetMyFacingAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetMyFacingAngle.md",
"repo_id": "openmultiplayer",
"token_count": 276
} | 293 |
---
title: GetPVarFloat
description: Gets a player variable as a float.
tags: ["player variable", "pvar"]
---
## Description
Gets a player variable as a float.
| Name | Description |
| ------------ | ----------------------------------------------------------- |... | openmultiplayer/web/docs/scripting/functions/GetPVarFloat.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPVarFloat.md",
"repo_id": "openmultiplayer",
"token_count": 500
} | 294 |
---
title: GetPlayer3DTextLabelLOS
description: Gets the player's 3D text label line-of-sight.
tags: ["player", "3dtextlabel"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the player's 3D text label line-of-sight.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayer3DTextLabelLOS.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayer3DTextLabelLOS.md",
"repo_id": "openmultiplayer",
"token_count": 510
} | 295 |
---
title: GetPlayerCameraTargetObject
description: Allows you to retrieve the ID of the object the player is looking at.
tags: ["player", "camera"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Allows you to retrieve the ID of the object the player is looking at.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayerCameraTargetObject.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerCameraTargetObject.md",
"repo_id": "openmultiplayer",
"token_count": 608
} | 296 |
---
title: GetPlayerFightingStyle
description: Get the fighting style the player currently using.
tags: ["player"]
---
## Description
Get the fighting style the player currently using.
| Name | Description |
| -------- | -------------------------------------------------- |
... | openmultiplayer/web/docs/scripting/functions/GetPlayerFightingStyle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerFightingStyle.md",
"repo_id": "openmultiplayer",
"token_count": 839
} | 297 |
---
title: GetPlayerNetworkStats
description: Gets a player's network stats and saves them into a string.
tags: ["player", "network monitoring"]
---
## Description
Gets a player's network stats and saves them into a string.
| Name | Description |
| ... | openmultiplayer/web/docs/scripting/functions/GetPlayerNetworkStats.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerNetworkStats.md",
"repo_id": "openmultiplayer",
"token_count": 769
} | 298 |
---
title: GetPlayerPickupVirtualWorld
description: Gets the virtual world ID of a player-pickup.
tags: ["player", "pickup", "playerpickup"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the virtual world ID of a player-pickup.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayerPickupVirtualWorld.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerPickupVirtualWorld.md",
"repo_id": "openmultiplayer",
"token_count": 647
} | 299 |
---
title: GetPlayerSurfingOffsets
description: Gets a player's surfing offsets.
tags: ["player"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets a player's surfing offsets.
| Name | Description |
|----------------|----... | openmultiplayer/web/docs/scripting/functions/GetPlayerSurfingOffsets.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerSurfingOffsets.md",
"repo_id": "openmultiplayer",
"token_count": 569
} | 300 |
---
title: GetPlayerWeaponState
description: Check the state of a player's weapon.
tags: ["player"]
---
## Description
Check the state of a player's weapon.
| Name | Description |
| -------- | --------------------------------------------------- |
| playerid | The ID of the... | openmultiplayer/web/docs/scripting/functions/GetPlayerWeaponState.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerWeaponState.md",
"repo_id": "openmultiplayer",
"token_count": 475
} | 301 |
---
title: GetServerVarAsInt
description: Get the integer value of a server variable.
tags: []
---
:::warning
This function, as of 0.3.7 R2, is deprecated. Please see GetConsoleVarAsInt
:::
## Description
Get the integer value of a server variable.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetServerVarAsInt.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetServerVarAsInt.md",
"repo_id": "openmultiplayer",
"token_count": 326
} | 302 |
---
title: GetVehicleLandingGearState
description: Gets the current vehicle landing gear state from the latest driver.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the current vehicle [landing gear state](../resources/landinggearstate) from the latest driver.
## Parameters
| ... | openmultiplayer/web/docs/scripting/functions/GetVehicleLandingGearState.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleLandingGearState.md",
"repo_id": "openmultiplayer",
"token_count": 226
} | 303 |
---
title: GetVehicleRespawnDelay
description: Get the respawn delay of a vehicle.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the respawn delay of a vehicle.
## Parameters
| Name | Description |
|-----------|------------------------|
| vehicleid | The ID of t... | openmultiplayer/web/docs/scripting/functions/GetVehicleRespawnDelay.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleRespawnDelay.md",
"repo_id": "openmultiplayer",
"token_count": 247
} | 304 |
---
title: GetWorldTime
description: Get the current world time.
tags: ["worldtime"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the current world time.
## Examples
```c
SetWorldTime(12);
printf("Current world time: %d", GetWorldTime());
// The output will be 'Current world time: 12'
```
## ... | openmultiplayer/web/docs/scripting/functions/GetWorldTime.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetWorldTime.md",
"repo_id": "openmultiplayer",
"token_count": 152
} | 305 |
---
title: InterpolateCameraPos
description: Move a player's camera from one position to another, within the set time.
tags: ["player", "interpolate"]
---
## Description
Move a player's camera from one position to another, within the set time. Useful for scripted cut scenes
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/InterpolateCameraPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/InterpolateCameraPos.md",
"repo_id": "openmultiplayer",
"token_count": 1338
} | 306 |
---
title: IsPlayerAdmin
description: Check if a player is logged in as an RCON admin.
tags: ["player", "rcon", "administration"]
---
## Description
Check if a player is logged in as an RCON admin.
| Name | Description |
| -------- | ------------------------------ |
| playerid | The ID of the ... | openmultiplayer/web/docs/scripting/functions/IsPlayerAdmin.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerAdmin.md",
"repo_id": "openmultiplayer",
"token_count": 310
} | 307 |
---
title: IsPlayerInRangeOfPoint
description: Checks if a player is in range of a point.
tags: ["player"]
---
## Description
Checks if a player is in range of a point. This native function is faster than the PAWN implementation using distance formula.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/IsPlayerInRangeOfPoint.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerInRangeOfPoint.md",
"repo_id": "openmultiplayer",
"token_count": 635
} | 308 |
---
title: IsValid3DTextLabel
description: Checks if a 3D text label is valid.
tags: ["3dtextlabel"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a 3D text label is valid.
| Name | Description |
| ------------- | ------------------------------------- |
| ... | openmultiplayer/web/docs/scripting/functions/IsValid3DTextLabel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsValid3DTextLabel.md",
"repo_id": "openmultiplayer",
"token_count": 379
} | 309 |
---
title: IsValidTimer
description: Checks if a timer is valid.
tags: ["timer"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a timer is valid.
## Parameters
| Name | Description |
|---------|-------------------------------|
| timerid | The ID of the timer to check. |... | openmultiplayer/web/docs/scripting/functions/IsValidTimer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsValidTimer.md",
"repo_id": "openmultiplayer",
"token_count": 401
} | 310 |
---
title: PlayerGangZoneHide
description: Hide player gangzone
tags: ["player", "gangzone", "playergangzone"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Hide player gangzone.
| Name | Description |
| ----------- | -----------------------... | openmultiplayer/web/docs/scripting/functions/PlayerGangZoneHide.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerGangZoneHide.md",
"repo_id": "openmultiplayer",
"token_count": 836
} | 311 |
---
title: PlayerTextDrawGetAlignment
description: Gets the text alignment of a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the text alignment of a player-textdraw.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetAlignment.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetAlignment.md",
"repo_id": "openmultiplayer",
"token_count": 887
} | 312 |
---
title: PlayerTextDrawGetString
description: Gets the text of a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the text of a player-textdraw.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetString.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetString.md",
"repo_id": "openmultiplayer",
"token_count": 1011
} | 313 |
---
title: PlayerTextDrawSetString
description: Change the text of a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Description
Change the text of a player-textdraw.
| Name | Description |
| ----------------- | -------------------------------... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawSetString.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawSetString.md",
"repo_id": "openmultiplayer",
"token_count": 1308
} | 314 |
---
title: ResumeRecordingPlayback
description: This will resume the paused recording.
tags: []
---
## Description
This will resume the paused recording.
## Related Functions
- [PauseRecordingPlayback](../functions/PauseRecordingPlayback): Resumes the recording if its paused.
| openmultiplayer/web/docs/scripting/functions/ResumeRecordingPlayback.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ResumeRecordingPlayback.md",
"repo_id": "openmultiplayer",
"token_count": 73
} | 315 |
---
title: Set3DTextLabelDrawDistance
description: Sets the 3D text label draw distance.
tags: ["3dtextlabel"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Sets the 3D text label draw distance.
| Name | Description |
| ----------------... | openmultiplayer/web/docs/scripting/functions/Set3DTextLabelDrawDistance.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/Set3DTextLabelDrawDistance.md",
"repo_id": "openmultiplayer",
"token_count": 386
} | 316 |
---
title: SetMyPos
description: Set position of the NPC
tags: ["npc"]
---
## Description
Set the position of the NPC.
| Name | Description |
| -------- | ------------------------------------|
| Float:x | The X coordinate to put the NPC at. |
| Float:y | The Y coordinate to put the NP... | openmultiplayer/web/docs/scripting/functions/SetMyPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetMyPos.md",
"repo_id": "openmultiplayer",
"token_count": 203
} | 317 |
---
title: SetPickupPos
description: Sets the position of a pickup.
tags: ["pickup"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Sets the position of a pickup.
| Name | Description |
|--------------------|------------------------------------------|
| picku... | openmultiplayer/web/docs/scripting/functions/SetPickupPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPickupPos.md",
"repo_id": "openmultiplayer",
"token_count": 741
} | 318 |
---
title: SetPlayerFightingStyle
description: Set a player's special fighting style.
tags: ["player"]
---
## Description
Set a player's special fighting style. To use in-game, aim and press the 'secondary attack' key (ENTER by default).
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetPlayerFightingStyle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerFightingStyle.md",
"repo_id": "openmultiplayer",
"token_count": 457
} | 319 |
---
title: SetPlayerPickupPos
description: Sets the position of a player-pickup.
tags: ["player", "pickup", "playerpickup"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Sets the position of a player-pickup.
| Name | Description |
|--------------------|-------... | openmultiplayer/web/docs/scripting/functions/SetPlayerPickupPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerPickupPos.md",
"repo_id": "openmultiplayer",
"token_count": 741
} | 320 |
---
title: SetPlayerWeather
description: Set a player's weather.
tags: ["player"]
---
## Description
Set a player's weather.
| Name | Description |
| -------- | ---------------------------------------------- |
| playerid | The ID of the player whose weather to set. |
| weat... | openmultiplayer/web/docs/scripting/functions/SetPlayerWeather.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerWeather.md",
"repo_id": "openmultiplayer",
"token_count": 380
} | 321 |
---
title: SetVehicleOccupiedTick
description: Set the occupied tick of a vehicle.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
:::warning
This function has not yet been implemented.
:::
## Description
Set the occupied tick of a vehicle.
## Parameters
| Name | Description |
|-... | openmultiplayer/web/docs/scripting/functions/SetVehicleOccupiedTick.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetVehicleOccupiedTick.md",
"repo_id": "openmultiplayer",
"token_count": 298
} | 322 |
---
title: ShowMenuForPlayer
description: Shows a previously created menu for a player.
tags: ["player", "menu"]
---
## Description
Shows a previously created menu for a player.
| Name | Description |
| ----------- | ----------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/ShowMenuForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ShowMenuForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 518
} | 323 |
---
title: StopRecordingPlayerData
description: Stops all the recordings that had been started with StartRecordingPlayerData for a specific player.
tags: ["player"]
---
## Description
Stops all the recordings that had been started with StartRecordingPlayerData for a specific player.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/StopRecordingPlayerData.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/StopRecordingPlayerData.md",
"repo_id": "openmultiplayer",
"token_count": 296
} | 324 |
---
title: TextDrawTextSize
description: Change the size of a textdraw (box if TextDrawUseBox is enabled and/or clickable area for use with TextDrawSetSelectable).
tags: ["textdraw"]
---
## Description
Change the size of a textdraw (box if [TextDrawUseBox](TextDrawUseBox) is enabled and/or clickable area for use with... | openmultiplayer/web/docs/scripting/functions/TextDrawTextSize.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawTextSize.md",
"repo_id": "openmultiplayer",
"token_count": 1114
} | 325 |
---
title: UsePlayerPedAnims
description: Uses standard player walking animation (animation of the CJ skin) instead of custom animations for every skin (e.g. skating for skater skins).
tags: ["player"]
---
## Description
Uses standard player walking animation (animation of the CJ skin) instead of custom animations fo... | openmultiplayer/web/docs/scripting/functions/UsePlayerPedAnims.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/UsePlayerPedAnims.md",
"repo_id": "openmultiplayer",
"token_count": 295
} | 326 |
---
title: db_field_name
description: Returns the name of the field at the specified index.
keywords:
- sqlite
---
<LowercaseNote />
## Description
Returns the name of a field at a particular index.
| Name | Description |
| ----------------- | --... | openmultiplayer/web/docs/scripting/functions/db_field_name.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/db_field_name.md",
"repo_id": "openmultiplayer",
"token_count": 1605
} | 327 |
---
title: diskfree
description: Returns the free disk space.
tags: ["file management"]
---
<VersionWarn version='omp v1.1.0.2612' />
:::warning
This function has not yet been implemented.
:::
<LowercaseNote />
## Description
Returns the free disk space.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/diskfree.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/diskfree.md",
"repo_id": "openmultiplayer",
"token_count": 707
} | 328 |
---
title: floatadd
description: Adds two floats together.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
Adds two floats together. This function is redundant as the standard operator (+) does the same thing.
| Name | Description |
| ------------- | ------------- |
| Float:Number1 ... | openmultiplayer/web/docs/scripting/functions/floatadd.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/floatadd.md",
"repo_id": "openmultiplayer",
"token_count": 297
} | 329 |
---
title: format
description: Formats a string to include variables and other strings inside it.
tags: ["string"]
---
<LowercaseNote />
## Description
Formats a string to include variables and other strings inside it.
| Name | Description |
| -------------- | ---------------... | openmultiplayer/web/docs/scripting/functions/format.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/format.md",
"repo_id": "openmultiplayer",
"token_count": 1209
} | 330 |
---
title: gpci
description: Fetch the CI (computer/client identification) of a user, this is linked to their SAMP/GTA on their computer.
tags: []
---
<LowercaseNote />
## Description
Fetch the CI of a user, this is linked to their SAMP/GTA on their computer.
:::warning
A player's CI is NOT UNIQUE, some players ma... | openmultiplayer/web/docs/scripting/functions/gpci.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/gpci.md",
"repo_id": "openmultiplayer",
"token_count": 654
} | 331 |
---
title: setpubvar
description: Sets a specific public variable in the current script.
tags: ["core", "pubvar", "public variable"]
---
<LowercaseNote />
## Description
Sets a specific public variable in the current script.
| Name | Description |
| ------------ | ------------... | openmultiplayer/web/docs/scripting/functions/setpubvar.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/setpubvar.md",
"repo_id": "openmultiplayer",
"token_count": 254
} | 332 |
---
title: toupper
description: This function changes a single character to uppercase.
tags: ["string"]
---
<LowercaseNote />
## Description
This function changes a single character to uppercase.
| Name | Description |
| ---- | ------------------------------------- |
| c | The character... | openmultiplayer/web/docs/scripting/functions/toupper.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/toupper.md",
"repo_id": "openmultiplayer",
"token_count": 222
} | 333 |
# Functions
---
A function declaration specifies the name of the function and, between paren-
theses, its formal parameters. A function may also return a value. A function
declaration must appear on a global level (i.e. outside any other functions) and
is globally accessible.
If a semicolon follows the function decl... | openmultiplayer/web/docs/scripting/language/reference/04-Functions.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/language/reference/04-Functions.md",
"repo_id": "openmultiplayer",
"token_count": 13853
} | 334 |
---
title: Callbacks Sequence
description: A list of callbacks available in SA-MP/open.mp and its call sequence
tags: []
---
Below is a list of callbacks available in SA-MP/open.mp and its call sequence. Tickbox represent called first.
| Callback | Filter... | openmultiplayer/web/docs/scripting/resources/callbacks-sequence.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/callbacks-sequence.md",
"repo_id": "openmultiplayer",
"token_count": 4186
} | 335 |
---
title: File Modes
description: The modes to open the file with.
---
:::note
These file modes are used by [fopen](../functions/fopen).
:::
| Mode | Description |
| ------------ | ------------------------------------------------... | openmultiplayer/web/docs/scripting/resources/file-modes.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/file-modes.md",
"repo_id": "openmultiplayer",
"token_count": 368
} | 336 |
---
title: Material Text Alignments
description: A list of Material Text Alignments.
---
:::info
There are two kinds of parameters for [SetObjectMaterialText](../functions/SetObjectMaterialText) - material text alignments and material text sizes. Text alignments are listed on this page.
:::
| Value | Definition ... | openmultiplayer/web/docs/scripting/resources/materialtextalignment.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/materialtextalignment.md",
"repo_id": "openmultiplayer",
"token_count": 183
} | 337 |
---
title: Vehicle Tire Status
description: Vehicle tire status definitions.
---
:::note
These definitions are used by natives such as [GetVehicleDamageStatus](../functions/GetVehicleDamageStatus) and [UpdateVehicleDamageStatus](../functions/UpdateVehicleDamageStatus).
:::
| Definition ... | openmultiplayer/web/docs/scripting/resources/vehicle-tire-status.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/vehicle-tire-status.md",
"repo_id": "openmultiplayer",
"token_count": 660
} | 338 |
---
title: open.mp functions
description: New functions and callbacks.
---
This page contains all the functions and callbacks that were added in open.mp
## Player
| Name |
|---------------------------------------------... | openmultiplayer/web/docs/server/omp-functions.md/0 | {
"file_path": "openmultiplayer/web/docs/server/omp-functions.md",
"repo_id": "openmultiplayer",
"token_count": 22578
} | 339 |
---
title: OnNPCEnterVehicle
description: Ovaj callback je pozvan kada NPC uđe u vozilo.
tags: ["npc"]
---
## Deskripcija
Ovaj callback je pozvan kada NPC uđe u vozilo.
| Ime | Deskripcija |
| ------------ | ------------------------------------------------------- ... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnNPCEnterVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnNPCEnterVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 404
} | 340 |
---
title: OnPlayerExitedMenu
description: Pozvano kada igrač napusti meni.
tags: ["player", "menu"]
---
## Deskripcija
Pozvano kada igrač napusti meni.
| Ime | Deskripcija |
| -------- | ------------------------------- |
| playerid | ID igrača koji je napustio meni |
## Returns
Uvijek je ... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerExitedMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerExitedMenu.md",
"repo_id": "openmultiplayer",
"token_count": 266
} | 341 |
---
title: OnPlayerStateChange
description: Ovaj callback je pozvan kada igrač promijeni stanje.
tags: ["player"]
---
## Deskripcija
Ovaj callback je pozvan kada igrač promijeni stanje. Naprimjer, kada igrač promijeni stanje votača vozila u stanje da bude na nogama (on-foot) (napustio vozilo).
| Ime | Deskripci... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 624
} | 342 |
---
title: OnVehicleRespray
description: Ovaj callback je pozvan kada igrač napusti mod shop, bilo da boja jeste ili nije promijenjena.
tags: ["vehicle"]
---
## Deskripcija
Ovaj callback je pozvan kada igrač napusti mod shop (respray mod shop), bilo da boja jeste ili nije promijenjena. Pripazi, ime je dvosmisleno, Pa... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleRespray.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleRespray.md",
"repo_id": "openmultiplayer",
"token_count": 796
} | 343 |
---
title: AllowInteriorWeapons
description: O(ne)mogućava da li je korištenje oružja u enterijerima dozvoljeno ili nije.
tags: []
---
## Deskripcija
O(ne)mogućava da li je korištenje oružja u interijerima dozvoljeno ili nije.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/AllowInteriorWeapons.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AllowInteriorWeapons.md",
"repo_id": "openmultiplayer",
"token_count": 538
} | 344 |
---
title: BlockIpAddress
description: Blokira IP adresu iz daljnje komunikacije sa serverom na određeno vrijeme (uz dopuštene zamjenske znakove).
tags: ["ip address"]
---
## Deskripcija
Blokira IP adresu iz daljnje komunikacije sa serverom na određeno vrijeme (uz dopuštene zamjenske znakove). Igrači koji se pokušaju... | openmultiplayer/web/docs/translations/bs/scripting/functions/BlockIpAddress.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/BlockIpAddress.md",
"repo_id": "openmultiplayer",
"token_count": 899
} | 345 |
---
title: CreatePickup
description: Ova funkcija radi u potpunosti isto kao i AddStaticPickup, osim što returna (vraća) ID pickupa koji se može upotrijebiti za njegovo uništavanje nakon čega se može pratiti pomoću OnPlayerPickUpPickup.
tags: []
---
## Deskripcija
Ova funkcija radi u potpunosti isto kao i AddStaticPi... | openmultiplayer/web/docs/translations/bs/scripting/functions/CreatePickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/CreatePickup.md",
"repo_id": "openmultiplayer",
"token_count": 1459
} | 346 |
---
title: DisableInteriorEnterExits
description: Onemogućite sve unutrašnje ulaze i izlaze u igri (žute strelice na vratima).
tags: []
---
## Deskripcija
Onemogućite sve unutrašnje ulaze i izlaze u igri (žute strelice na vratima).
## Primjeri
```c
public OnGameModeInit()
{
DisableInteriorEnterExits();
retu... | openmultiplayer/web/docs/translations/bs/scripting/functions/DisableInteriorEnterExits.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/DisableInteriorEnterExits.md",
"repo_id": "openmultiplayer",
"token_count": 382
} | 347 |
---
title: FindModelFileNameFromCRC
description: Pronađite postojeću prilagođenu kožu ili datoteku jednostavnog objektnog modela.
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 kožu ili datoteku jednostavnog objektnog... | openmultiplayer/web/docs/translations/bs/scripting/functions/FindModelFileNameFromCRC.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/FindModelFileNameFromCRC.md",
"repo_id": "openmultiplayer",
"token_count": 535
} | 348 |
---
title: GetActorFacingAngle
description: Dobij ugao posmatranja actora.
tags: ["actor"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Deskripcija
Pogledaj ugao posmatranja actora
| Ime | Deskripcija |
| ---------- | -----------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetActorFacingAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetActorFacingAngle.md",
"repo_id": "openmultiplayer",
"token_count": 453
} | 349 |
---
title: GetPVarFloat
description: Dobija varijablu igrača kao float.
tags: ["pvar"]
---
## Deskripcija
Dobija varijablu igrača kao float.
| Ime | Deskripcija |
| -------- | ----------------------------------------------- |
| playerid | ID igrača za dobiti varijablu igrača ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPVarFloat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPVarFloat.md",
"repo_id": "openmultiplayer",
"token_count": 559
} | 350 |
---
title: GetPlayerVehicleID
description: Ova funkcija dobija ID vozila u kojem je igrač trenutno.
tags: ["player", "vehicle"]
---
## Deskripcija
Ova funkcija dobija ID vozila u kojem je igrač trenutno. Zabilješka: NE ID modela vozila. Pogledaj GetVehicleModel za to.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerVehicleID.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerVehicleID.md",
"repo_id": "openmultiplayer",
"token_count": 453
} | 351 |
---
title: GetServerVarAsBool
description: Dobij boolean vrijednost server varijable.
tags: []
---
:::warning
This function, as of 0.3.7 R2, is deprecated. Please see GetConsoleVarAsBool
:::
## Deskripcija
Dobij boolean vrijednost server varijable.
| Ime | Deskripcija |... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetServerVarAsBool.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetServerVarAsBool.md",
"repo_id": "openmultiplayer",
"token_count": 481
} | 352 |
---
title: GetVehiclePos
description: Dobija poziciju vozila.
tags: ["vehicle"]
---
## Deskripcija
Dobija poziciju vozila.
| Ime | Deskripcija |
| --------- | ------------------------------------------------------------------ |
| vehicleid | ID vozila za d... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehiclePos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehiclePos.md",
"repo_id": "openmultiplayer",
"token_count": 880
} | 353 |
---
title: IsObjectMaterialSlotUsed
description: Provjerava da li je slot objekta materijala zauzet.
tags: ["object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Deskripcija
Provjerava da li je slot objekta materijala zauzet.
| Ime | Deskripcija |
|---------------|----... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsObjectMaterialSlotUsed.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsObjectMaterialSlotUsed.md",
"repo_id": "openmultiplayer",
"token_count": 709
} | 354 |
---
title: IsValidMenu
description: Provjerava da li je ID menija važeći.
tags: []
---
## Deskripcija
Provjerava da li je ID menija važeći.
| Ime | Deskripcija |
| ------ | ------------------------ |
| menuid | ID menija ta provjeriti. |
## Returns
1 - Meni je važeći.
0 - Meni je nevažeći.
## Sro... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsValidMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsValidMenu.md",
"repo_id": "openmultiplayer",
"token_count": 370
} | 355 |
---
title: NetStats_GetConnectedTime
description: Dobija količinu vremena (u milisekundama) za koje je igrač povezan na server.
tags: []
---
## Deskripcija
Dobija količinu vremena (u milisekundama) za koje je igrač povezan na server.
| Ime | Deskripcija |
| -------- | ----------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_GetConnectedTime.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_GetConnectedTime.md",
"repo_id": "openmultiplayer",
"token_count": 880
} | 356 |
---
title: PlayerTextDrawFont
description: Promijeni font player-textdrawa.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Promijeni font player-textdrawa.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawFont.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawFont.md",
"repo_id": "openmultiplayer",
"token_count": 1230
} | 357 |
---
title: RemoveBuildingForPlayer
description: Uklanja standardni model San Andreasa za jednog igrača u određenom opsegu.
tags: ["player"]
---
## Deskripcija
Uklanja standardni model San Andreasa za jednog igrača u određenom opsegu.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/RemoveBuildingForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/RemoveBuildingForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 1015
} | 358 |
---
title: SendPlayerMessageToPlayer
description: Pošalji poruku u ime drugog igrača nekom drugom igraču na serveru.
tags: ["player"]
---
## Deskripcija
Pošalji poruku u ime drugog igrača nekom drugom igraču na serveru. Poruka će se pojaviti u chat boxu ali će je vidjeti samo igrač naveden kao 'playerid'. Linija će p... | openmultiplayer/web/docs/translations/bs/scripting/functions/SendPlayerMessageToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SendPlayerMessageToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 839
} | 359 |
---
title: SetObjectPos
description: Promijeni poziciju objekta.
tags: []
---
## Deskripcija
Promijeni poziciju objekta.
| Ime | Deskripcija |
| -------- | -------------------------------------------------------------------- |
| objectid | ID objekta za p... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetObjectPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetObjectPos.md",
"repo_id": "openmultiplayer",
"token_count": 849
} | 360 |
---
title: SetPlayerDrunkLevel
description: Postavlja nivo pijanosti igrača zbog kojeg se igračeva kamera njiše i vozila teško kontroliraju.
tags: ["player"]
---
## Deskripcija
Postavlja nivo pijanosti igrača zbog kojeg se igračeva kamera njiše i vozila teško kontroliraju.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerDrunkLevel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerDrunkLevel.md",
"repo_id": "openmultiplayer",
"token_count": 661
} | 361 |
---
title: SetPlayerPosFindZ
description: Ovo postavlja poziciju igrača a potom prilagođava igračevu Z-kordinatu na najbliže čvrsto tlo ispod pozicije (položaja).
tags: ["player"]
---
## Deskripcija
Ovo postavlja poziciju igrača a potom prilagođava igračevu Z-kordinatu na najbliže čvrsto tlo ispod pozicije (položaja)... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerPosFindZ.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerPosFindZ.md",
"repo_id": "openmultiplayer",
"token_count": 606
} | 362 |
---
title: SetSVarString
description: Postavi string server varijablu.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 R2 i ne radi u nižim verzijama!
:::
## Deskripcija
Postavi string server varijablu.
| Ime | Deskripcija |
| -------------- | --------------------- |
| varname[] ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetSVarString.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetSVarString.md",
"repo_id": "openmultiplayer",
"token_count": 491
} | 363 |
---
title: SetVehicleZAngle
description: Postavi Z rotaciju (yaw) vozila.
tags: ["vehicle"]
---
## Deskripcija
Postavi Z rotaciju (yaw) vozila.
| Ime | Deskripcija |
| ------------- | -------------------------------- |
| vehicleid | ID vozila za postaviti rotaciju. |
| Float:z_angl... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleZAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleZAngle.md",
"repo_id": "openmultiplayer",
"token_count": 611
} | 364 |
---
title: TextDrawAlignment
description: Postavite poravnanje teksta u textdrawu.
tags: ["textdraw"]
---
## Deskripcija
Postavite poravnanje teksta u textdrawu.
| Ime | Deskripcija |
| --------- | ------------------------------------- |
| Text:text | ID textdrawa za postaviti poravna... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawAlignment.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawAlignment.md",
"repo_id": "openmultiplayer",
"token_count": 942
} | 365 |
---
title: TextDrawSetShadow
description: Postavlja veličinu sjene teksta u textdrawu.
tags: ["textdraw"]
---
## Deskripcija
Postavlja veličinu sjene teksta u textdrawu.
| Ime | Deskripcija |
| ---- | ---------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawSetShadow.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawSetShadow.md",
"repo_id": "openmultiplayer",
"token_count": 1094
} | 366 |
---
title: acos
description: .
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Dobijte obrnutu vrijednost kosinusa luka u radijanima.
| Ime | Deskripcija |
| ----------- | --------------------- |
| Float:value | unos u kosinusu luka. |
## Returns
Glavni kosinus ... | openmultiplayer/web/docs/translations/bs/scripting/functions/acos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/acos.md",
"repo_id": "openmultiplayer",
"token_count": 402
} | 367 |
---
title: floatabs
description: Ova funkcija vraća apsolutnu vrijednost float-a.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Ova funkcija vraća apsolutnu vrijednost float-a.
| Ime | Deskripcija |
| ----------- | ----------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/floatabs.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/floatabs.md",
"repo_id": "openmultiplayer",
"token_count": 304
} | 368 |
---
title: fopen
description: Otvorite datoteku (za čitanje ili pisanje).
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Otvorite datoteku (za čitanje ili pisanje).
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/fopen.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/fopen.md",
"repo_id": "openmultiplayer",
"token_count": 1926
} | 369 |
---
title: ispacked
description: Provjerava je li zadati string spakovan.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Provjerava je li zadati string spakovan.
| Ime | Deskripcija |
| ------ | --------------------- |
| string | String za provjeriti. |
## Returns
1... | openmultiplayer/web/docs/translations/bs/scripting/functions/ispacked.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/ispacked.md",
"repo_id": "openmultiplayer",
"token_count": 211
} | 370 |
---
title: strfind
description: Potraži podstring u stringu.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Potraži podstring u stringu.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/strfind.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/strfind.md",
"repo_id": "openmultiplayer",
"token_count": 974
} | 371 |
---
title: "ID Kostiju"
---
:::note
Ova stranica sadrži sve ID-ove kostiju koje koristi [SetPlayerAttachedObject](../functions/SetPlayerAttachedObject).
:::
| ID | Kost |
| --- | -------------------------- |
| 1 | Kičma |
| 2 | Glava |
| 3 | Lij... | openmultiplayer/web/docs/translations/bs/scripting/resources/boneid.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/resources/boneid.md",
"repo_id": "openmultiplayer",
"token_count": 566
} | 372 |
---
title: OnClientMessage
description: Dieses Callback wird ausgeführt wenn ein NPC eine ClientMessage erkennt.
tags: []
---
## Description
Dieses Callback wird ausgeführt wenn ein NPC eine ClientMessage erkennt. Er erkennt die ClientMessage bei Benutzung von SendClientMessageToAll oder wenn SendClientMessage direkt... | openmultiplayer/web/docs/translations/de/scripting/callbacks/OnClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/de/scripting/callbacks/OnClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 381
} | 373 |
---
title: ¡Bienvenido!
sidebar_label: ¡Bienvenido!
---
¡Bienvenido a la wiki de SA:MP, mantenida por el equipo de open.mp y la extensa comunidad de SA:MP!
Éste sitio tiene como objetivo proveer acceso y la posibilidad de contribuir a la documentación de SA:MP (y, eventualmente, open.mp).
## La Wiki de SA:MP cerró
... | openmultiplayer/web/docs/translations/es/index.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/index.md",
"repo_id": "openmultiplayer",
"token_count": 535
} | 374 |
---
título: OnPlayerClickPlayerTextDraw
descripción: Este callback se llama cuando un jugador clickea en un player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Descripción
Este callback se llama cuando un jugador clickea en un player-textdraw. No se llama cuando el jugador cancela el modo de selecc... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerClickPlayerTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerClickPlayerTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1082
} | 375 |
---
título: OnPlayerInteriorChange
descripción: Se llama cuando un jugador cambia de interior.
tags: ["player"]
---
## Descripción
Se llama cuando un jugador cambia de interior. Puede ser desencadenada por SetPlayerInterior o cuando un jugador entra o sale de un edificio.
| Nombre | Descripción ... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerInteriorChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerInteriorChange.md",
"repo_id": "openmultiplayer",
"token_count": 494
} | 376 |
---
título: OnPlayerText
descripción: Se llama cuando un jugador envía un mensaje en el chat.
tags: ["player"]
---
## Descripción
Se llama cuando un jugador envía un mensaje en el chat.
| Nombre | Descripción |
| -------- | ---------------------------------------- |
| playerid | El ID ... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerText.md",
"repo_id": "openmultiplayer",
"token_count": 446
} | 377 |
---
título: OnVehicleStreamOut
descripción: Este callback se llama cuando un vehículo es dejado de cargar (deja de ser visible) por el cliente de un jugador.
tags: ["vehicle"]
---
## Descripción
Este callback se llama cuando un vehículo es dejado de cargar (deja de ser visible) por el cliente de un jugador.
| Nombre... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnVehicleStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnVehicleStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 412
} | 378 |
---
title: SendClientMessage
description: این تابع با یک رنگ انتخاب شده در چت پیامی را به یک بازیکن خاص ارسال می کند.
tags: []
---
<div dir="rtl" style={{ textAlign: "right" }}>
## توضیحات
این تابع با یک رنگ انتخاب شده در چت پیامی را به یک بازیکن خاص ارسال می کند. کل خط در جعبه چت به رنگ تعیین شده خواهد بود مگر اینک... | openmultiplayer/web/docs/translations/fa/scripting/functions/SendClientMessage.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fa/scripting/functions/SendClientMessage.md",
"repo_id": "openmultiplayer",
"token_count": 1581
} | 379 |
---
title: OnDialogResponse
description: This callback is called when a player responds to a dialog shown using ShowPlayerDialog by either clicking a button, pressing ENTER/ESC or double-clicking a list item (if using a list style dialog).
tags: []
---
## Deskripsyon
Ang callback na ito ay na cacall kapag ang player ... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnDialogResponse.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnDialogResponse.md",
"repo_id": "openmultiplayer",
"token_count": 2959
} | 380 |
---
title: OnPlayerClickPlayer
description: Called when a player double-clicks on a player on the scoreboard.
tags: ["player"]
---
## Description
Itinatawag kapag ang player ay nag-double-click sa isang player sa scoreboard. (Tab)
| Name | Description |... | openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerClickPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/callbacks/OnPlayerClickPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 589
} | 381 |
---
title: AddCharModel
description: Nagdaragdag ng bagong custom na modelo ng character para sa pag-download.
tags: []
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Nagdaragdag ng bagong custom na modelo ng character para sa pag-download. Ang mga file ng modelo ay maiimbak sa Documents\GTA San Andrea... | openmultiplayer/web/docs/translations/fil/scripting/functions/AddCharModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/fil/scripting/functions/AddCharModel.md",
"repo_id": "openmultiplayer",
"token_count": 840
} | 382 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.