text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
[
{
"match_id": "4104198325",
"start_time": "1536292197",
"hero_id": "53",
"score": "104"
},
{
"match_id": "4095511127",
"start_time": "1535854199",
"hero_id": "53",
"score": "86"
},
{
"match_id": "4104755186",
"start_time": "1536320083",
"hero_id": "53",
"score": "82"
},
{
"match_id": ... | odota/web/testcafe/cachedAjax/records_deaths_.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/records_deaths_.json",
"repo_id": "odota",
"token_count": 5483
} | 280 |
{
"compilerOptions": {
"outDir": "./dist/",
"baseUrl": ".",
"suppressImplicitAnyIndexErrors": false,
"module": "esnext",
"target": "es6",
"jsx": "react",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"moduleResolution": "node",
"esModuleInterop": true,
"noImplicitA... | odota/web/tsconfig.json/0 | {
"file_path": "odota/web/tsconfig.json",
"repo_id": "odota",
"token_count": 435
} | 281 |
package pawndex
import (
"fmt"
"time"
"github.com/Southclaws/sampctl/pawnpackage"
)
// Classification represents how compatible or easy to use a package is. If a package contains a
// package definition file, it's of a higher classification than one that does not contain one.
type Classification string
var (
Cl... | openmultiplayer/web/app/resources/pawndex/model.go/0 | {
"file_path": "openmultiplayer/web/app/resources/pawndex/model.go",
"repo_id": "openmultiplayer",
"token_count": 386
} | 282 |
package authentication
import (
"context"
"net/http"
"time"
"github.com/gorilla/securecookie"
"github.com/pkg/errors"
"github.com/openmultiplayer/web/app/resources/user"
"github.com/openmultiplayer/web/internal/config"
"github.com/openmultiplayer/web/internal/db"
"github.com/openmultiplayer/web/internal/web... | openmultiplayer/web/app/services/authentication/auth.go/0 | {
"file_path": "openmultiplayer/web/app/services/authentication/auth.go",
"repo_id": "openmultiplayer",
"token_count": 1174
} | 283 |
package auth
import (
"github.com/go-chi/chi"
"go.uber.org/fx"
"github.com/openmultiplayer/web/app/services/authentication"
"github.com/openmultiplayer/web/app/transports/api/auth/discord"
"github.com/openmultiplayer/web/app/transports/api/auth/github"
)
type service struct{}
func Build() fx.Option {
return f... | openmultiplayer/web/app/transports/api/auth/api.go/0 | {
"file_path": "openmultiplayer/web/app/transports/api/auth/api.go",
"repo_id": "openmultiplayer",
"token_count": 296
} | 284 |
package servers
import (
"net/http"
"strconv"
"time"
"github.com/pkg/errors"
"github.com/openmultiplayer/web/internal/web"
)
func (s *service) fulllist(w http.ResponseWriter, r *http.Request) {
queries := r.URL.Query()
since, err := strconv.Atoi(queries.Get("activeSince"))
if err != nil {
since = 3
}
/... | openmultiplayer/web/app/transports/api/servers/h_fulllist.go/0 | {
"file_path": "openmultiplayer/web/app/transports/api/servers/h_fulllist.go",
"repo_id": "openmultiplayer",
"token_count": 297
} | 285 |
version: "3"
services:
postgres:
image: postgres:13
environment:
POSTGRES_USER: ${POSTGRES_USER:-default}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-default}
volumes:
- ./data/openmp/postgres:/var/lib/postgresql/data
| openmultiplayer/web/docker-compose.yml/0 | {
"file_path": "openmultiplayer/web/docker-compose.yml",
"repo_id": "openmultiplayer",
"token_count": 108
} | 286 |
---
title: OnFilterScriptExit
description: This callback is called when a filterscript is unloaded.
tags: []
---
## Description
This callback is called when a filterscript is unloaded. It is only called inside the filterscript which is unloaded.
## Examples
```c
public OnFilterScriptExit()
{
print("\n----------... | openmultiplayer/web/docs/scripting/callbacks/OnFilterScriptExit.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnFilterScriptExit.md",
"repo_id": "openmultiplayer",
"token_count": 224
} | 287 |
---
title: OnPlayerClickMap
description: This callback is called when a player places a target/waypoint on the pause menu map (by right-clicking).
tags: ["player"]
---
## Description
This callback is called when a player places a target/waypoint on the pause menu map (by right-clicking).
| Name | Description ... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerClickMap.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerClickMap.md",
"repo_id": "openmultiplayer",
"token_count": 661
} | 288 |
---
title: OnPlayerExitVehicle
description: This callback is called when a player starts to exit a vehicle.
tags: ["player", "vehicle"]
---
## Description
This callback is called when a player starts to exit a vehicle.
| Name | Description |
| --------- | --------------------... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerExitVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerExitVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 531
} | 289 |
---
title: OnPlayerRequestClass
description: This callback is called when a player changes class at class selection (and when class selection first appears).
tags: ["player", "class"]
---
## Description
This callback is called when a player changes class at class selection (and when class selection first appears).
|... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerRequestClass.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerRequestClass.md",
"repo_id": "openmultiplayer",
"token_count": 542
} | 290 |
---
title: OnScriptCash
description: This callback is called when something in-game like casinos give the player money.
tags: ["player"]
---
:::warning
This callback is currently NOT working.
:::
## Description
This callback is called when something in-game like casinos give the player money.
| Name | Descrip... | openmultiplayer/web/docs/scripting/callbacks/OnScriptCash.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnScriptCash.md",
"repo_id": "openmultiplayer",
"token_count": 446
} | 291 |
---
title: AddServerRule
description: Add a server rule.
tags: ["rule"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Add a server rule.
| Name | Description |
| ----------------- | ----------------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/AddServerRule.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/AddServerRule.md",
"repo_id": "openmultiplayer",
"token_count": 385
} | 292 |
---
title: ArePlayerWeaponsAllowed
description: Can the player use weapons?
tags: ["player"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Can the player use weapons?
| Name | Description |
| -------- | ------------------------------ |
| playerid | The ID of the player to check... | openmultiplayer/web/docs/scripting/functions/ArePlayerWeaponsAllowed.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ArePlayerWeaponsAllowed.md",
"repo_id": "openmultiplayer",
"token_count": 228
} | 293 |
---
title: BeginPlayerObjectEditing
description: Allows players to edit a player-object (position and rotation) with a GUI and their mouse.
tags: ["player", "object", "playerobject"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Allows players to edit a player-object (position and rotation) with a GUI... | openmultiplayer/web/docs/scripting/functions/BeginPlayerObjectEditing.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/BeginPlayerObjectEditing.md",
"repo_id": "openmultiplayer",
"token_count": 565
} | 294 |
---
title: Create3DTextLabel
description: Creates a 3D Text Label at a specific location in the world.
tags: ["3dtextlabel"]
---
## Description
Creates a 3D Text Label at a specific location in the world
| Name | Description |
| -------... | openmultiplayer/web/docs/scripting/functions/Create3DTextLabel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/Create3DTextLabel.md",
"repo_id": "openmultiplayer",
"token_count": 1693
} | 295 |
---
title: DeleteSVar
description: Deletes a previously set server variable.
tags: ["server variable", "svar"]
---
## Description
Deletes a previously set server variable.
| Name | Description |
| ------------ | ------------------------------------------ |
| const svar[] | The ... | openmultiplayer/web/docs/scripting/functions/DeleteSVar.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/DeleteSVar.md",
"repo_id": "openmultiplayer",
"token_count": 380
} | 296 |
---
title: EditAttachedObject
description: Enter edition mode for an attached object.
tags: ["player", "object", "attachment"]
---
## Description
Enter edition mode for an attached object.
| Name | Description |
| -------- | ------------------------------------------------ |
... | openmultiplayer/web/docs/scripting/functions/EditAttachedObject.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/EditAttachedObject.md",
"repo_id": "openmultiplayer",
"token_count": 592
} | 297 |
---
title: GameTextForAll
description: Shows 'game text' (on-screen text) for a certain length of time for all players.
tags: ["gametext"]
---
## Description
Shows 'game text' (on-screen text) for a certain length of time for all players.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GameTextForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GameTextForAll.md",
"repo_id": "openmultiplayer",
"token_count": 765
} | 298 |
---
title: Get3DTextLabelColor
description: Gets the 3D text label color.
tags: ["3dtextlabel"]
---
:::warning
This function is deprecated. Please see [Get3DTextLabelColour](Get3DTextLabelColour).
:::
## Description
Gets the 3D text label color.
| Name | Description |... | openmultiplayer/web/docs/scripting/functions/Get3DTextLabelColor.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/Get3DTextLabelColor.md",
"repo_id": "openmultiplayer",
"token_count": 307
} | 299 |
---
title: GetAnimationName
description: Get the animation library/name for the index.
tags: []
---
## Description
Get the animation library/name for the index.
| Name | Description |
| -------------------------------- | ----------------------... | openmultiplayer/web/docs/scripting/functions/GetAnimationName.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetAnimationName.md",
"repo_id": "openmultiplayer",
"token_count": 559
} | 300 |
---
title: GetMenuPos
description: Get the x/y screen position of the menu.
tags: ["menu"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the x/y screen position of the menu.
| Name | Description |
| ----------- | --------------... | openmultiplayer/web/docs/scripting/functions/GetMenuPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetMenuPos.md",
"repo_id": "openmultiplayer",
"token_count": 346
} | 301 |
---
title: GetObjectSyncRotation
description: Get the sync rotation of an object.
tags: ["object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the sync rotation of an object.
| Name | Description |
|----------|-----------------------|
| objectid | The ID of the object. |
## Retur... | openmultiplayer/web/docs/scripting/functions/GetObjectSyncRotation.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetObjectSyncRotation.md",
"repo_id": "openmultiplayer",
"token_count": 275
} | 302 |
---
title: GetPlayer3DTextLabelDrawDist
description: Gets the player's 3D text label draw distance.
tags: ["player", "3dtextlabel"]
---
:::warning
This function is deprecated. Please see [GetPlayer3DTextLabelDrawDistance](GetPlayer3DTextLabelDrawDistance).
:::
## Description
Gets the player's 3D text label draw di... | openmultiplayer/web/docs/scripting/functions/GetPlayer3DTextLabelDrawDist.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayer3DTextLabelDrawDist.md",
"repo_id": "openmultiplayer",
"token_count": 533
} | 303 |
---
title: GetPlayerCameraPos
description: Get the position of the player's camera.
tags: ["player", "camera"]
---
## Description
Get the position of the player's camera.
| Name | Description |
| -------- | --------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/GetPlayerCameraPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerCameraPos.md",
"repo_id": "openmultiplayer",
"token_count": 531
} | 304 |
---
title: GetPlayerDrunkLevel
description: Checks the player's level of drunkenness.
tags: ["player"]
---
## Description
Checks the player's level of drunkenness. If the level is less than 2000, the player is sober. The player's level of drunkness goes down slowly automatically (26 levels per second) but will always... | openmultiplayer/web/docs/scripting/functions/GetPlayerDrunkLevel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerDrunkLevel.md",
"repo_id": "openmultiplayer",
"token_count": 370
} | 305 |
---
title: GetPlayerMoney
description: Retrieves the amount of money a player has.
tags: ["player"]
---
## Description
Retrieves the amount of money a player has.
| Name | Description |
| -------- | ----------------------------------------- |
| playerid | The ID of the player to get... | openmultiplayer/web/docs/scripting/functions/GetPlayerMoney.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerMoney.md",
"repo_id": "openmultiplayer",
"token_count": 253
} | 306 |
---
title: GetPlayerPickupPos
description: Gets the coordinates of a player-pickup.
tags: ["player", "pickup", "playerpickup"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the coordinates of a player-pickup.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayerPickupPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerPickupPos.md",
"repo_id": "openmultiplayer",
"token_count": 822
} | 307 |
---
title: GetPlayerState
description: Get a player's current state.
tags: ["player"]
---
## Description
Get a player's current state.
| Name | Description |
| -------- | ------------------------------------------------- |
| playerid | The ID of the player to get the current... | openmultiplayer/web/docs/scripting/functions/GetPlayerState.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerState.md",
"repo_id": "openmultiplayer",
"token_count": 375
} | 308 |
---
title: GetPlayerWeapon
description: Returns the ID of the weapon a player is currently holding.
tags: ["player"]
---
## Description
Returns the ID of the weapon a player is currently holding.
| Name | Description |
| -------- | -----------------------------------... | openmultiplayer/web/docs/scripting/functions/GetPlayerWeapon.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerWeapon.md",
"repo_id": "openmultiplayer",
"token_count": 589
} | 309 |
---
title: GetServerTickRate
description: Gets the tick rate (like FPS) of the server.
tags: []
---
## Description
Gets the tick rate (like FPS) of the server.
## Examples
```c
printf("The current server tick rate is: %i", GetServerTickRate());
```
## Related Functions
- [GetNetworkStats](GetNetworkStats): Gets t... | openmultiplayer/web/docs/scripting/functions/GetServerTickRate.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetServerTickRate.md",
"repo_id": "openmultiplayer",
"token_count": 110
} | 310 |
---
title: GetVehicleHydraReactorAngle
description: Gets the hydra reactor angle of the vehicle.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the hydra reactor angle of the vehicle.
## Parameters
| Name | Description |
|-----------|------------------------|
| ... | openmultiplayer/web/docs/scripting/functions/GetVehicleHydraReactorAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleHydraReactorAngle.md",
"repo_id": "openmultiplayer",
"token_count": 188
} | 311 |
---
title: GetVehiclePoolSize
description: Gets the highest vehicleid currently in use on the server.
tags: ["vehicle"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Gets the highest vehicleid currently in use on the server. Note that in SA:MP this function is broken and will return `0` even when there a... | openmultiplayer/web/docs/scripting/functions/GetVehiclePoolSize.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehiclePoolSize.md",
"repo_id": "openmultiplayer",
"token_count": 245
} | 312 |
---
title: GetWeaponSlot
description: Gets the slot of one weapon.
tags: ["weapon"]
---
<versionWarn version='omp v1.1.0.2612' />
## Description
Gets the slot of one weapon.
| Name | Description |
| --------------- | ---------------------------------------- |
| WEAPON:weaponi... | openmultiplayer/web/docs/scripting/functions/GetWeaponSlot.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetWeaponSlot.md",
"repo_id": "openmultiplayer",
"token_count": 535
} | 313 |
---
title: HideVehicle
description: Hides a vehicle from the game.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
:::warning
This function has not yet been implemented.
:::
## Description
Hides a vehicle from the game.
## Parametes
| Name | Description |
|-----------|---... | openmultiplayer/web/docs/scripting/functions/HideVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/HideVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 264
} | 314 |
---
title: IsPlayerInPlayerGangZone
description: Check if the player in player gangzone
tags: ["player", "gangzone", "playergangzone"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Check if the player in player gangzone.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/IsPlayerInPlayerGangZone.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerInPlayerGangZone.md",
"repo_id": "openmultiplayer",
"token_count": 920
} | 315 |
---
title: IsTextDrawVisibleForPlayer
description: Checks if a textdraw is shown for a player.
tags: ["textdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a textdraw is shown for a player.
| Name | Description |
| ----------- | ------------------------------... | openmultiplayer/web/docs/scripting/functions/IsTextDrawVisibleForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsTextDrawVisibleForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 437
} | 316 |
---
title: IsValidServerRule
description: Checks if the given server rule is valid.
tags: ["rule"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if the given server rule is valid.
| Name | Description |
| ------------ | ------------------... | openmultiplayer/web/docs/scripting/functions/IsValidServerRule.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsValidServerRule.md",
"repo_id": "openmultiplayer",
"token_count": 287
} | 317 |
---
title: MovePlayerObject
description: Move a player object with a set speed.
tags: ["player"]
---
## Description
Move a player object with a set speed. Also supports rotation. Players/vehicles will surf moving objects.
| Name | Description |
| --------------- | ---... | openmultiplayer/web/docs/scripting/functions/MovePlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/MovePlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 1000
} | 318 |
---
title: PlayerTextDrawDestroy
description: Destroy a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Description
Destroy a player-textdraw.
| Name | Description |
| ----------------- | --------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawDestroy.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawDestroy.md",
"repo_id": "openmultiplayer",
"token_count": 721
} | 319 |
---
title: PlayerTextDrawSetSelectable
description: Toggles whether a player-textdraw can be selected or not.
tags: ["player", "textdraw", "playertextdraw"]
---
## Description
Toggles whether a player-textdraw can be selected or not.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawSetSelectable.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawSetSelectable.md",
"repo_id": "openmultiplayer",
"token_count": 766
} | 320 |
---
title: ResetPlayerMoney
description: Reset a player's money to $0.
tags: ["player"]
---
## Description
Reset a player's money to $0.
| Name | Description |
| -------- | ------------------------------------------- |
| playerid | The ID of the player to reset the money of. |
##... | openmultiplayer/web/docs/scripting/functions/ResetPlayerMoney.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ResetPlayerMoney.md",
"repo_id": "openmultiplayer",
"token_count": 268
} | 321 |
---
title: SendPlayerMessageToPlayer
description: Sends a message in the name of a player to another player on the server.
tags: ["player"]
---
## Description
Sends a message in the name of a player to another player on the server. The message will appear in the chat box but can only be seen by the user specified wit... | openmultiplayer/web/docs/scripting/functions/SendPlayerMessageToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SendPlayerMessageToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 657
} | 322 |
---
title: SetModeRestartTime
description: Sets the delay between loading main scripts, in seconds.
tags: []
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Sets the delay between loading main scripts, in seconds.
## Parameters
| Name | Description |
|---------------|-----------------... | openmultiplayer/web/docs/scripting/functions/SetModeRestartTime.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetModeRestartTime.md",
"repo_id": "openmultiplayer",
"token_count": 397
} | 323 |
---
title: SetPickupForPlayer
description: Adjusts the pickup model, type, and position for a specific player.
tags: ["player", "pickup"]
---
<VersionWarn version='omp v1.1.0.2612' />
:::warning
This function has not yet been implemented.
:::
## Description
Adjusts the pickup model, type, and position for a speci... | openmultiplayer/web/docs/scripting/functions/SetPickupForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPickupForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 914
} | 324 |
---
title: SetPlayerObjectRot
description: Set the rotation of an object on the X, Y and Z axis.
tags: ["player", "object", "playerobject"]
---
## Description
Set the rotation of an object on the X, Y and Z axis.
| Name | Description |
| --------------- | ----------... | openmultiplayer/web/docs/scripting/functions/SetPlayerObjectRot.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerObjectRot.md",
"repo_id": "openmultiplayer",
"token_count": 856
} | 325 |
---
title: SetPlayerVirtualWorld
description: Set the virtual world of a player.
tags: ["player"]
---
## Description
Set the virtual world of a player. They can only see other players or vehicles that are in that same world.
| Name | Description |
| ------------... | openmultiplayer/web/docs/scripting/functions/SetPlayerVirtualWorld.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerVirtualWorld.md",
"repo_id": "openmultiplayer",
"token_count": 389
} | 326 |
---
title: SetVehicleHealth
description: Set a vehicle's health.
tags: ["vehicle"]
---
## Description
Set a vehicle's health. When a vehicle's health decreases the engine will produce smoke, and finally fire when it decreases to less than 250 (25%).
| Name | Description |
| --... | openmultiplayer/web/docs/scripting/functions/SetVehicleHealth.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetVehicleHealth.md",
"repo_id": "openmultiplayer",
"token_count": 518
} | 327 |
---
title: SetWeather
description: Set the world weather for all players.
tags: []
---
## Description
Set the world weather for all players.
| Name | Description |
| --------- | --------------------------------------------- |
| weatherid | The [weather](../resources/weatherid) ... | openmultiplayer/web/docs/scripting/functions/SetWeather.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetWeather.md",
"repo_id": "openmultiplayer",
"token_count": 358
} | 328 |
---
title: StopPlayerObject
description: Stop a moving player-object after MovePlayerObject has been used.
tags: ["player"]
---
## Description
Stop a moving player-object after MovePlayerObject has been used.
| Name | Description |
| -------- | ------------------------------... | openmultiplayer/web/docs/scripting/functions/StopPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/StopPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 786
} | 329 |
---
title: TextDrawHideForPlayer
description: Hides a textdraw for a specific player.
tags: ["player", "textdraw"]
---
## Description
Hides a textdraw for a specific player.
| Name | Description |
| ----------- | -------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/TextDrawHideForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawHideForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 486
} | 330 |
---
title: TextDrawShowForAll
description: Shows a textdraw for all players.
tags: ["textdraw"]
---
## Description
Shows a textdraw for all players.
| Name | Description |
| ----------- | ---------------------------------------------------... | openmultiplayer/web/docs/scripting/functions/TextDrawShowForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawShowForAll.md",
"repo_id": "openmultiplayer",
"token_count": 433
} | 331 |
---
title: UseGangZoneCheck
description: Enables the callback when a player enters/leaves this zone
tags: ["player", "gangzone"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Enables the callback when a player enters/leaves this zone.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/UseGangZoneCheck.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/UseGangZoneCheck.md",
"repo_id": "openmultiplayer",
"token_count": 1035
} | 332 |
---
title: db_debug_openfiles
description: Gets the number of open database connections for debugging purposes.
keywords:
- sqlite
---
<LowercaseNote />
## Description
The function gets the number of open database connections for debugging purposes.
| Name | Description |
| ---- | ----------- |
## Related Funct... | openmultiplayer/web/docs/scripting/functions/db_debug_openfiles.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/db_debug_openfiles.md",
"repo_id": "openmultiplayer",
"token_count": 553
} | 333 |
---
title: float
description: Converts an integer into a float.
tags: ["floating-point"]
---
<LowercaseNote />
## Description
Converts an integer into a float.
| Name | Description |
| ----- | ----------------------------------- |
| value | Integer value to convert to a float |
## Returns
... | openmultiplayer/web/docs/scripting/functions/float.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/float.md",
"repo_id": "openmultiplayer",
"token_count": 211
} | 334 |
---
title: fmatch
description: Find a filename matching a pattern.
tags: ["file management"]
---
<LowercaseNote />
## Description
Find a filename matching a pattern.
| Name | Description |
| ------------------------ | -----------------... | openmultiplayer/web/docs/scripting/functions/fmatch.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/fmatch.md",
"repo_id": "openmultiplayer",
"token_count": 828
} | 335 |
---
title: getpubvar
description: Gets a specific public variable from the current script.
tags: ["core", "pubvar", "public variable"]
---
<LowercaseNote />
## Description
Gets a specific public variable from the current script.
| Name | Description |
| ------------ | -----------------------... | openmultiplayer/web/docs/scripting/functions/getpubvar.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/getpubvar.md",
"repo_id": "openmultiplayer",
"token_count": 218
} | 336 |
---
title: setarg
description: Set an argument that was passed to a function.
tags: ["core", "arguments", "args"]
---
<LowercaseNote />
## Description
Set an argument that was passed to a function.
| Name | Description |
| ----- | ------------------------------------... | openmultiplayer/web/docs/scripting/functions/setarg.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/setarg.md",
"repo_id": "openmultiplayer",
"token_count": 270
} | 337 |
---
title: swapchars
description: Swap bytes in a cell.
tags: ["string"]
---
<LowercaseNote />
## Description
| Name | Description |
| ---- | -------------------------------------- |
| c | The value for which to swap the bytes. |
## Returns
A value where the bytes are swapped (the low... | openmultiplayer/web/docs/scripting/functions/swapchars.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/swapchars.md",
"repo_id": "openmultiplayer",
"token_count": 116
} | 338 |
---
title: "Bone IDs"
---
:::note
This page contains all of the bone IDs used by [SetPlayerAttachedObject](../functions/SetPlayerAttachedObject).
:::
| ID | Bone |
| --- | ------------------------- |
| 1 | Spine |
| 2 | Head |
| 3 | Left upper arm... | openmultiplayer/web/docs/scripting/resources/boneid.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/boneid.md",
"repo_id": "openmultiplayer",
"token_count": 503
} | 339 |
---
title: Map Icon Styles
description: A list of Map Icons
---
:::info
This page has a list of all map icon styles which can be used by [SetPlayerMapIcon](../functions/SetPlayerMapIcon) function.
:::
| Value | Constant | Has checkpoint marker | Radar map range |
| ------ | ... | openmultiplayer/web/docs/scripting/resources/mapiconstyles.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/mapiconstyles.md",
"repo_id": "openmultiplayer",
"token_count": 376
} | 340 |
---
title: Select Object Types
---
:::info
Here you can find all of the select object types used by [OnPlayerSelectObject](../callbacks/OnPlayerSelectObject).
:::
| Value | Definition |
| ----- | --------------------------- |
| 1 | SELECT_OBJECT_GLOBAL_OBJECT |
| 2 | SELECT_OBJECT_PLAYER_OB... | openmultiplayer/web/docs/scripting/resources/selectobjecttypes.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/selectobjecttypes.md",
"repo_id": "openmultiplayer",
"token_count": 119
} | 341 |
---
title: Vehicle Light Status
description: Vehicle light 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-light-status.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/vehicle-light-status.md",
"repo_id": "openmultiplayer",
"token_count": 512
} | 342 |
---
title: "Remote Console (RCON)"
description: Remote server administation.
---
The Remote Console is a command prompt where you can use RCON commands without having to be in game and on your server. Since 0.3b the Remote Console got removed from the Server Browser. From now on you will have to use another way to acc... | openmultiplayer/web/docs/server/RemoteConsole.md/0 | {
"file_path": "openmultiplayer/web/docs/server/RemoteConsole.md",
"repo_id": "openmultiplayer",
"token_count": 257
} | 343 |
---
title: OnNPCConnect
description: Ovaj callback je pozvan kada se NPC konektovao na server.
tags: ["npc"]
---
## Deskripcija
Ovaj callback je pozvan kada se NPC uspješno konektovao na server.
| Ime | Deskripcija |
| ------------ | -----------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnNPCConnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnNPCConnect.md",
"repo_id": "openmultiplayer",
"token_count": 392
} | 344 |
---
title: OnPlayerEnterVehicle
description: Ovaj callback je pozvan kada igrač krene da uđe u vozilo, u smislu da igrač nije još u vozilu u trenutku kada se ovaj callback poziva.
tags: ["player", "vehicle"]
---
## Deskripcija
Ovaj callback je pozvan kada igrač krene da uđe u vozilo, u smislu da igrač nije još u vozi... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerEnterVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerEnterVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 630
} | 345 |
---
title: OnPlayerSelectedMenuRow
description: Ovaj callback je pozvan kada igrač selektuje određenu stavku (item) iz menija (ShowMenuForPlayer).
tags: ["player", "menu"]
---
## Deskripcija
Ovaj callback je pozvan kada igrač selektuje određenu stavku (item) iz menija (ShowMenuForPlayer).
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerSelectedMenuRow.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerSelectedMenuRow.md",
"repo_id": "openmultiplayer",
"token_count": 717
} | 346 |
---
title: OnVehicleMod
description: Ovaj callback je pozvan kada vozilo biva modirano/uređeno.
tags: ["vehicle"]
---
## Deskripcija
Ovaj callback je pozvan kada vozilo biva modirano/uređeno.
| Ime | Deskripcija |
| ----------- | --------------------------------------- |
| playeri... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleMod.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehicleMod.md",
"repo_id": "openmultiplayer",
"token_count": 701
} | 347 |
---
title: AddVehicleComponent
description: Dodaje 'komponentu' (često nazvana'mod' (modifikacija)) na vozilo.
tags: ["vehicle"]
---
## Deskripcija
Dodaje 'komponentu' (često nazvana'mod' (modifikacija)) na vozilo. Validne komponente možete pronaći ovdje.
| Ime | Deskripcija... | openmultiplayer/web/docs/translations/bs/scripting/functions/AddVehicleComponent.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AddVehicleComponent.md",
"repo_id": "openmultiplayer",
"token_count": 921
} | 348 |
---
title: Ban
description: Banuj igrača koji je trenutno na serveru.
tags: ["administration"]
---
## Description
Banuj igrača koji je trenutno na serveru. On se više nikada neće moći pridružiti serveru. Zabrana će se zasnivati na IP-u i bit će spremljena u datoteku samp.ban u korijenskom direktoriju poslužitelja. ... | openmultiplayer/web/docs/translations/bs/scripting/functions/Ban.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/Ban.md",
"repo_id": "openmultiplayer",
"token_count": 892
} | 349 |
---
title: CreateMenu
description: Kreiraj meni.
tags: ["menu"]
---
## Deskripcija
Kreiraj meni.
| Ime | Deskripcija |
| --------------- | ---------------------------------------------------------------------- |
| title[] | Naslov novog m... | openmultiplayer/web/docs/translations/bs/scripting/functions/CreateMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/CreateMenu.md",
"repo_id": "openmultiplayer",
"token_count": 956
} | 350 |
---
title: DestroyVehicle
description: Uništi vozilo.
tags: ["vehicle"]
---
## Deskripcija
Uništi vozilo. Istog će trena nestati.
| Ime | Deskripcija |
| --------- | ---------------------- |
| vehicleid | ID vozila za uništiti |
## Returns
1: Funkcija uspješno izvršena.
0: Funkcija neuspješno iz... | openmultiplayer/web/docs/translations/bs/scripting/functions/DestroyVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/DestroyVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 369
} | 351 |
---
title: EnableVehicleFriendlyFire
description: Omogućite "friendly-fire" za timska vozila.
tags: ["vehicle"]
---
## Deskripcija
Omogućite "friendly-fire" za timska vozila. Igrači neće moći oštetiti vozila suigrača (mora se koristiti SetPlayerTeam!).
## Primjeri
```c
public OnGameModeInit()
{
EnableVehicleFri... | openmultiplayer/web/docs/translations/bs/scripting/functions/EnableVehicleFriendlyFire.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/EnableVehicleFriendlyFire.md",
"repo_id": "openmultiplayer",
"token_count": 178
} | 352 |
---
title: GangZoneStopFlashForAll
description: Zaustavlja treptanje gangzone za sve igrače.
tags: ["gangzone"]
---
## Deskripcija
Zaustavlja treptanje gangzone za sve igrače.
| Ime | Deskripcija |
| ---- | ----------------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GangZoneStopFlashForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GangZoneStopFlashForAll.md",
"repo_id": "openmultiplayer",
"token_count": 718
} | 353 |
---
title: GetObjectModel
description: Dobij ID modela određenog objekta (CreateObject).
tags: []
---
<VersionWarn version='SA-MP 0.3.7' />
## Deskripcija
Dobij ID modela određenog objekta (CreateObject).
| Ime | Deskripcija |
| -------- | ---------------------------------------- |... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetObjectModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetObjectModel.md",
"repo_id": "openmultiplayer",
"token_count": 279
} | 354 |
---
title: GetPlayerTeam
description: Dobij ID tima u kojem je igrač.
tags: ["player"]
---
## Deskripcija
Dobij ID tima u kojem je igrač.
| Ime | Deskripcija |
| -------- | ------------------------ |
| playerid | ID igrača za dobiti tim. |
## Returns
0-254: Tim igrača. (0 je važeći tim)
255: Def... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerTeam.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerTeam.md",
"repo_id": "openmultiplayer",
"token_count": 389
} | 355 |
---
title: GetSVarsUpperIndex
description: Svaki SVar (server-varijabla) ima svoj jedinstveni identifikacijski broj za traženje, ova funkcija vraća najveći ID.
tags: []
---
## Deskripcija
Svaki SVar (server-varijabla) ima svoj jedinstveni identifikacijski broj za traženje, ova funkcija vraća najveći ID.
## Primjeri
... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetSVarsUpperIndex.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetSVarsUpperIndex.md",
"repo_id": "openmultiplayer",
"token_count": 513
} | 356 |
---
title: GetVehicleParamsSirenState
description: Vraća stanje sirene vozila (upaljena/ugašena).
tags: ["vehicle"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Vraća stanje sirene vozila (upaljena/ugašena).
| Ime | Deskripcija |
... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleParamsSirenState.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleParamsSirenState.md",
"repo_id": "openmultiplayer",
"token_count": 531
} | 357 |
---
title: IsActorStreamedIn
description: Provjerava da li je aktor učitan kod igrača.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Provjerava da li je aktor učitan kod igrača.
| Ime | Deskripcija |
| ----------- | ----------- |
| actorid ... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsActorStreamedIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsActorStreamedIn.md",
"repo_id": "openmultiplayer",
"token_count": 377
} | 358 |
---
title: IsTrailerAttachedToVehicle
description: Provjerava ako vozilo ima prikvačenu prikolicu za sebe.
tags: ["vehicle"]
---
## Deskripcija
Provjerava ako vozilo ima prikvačenu prikolicu za sebe. Koristi GetVehicleTrailer da dobiješ ID vozila prikolice (ako ima).
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsTrailerAttachedToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsTrailerAttachedToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 394
} | 359 |
---
title: NetStats_BytesSent
description: Dobija količinu podataka (u bajtovima) koju je server poslao klijentu za reprodukciju.
tags: []
---
## Deskripcija
Dobija količinu podataka (u bajtovima) koju je server poslao klijentu za reprodukciju.
| Ime | Deskripcija |
| -------- | ---------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_BytesSent.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_BytesSent.md",
"repo_id": "openmultiplayer",
"token_count": 763
} | 360 |
---
title: PlayerTextDrawColor
description: Postavlja boju teksta player-textdrawa.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Postavlja boju teksta player-textdrawa.
| Ime | Deskripcija |
| -------- | -------------------------------------------- |
| playe... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawColor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawColor.md",
"repo_id": "openmultiplayer",
"token_count": 933
} | 361 |
---
title: PutPlayerInVehicle
description: Stavlja igrača u vozilo.
tags: ["player", "vehicle"]
---
## Deskripcija
Stavlja igrača u vozilo.
| Ime | Deskripcija |
| --------- | ---------------------------------------- |
| playerid | ID igrača za ubaciti u vozilo. |
| vehi... | openmultiplayer/web/docs/translations/bs/scripting/functions/PutPlayerInVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PutPlayerInVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 640
} | 362 |
---
title: SendDeathMessageToPlayer
description: Dodaje smrt 'killfeedu' s desne strane ekrana za jednog igrača.
tags: ["player"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.z R2-2 i ne radi u nižim verzijama!
:::
## Deskripcija
Dodaje smrt 'killfeedu' s desne strane ekrana za jednog igrača.
| Ime | De... | openmultiplayer/web/docs/translations/bs/scripting/functions/SendDeathMessageToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SendDeathMessageToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 854
} | 363 |
---
title: SetObjectMaterialText
description: Zamijeni teksturu objekta sa tekstom.
tags: []
---
## Deskripcija
Zamijeni teksturu objekta sa tekstom.
| Ime | Deskripcija |
| ------------- | ---------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetObjectMaterialText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetObjectMaterialText.md",
"repo_id": "openmultiplayer",
"token_count": 1494
} | 364 |
---
title: SetPlayerCheckpoint
description: Postavi checkpoint (crveni cilindar) za igrača.
tags: ["player", "checkpoint"]
---
## Deskripcija
Postavi checkpoint (crveni cilindar) za igrača. Također prikazuje crvenu bljeskalicu na radaru/mapi. Kada igrač uđe u checkpoint, poziva se OnPlayerEnterCheckpoint i određene a... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 1028
} | 365 |
---
title: SetPlayerObjectRot
description: Postavi rotaciju player objekta na X, Y i Z osi.
tags: ["player"]
---
## Deskripcija
Postavi rotaciju player objekta na X, Y i Z osi.
| Ime | Deskripcija |
| ---------- | ------------------------------------------------ |
| player... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerObjectRot.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerObjectRot.md",
"repo_id": "openmultiplayer",
"token_count": 882
} | 366 |
---
title: SetSVarFloat
description: Postavi float server varijablu.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 R2 i ne radi u nižim verzijama!
:::
## Deskripcija
Postavi float server varijablu.
| Ime | Deskripcija |
| ----------- | --------------------- |
| varname[] | Ime s... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetSVarFloat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetSVarFloat.md",
"repo_id": "openmultiplayer",
"token_count": 467
} | 367 |
---
title: SetVehicleVelocity
description: Postavlja X, Y i Z brzinu vozila.
tags: ["vehicle"]
---
## Deskripcija
Postavlja X, Y i Z brzinu vozila.
| Ime | Deskripcija |
| --------- | ------------------------------ |
| vehicleid | ID vozila za postaviti brzinu. |
| Float:X | Brzina u X smj... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleVelocity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleVelocity.md",
"repo_id": "openmultiplayer",
"token_count": 469
} | 368 |
---
title: StopPlayerObject
description: Zaustavi player-object koji se kreće nakon što se MovePlayerObject koristio.
tags: ["player"]
---
## Deskripcija
Zaustavi player-object koji se kreće nakon što se MovePlayerObject koristio.
| Ime | Deskripcija |
| -------- | -----------... | openmultiplayer/web/docs/translations/bs/scripting/functions/StopPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/StopPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 757
} | 369 |
---
title: TextDrawSetProportional
description: Prilagođava razmak između teksta proporcionalnom omjeru.
tags: ["textdraw"]
---
## Deskripcija
Prilagođava razmak između teksta proporcionalnom omjeru. Korisno kada se koristi TextDrawLetterSize kako bi se osiguralo da tekst ima ravnomjeran razmak između znakova.
| Ime... | openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawSetProportional.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/TextDrawSetProportional.md",
"repo_id": "openmultiplayer",
"token_count": 1007
} | 370 |
---
title: UsePlayerPedAnims
description: Koristi standardnu animaciju hodanja igrača (animacija CJ kože) umjesto prilagođenih animacija za svaku kožu (npr. Klizanje za kože klizača).
tags: ["player"]
---
## Deskripcija
Koristi standardnu animaciju hodanja igrača (animacija CJ kože) umjesto prilagođenih animacija... | openmultiplayer/web/docs/translations/bs/scripting/functions/UsePlayerPedAnims.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/UsePlayerPedAnims.md",
"repo_id": "openmultiplayer",
"token_count": 446
} | 371 |
---
title: db_get_field_float
description: Dobiva sadržaj polja kao float broj s navedenim indeksom polja.
keywords:
- sqlite
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Dobiva sadržaj polja kao float broj s navedenim indeksom polja.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/db_get_field_float.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/db_get_field_float.md",
"repo_id": "openmultiplayer",
"token_count": 2428
} | 372 |
---
title: flength
description: Vraća dužinu datoteke.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Vraća dužinu datoteke.
| Ime | Deskripcija |
| ------ | ------------------------------------------- |
| handle | Upravitelj datoteke vraćena fop... | openmultiplayer/web/docs/translations/bs/scripting/functions/flength.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/flength.md",
"repo_id": "openmultiplayer",
"token_count": 801
} | 373 |
---
title: floattan
description: Uzmi tangentu iz zadanog ugla.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Uzmi tangentu iz zadanog ugla. Ulazni ugao može biti u radijanima, stupnjevima ili stupnjevima.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/floattan.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/floattan.md",
"repo_id": "openmultiplayer",
"token_count": 601
} | 374 |
---
title: heapspace
description: Vraća količinu memorije dostupne za hrpu/stog (heap/stack) u bajtovima.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Vraća količinu memorije dostupne za hrpu/stog (heap/stack) u bajtovima.
## Primjeri
```c
public OnGameModeInit()
{
printf("... | openmultiplayer/web/docs/translations/bs/scripting/functions/heapspace.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/heapspace.md",
"repo_id": "openmultiplayer",
"token_count": 189
} | 375 |
---
title: strcmp
description: Upoređuje dva stringa kako pi vidjelo da li su isti.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Upoređuje dva stringa kako pi vidjelo da li su isti
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/strcmp.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/strcmp.md",
"repo_id": "openmultiplayer",
"token_count": 1349
} | 376 |
---
title: Ugaoni Modovi
description: SI jedinične konstante za mjerenje uglova.
---
:::note
Ove ugaone modove koriste [floatsin](../functions/floatsin), [floatcos](../functions/floatcos), i [floattan](../functions/floattan).
:::
| Mod | Deskripcija |
| ------- | --------------------------- |
| ... | openmultiplayer/web/docs/translations/bs/scripting/resources/anglemodes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/resources/anglemodes.md",
"repo_id": "openmultiplayer",
"token_count": 193
} | 377 |
---
title: OnActorStreamOut
description: Dieses Callback wird ausgeführt, wenn ein Actor nicht länger von einem Spieler gestreamt wird.
tags: []
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
## Beschreibung
Dieses Callback wird ausgeführt, wenn ein Actor nicht länger von einem Spieler gestreamt wird.
| ... | openmultiplayer/web/docs/translations/de/scripting/callbacks/OnActorStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/de/scripting/callbacks/OnActorStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 414
} | 378 |
---
título: OnPlayerClickMap
descripción: OnPlayerClickMap se llama cuando un jugador pone un objetivo/marca en el mapa del menú de pausa (usando click derecho).
tags: ["jugador"]
---
## Descripción
OnPlayerClickMap se llama cuando un jugador pone un objetivo/marca en el mapa del menú de pausa (usando click derecho).... | openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerClickMap.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/es/scripting/callbacks/OnPlayerClickMap.md",
"repo_id": "openmultiplayer",
"token_count": 676
} | 379 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.