text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
export default ({
100317750: true,
100471531: true,
101356886: true,
101375717: true,
101450083: true,
101495620: true,
101525357: true,
101586543: true,
101695162: true,
102099826: true,
102525542: true,
102644565: true,
103039499: true,
10366616: true,
103735745: true,
103940975: true,... | odota/web/src/components/Team/proPlayerImages.js/0 | {
"file_path": "odota/web/src/components/Team/proPlayerImages.js",
"repo_id": "odota",
"token_count": 2070
} | 259 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import ReactTooltip from 'react-tooltip';
import { Tooltip } from '@material-ui/core';
import ActionDoneAll from 'material-ui/svg-icons/action/done-all';
import playerColors from 'dotaconstants/build/player_colors.json... | odota/web/src/components/Visualizations/Table/HeroImage.jsx/0 | {
"file_path": "odota/web/src/components/Visualizations/Table/HeroImage.jsx",
"repo_id": "odota",
"token_count": 12236
} | 260 |
{
"yes": "ja",
"no": "nein",
"abbr_thousand": "k",
"abbr_million": "m",
"abbr_billion": "b",
"abbr_trillion": "t",
"abbr_quadrillion": "q",
"abbr_not_available": "N/A",
"abbr_pick": "P",
"abbr_win": "W",
"abbr_number": "No.",
"analysis_eff": "Lane-Effizienz",
"analysis_farm_drought": "Niedrigs... | odota/web/src/lang/de-DE.json/0 | {
"file_path": "odota/web/src/lang/de-DE.json",
"repo_id": "odota",
"token_count": 20181
} | 261 |
import { combineReducers } from 'redux';
import reducer from './reducer';
import request from './request';
import form from './form';
export default combineReducers({
player: reducer('player'),
playerWinLoss: reducer('playerWinLoss'),
playerMatches: reducer('playerMatches'),
playerHeroes: reducer('playerHeroes... | odota/web/src/reducers/index.js/0 | {
"file_path": "odota/web/src/reducers/index.js",
"repo_id": "odota",
"token_count": 624
} | 262 |
{
"match_id": 4080856812,
"barracks_status_dire": 63,
"barracks_status_radiant": 3,
"chat": [
{
"time": -84,
"type": "chatwheel",
"key": "97006",
"slot": 8,
"player_slot": 131
},
{
"time": -83,
"type": "chat",
"unit": "kara",
"key": "glhf",
"slot": 2,
"player_slot": 2
},
{... | odota/web/testcafe/cachedAjax/matches_4080856812_.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/matches_4080856812_.json",
"repo_id": "odota",
"token_count": 225118
} | 263 |
[
{
"field": "kills",
"n": 6075,
"sum": 46663
},
{
"field": "deaths",
"n": 6075,
"sum": 32182
},
{
"field": "assists",
"n": 6075,
"sum": 75645
},
{
"field": "kda",
"n": 6075,
"sum": 25455
},
{
"field": "gold_per_min",
"n": 6075,
"sum": 2698748
},
{
"field": "xp_per_min",
"n"... | odota/web/testcafe/cachedAjax/players_101695162_totals_.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/players_101695162_totals_.json",
"repo_id": "odota",
"token_count": 280
} | 264 |
[
{
"match_id": "4105200000",
"start_time": "1536333575",
"hero_id": "83",
"score": "2694"
},
{
"match_id": "4107969037",
"start_time": "1536460023",
"hero_id": "106",
"score": "2643"
},
{
"match_id": "4108409831",
"start_time": "1536478415",
"hero_id": "94",
"score": "2450"
},
{
"match... | odota/web/testcafe/cachedAjax/records_last_hits_.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/records_last_hits_.json",
"repo_id": "odota",
"token_count": 5582
} | 265 |
* @openmultiplayer/web
/docs/translations/pt-BR/ @iPollo @ArTDsL @pushline
/docs/translations/id/ @rsetiawan7 @SanityZeroPercent
/d... | openmultiplayer/web/CODEOWNERS/0 | {
"file_path": "openmultiplayer/web/CODEOWNERS",
"repo_id": "openmultiplayer",
"token_count": 755
} | 266 |
package server
import (
"fmt"
"net/url"
"strconv"
"strings"
"github.com/pkg/errors"
)
// AddressFromString validates an address field for a server and ensures it contains the correct
// combination of host:port with either "samp://" or an empty scheme. returns an address with the
// :7777 port if absent (this i... | openmultiplayer/web/app/resources/server/address.go/0 | {
"file_path": "openmultiplayer/web/app/resources/server/address.go",
"repo_id": "openmultiplayer",
"token_count": 528
} | 267 |
package queryer
import (
"context"
"errors"
"time"
sampquery "github.com/Southclaws/go-samp-query"
)
type Queryer interface {
Query(ctx context.Context, address string) (sampquery.Server, error)
}
type SAMPQueryer struct{}
func NewSAMPQueryer() Queryer {
return &SAMPQueryer{}
}
func (q *SAMPQueryer) Query(c... | openmultiplayer/web/app/services/queryer/queryer.go/0 | {
"file_path": "openmultiplayer/web/app/services/queryer/queryer.go",
"repo_id": "openmultiplayer",
"token_count": 724
} | 268 |
package legacy
import (
"fmt"
"net/http"
"strings"
"go.uber.org/zap"
"github.com/go-chi/chi"
"github.com/pkg/errors"
"github.com/openmultiplayer/web/app/resources/server"
"github.com/openmultiplayer/web/internal/web"
)
func (s *service) postLegacy(w http.ResponseWriter, r *http.Request) {
version := chi.U... | openmultiplayer/web/app/transports/api/legacy/h_postLegacy.go/0 | {
"file_path": "openmultiplayer/web/app/transports/api/legacy/h_postLegacy.go",
"repo_id": "openmultiplayer",
"token_count": 514
} | 269 |
package users
import (
"net/http"
"github.com/go-chi/chi"
"github.com/openmultiplayer/web/internal/web"
)
type banstatusBody struct {
Banned bool `json:"banned"`
}
func (s *service) banstatus(w http.ResponseWriter, r *http.Request) {
id := chi.URLParam(r, "id")
var p banstatusBody
if err := web.DecodeBody(r... | openmultiplayer/web/app/transports/api/users/h_banstatus.go/0 | {
"file_path": "openmultiplayer/web/app/transports/api/users/h_banstatus.go",
"repo_id": "openmultiplayer",
"token_count": 298
} | 270 |
---
title: OnNPCEnterVehicle
description: This callback is called when a NPC enters a vehicle.
tags: ["npc"]
---
## Description
This callback is called when a NPC enters a vehicle.
| Name | Description |
| ------------ | --------------------------------------------... | openmultiplayer/web/docs/scripting/callbacks/OnNPCEnterVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnNPCEnterVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 336
} | 271 |
---
title: OnPlayerDeath
description: This callback is called when a player dies, either by suicide or by being killed by another player.
tags: ["player"]
---
## Description
This callback is called when a player dies, either by suicide or by being killed by another player.
| Name | Description ... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerDeath.md",
"repo_id": "openmultiplayer",
"token_count": 950
} | 272 |
---
title: OnPlayerLeaveCheckpoint
description: This callback is called when a player leaves the checkpoint set for them by SetPlayerCheckpoint.
tags: ["player", "checkpoint"]
---
## Description
This callback is called when a player leaves the checkpoint set for them by [SetPlayerCheckpoint](../functions/SetPlayerChe... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerLeaveCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerLeaveCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 546
} | 273 |
---
title: OnPlayerStreamIn
description: This callback is called when a player is streamed by some other player's client.
tags: ["player"]
---
## Description
This callback is called when a player is streamed by some other player's client.
| Name | Description |
| --... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerStreamIn.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerStreamIn.md",
"repo_id": "openmultiplayer",
"token_count": 410
} | 274 |
---
title: OnVehicleRespray
description: This callback is called when a player exits a mod shop, even if the colors weren't changed.
tags: ["vehicle"]
---
## Description
This callback is called when a player exits a mod shop, even if the colors weren't changed. Watch out, the name is ambiguous, Pay 'n' Spray shops do... | openmultiplayer/web/docs/scripting/callbacks/OnVehicleRespray.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnVehicleRespray.md",
"repo_id": "openmultiplayer",
"token_count": 697
} | 275 |
---
title: AllowAdminTeleport
description: This function will determine whether RCON admins will be teleported to their waypoint when they set one.
tags: []
---
:::warning
This function, as of 0.3d, is deprecated. Please see [OnPlayerClickMap](../callbacks/OnPlayerClickMap).
:::
## Description
This function will d... | openmultiplayer/web/docs/scripting/functions/AllowAdminTeleport.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/AllowAdminTeleport.md",
"repo_id": "openmultiplayer",
"token_count": 322
} | 276 |
---
title: AttachObjectToVehicle
description: Attach an object to a vehicle.
tags: ["object", "vehicle"]
---
## Description
Attach an object to a vehicle.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/AttachObjectToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/AttachObjectToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 1608
} | 277 |
---
title: CreatePlayer3DTextLabel
description: Creates a 3D Text Label only for a specific player.
tags: ["player", "3dtextlabel"]
---
## Description
Creates a 3D Text Label only for a specific player
| Name | Description |
| --------... | openmultiplayer/web/docs/scripting/functions/CreatePlayer3DTextLabel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/CreatePlayer3DTextLabel.md",
"repo_id": "openmultiplayer",
"token_count": 1598
} | 278 |
---
title: DestroyVehicle
description: Destroy a vehicle.
tags: ["vehicle"]
---
## Description
Destroy a vehicle. It will disappear instantly.
| Name | Description |
| --------- | --------------------------------- |
| vehicleid | The ID of the vehicle to destroy. |
## Returns
**true** - ... | openmultiplayer/web/docs/scripting/functions/DestroyVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/DestroyVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 373
} | 279 |
---
title: EnableStuntBonusForPlayer
description: Toggle stunt bonuses for a player.
tags: ["player"]
---
## Description
Toggle stunt bonuses for a player. Enabled by default.
| Name | Description |
| ----------- | -----------------------------------------------... | openmultiplayer/web/docs/scripting/functions/EnableStuntBonusForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/EnableStuntBonusForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 293
} | 280 |
---
title: GetActorAnimation
description: Get the animation the actor is currently performing.
tags: ["actor"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the animation the actor is currently performing.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetActorAnimation.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetActorAnimation.md",
"repo_id": "openmultiplayer",
"token_count": 925
} | 281 |
---
title: GetDefaultPlayerColour
description: Gets the default colour for the player ID.
tags: ["player"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the default colour for the player ID.
| Name | Description |
| -------- | ---... | openmultiplayer/web/docs/scripting/functions/GetDefaultPlayerColour.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetDefaultPlayerColour.md",
"repo_id": "openmultiplayer",
"token_count": 231
} | 282 |
---
title: GetObjectDrawDistance
description: Get the draw distance of an object.
tags: ["object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the draw distance of an object.
| Name | Description |
|----------|--------------------------------------------... | openmultiplayer/web/docs/scripting/functions/GetObjectDrawDistance.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetObjectDrawDistance.md",
"repo_id": "openmultiplayer",
"token_count": 261
} | 283 |
---
title: GetPVarsUpperIndex
description: Each PVar (player-variable) has its own unique identification number for lookup, this function returns the highest ID set for a player.
tags: ["player variable", "pvar"]
---
## Description
Each PVar (player-variable) has its own unique identification number for lookup, this ... | openmultiplayer/web/docs/scripting/functions/GetPVarsUpperIndex.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPVarsUpperIndex.md",
"repo_id": "openmultiplayer",
"token_count": 538
} | 284 |
---
title: GetPlayerAnimFlags
description: Get the player animation flags.
tags: ["player", "animation"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the player animation flags.
| Name | Description |
| -------- | ---------------------------------------- |
| play... | openmultiplayer/web/docs/scripting/functions/GetPlayerAnimFlags.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerAnimFlags.md",
"repo_id": "openmultiplayer",
"token_count": 186
} | 285 |
---
title: GetPlayerCameraZoom
description: Retrieves the game camera zoom level for a given player.
tags: ["player", "camera"]
---
## Description
Retrieves the game camera zoom level for a given player.
| Name | Description |
| -------- | -------------------------------... | openmultiplayer/web/docs/scripting/functions/GetPlayerCameraZoom.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerCameraZoom.md",
"repo_id": "openmultiplayer",
"token_count": 331
} | 286 |
---
title: GetPlayerInterior
description: Retrieves the player's current interior.
tags: ["player"]
---
## Description
Retrieves the player's current interior. A list of currently known interiors with their positions can be found on this page.
| Name | Description |
| -------- | -------... | openmultiplayer/web/docs/scripting/functions/GetPlayerInterior.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerInterior.md",
"repo_id": "openmultiplayer",
"token_count": 349
} | 287 |
---
title: GetPlayerObjectMaterialText
description: Get the material text data from an index of the player-object.
tags: ["player", "object", "playerobject"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the material text data from an index of the player-object.
| Name ... | openmultiplayer/web/docs/scripting/functions/GetPlayerObjectMaterialText.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerObjectMaterialText.md",
"repo_id": "openmultiplayer",
"token_count": 1604
} | 288 |
---
title: GetPlayerRawIp
description: Get the specified player's Raw IP address (v4).
tags: ["player", "ip address"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the specified player's Raw IP address (v4).
| Name | Description |
| -------- | ----------... | openmultiplayer/web/docs/scripting/functions/GetPlayerRawIp.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerRawIp.md",
"repo_id": "openmultiplayer",
"token_count": 334
} | 289 |
---
title: GetPlayerTeam
description: Get the ID of the team the player is on.
tags: ["player"]
---
## Description
Get the ID of the team the player is on.
| Name | Description |
| -------- | ---------------------------------------- |
| playerid | The ID of the player to get the team... | openmultiplayer/web/docs/scripting/functions/GetPlayerTeam.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerTeam.md",
"repo_id": "openmultiplayer",
"token_count": 352
} | 290 |
---
title: GetRandomVehicleColourPair
description: Get random colour indexes that are valid for the given vehicle model.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get random colour indexes that are valid for the given vehicle model.
## Parameters
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetRandomVehicleColourPair.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetRandomVehicleColourPair.md",
"repo_id": "openmultiplayer",
"token_count": 405
} | 291 |
---
title: GetTimerRemaining
description: Gets the remaining interval of a timer.
tags: ["timer"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the remaining interval of a timer.
## Parameters
| Name | Description |
|---------|-----------------------... | openmultiplayer/web/docs/scripting/functions/GetTimerRemaining.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetTimerRemaining.md",
"repo_id": "openmultiplayer",
"token_count": 387
} | 292 |
---
title: GetVehicleModelInfo
description: Retrieve information about a specific vehicle model such as the size or position of seats.
tags: ["vehicle"]
---
## Description
Retrieve information about a specific vehicle model such as the size or position of seats
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetVehicleModelInfo.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleModelInfo.md",
"repo_id": "openmultiplayer",
"token_count": 711
} | 293 |
---
title: GetVehicleSpawnInfo
description: Gets the vehicle spawn location and colours.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the vehicle spawn location and colours.
## Parameters
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetVehicleSpawnInfo.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleSpawnInfo.md",
"repo_id": "openmultiplayer",
"token_count": 623
} | 294 |
---
title: HasObjectCameraCollision
description: Checks if an object has camera collision enabled. (SetObjectNoCameraCollision)
tags: ["object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if an object has camera collision enabled. ([SetObjectNoCameraCollision](SetObjectNoCameraCollision))
|... | openmultiplayer/web/docs/scripting/functions/HasObjectCameraCollision.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/HasObjectCameraCollision.md",
"repo_id": "openmultiplayer",
"token_count": 297
} | 295 |
---
title: IsBanned
description: Checks if the given IP address is banned.
tags: ["ip address"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if the given IP address is banned.
| Name | Description |
| ----------------- | ------------------------ |
| const ipAddress[]... | openmultiplayer/web/docs/scripting/functions/IsBanned.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsBanned.md",
"repo_id": "openmultiplayer",
"token_count": 334
} | 296 |
---
title: IsPlayerControllable
description: Check if the player is controllable.
tags: ["player"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Check if the player is controllable.
| Name | Description |
| -------- | ------------------- |
| playerid | The ID of the player. |
## Returns
**true*... | openmultiplayer/web/docs/scripting/functions/IsPlayerControllable.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerControllable.md",
"repo_id": "openmultiplayer",
"token_count": 258
} | 297 |
---
title: IsValidMenu
description: Checks if a menu ID is valid.
tags: ["menu"]
---
## Description
Checks if a menu ID is valid.
| Name | Description |
| ----------- | ---------------------------- |
| Menu:menuid | The ID of the menu to check. |
## Returns
**true** - The menu is valid.
**... | openmultiplayer/web/docs/scripting/functions/IsValidMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsValidMenu.md",
"repo_id": "openmultiplayer",
"token_count": 350
} | 298 |
---
title: IsVehicleSirenEnabled
description: Checks if a vehicle siren is on or off.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a vehicle siren is on or off.
## Parameters
| Name | Description |
|-----------|---------------------------------|
... | openmultiplayer/web/docs/scripting/functions/IsVehicleSirenEnabled.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsVehicleSirenEnabled.md",
"repo_id": "openmultiplayer",
"token_count": 309
} | 299 |
---
title: NetStats_MessagesRecvPerSecond
description: Gets the number of messages the player has received in the last second.
tags: ["network monitoring"]
---
## Description
Gets the number of messages the player has received in the last second.
| Name | Description |
| -------- |... | openmultiplayer/web/docs/scripting/functions/NetStats_MessagesRecvPerSecond.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/NetStats_MessagesRecvPerSecond.md",
"repo_id": "openmultiplayer",
"token_count": 589
} | 300 |
---
title: PlayerSpectatePlayer
description: Makes a player spectate (watch) another player.
tags: ["player"]
---
## Description
Makes a player spectate (watch) another player.
| Name | Description |
| -------------- | -------... | openmultiplayer/web/docs/scripting/functions/PlayerSpectatePlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerSpectatePlayer.md",
"repo_id": "openmultiplayer",
"token_count": 626
} | 301 |
---
title: RedirectDownload
description: Redirect a player custom AddCharModel or AddSimpleModel download to a specific HTTP webpage.
tags: ["custom model", "custom skin", "simple model"]
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Redirect a player custom AddCharModel or AddSimpleModel download to ... | openmultiplayer/web/docs/scripting/functions/RedirectDownload.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/RedirectDownload.md",
"repo_id": "openmultiplayer",
"token_count": 699
} | 302 |
---
title: SendClientCheck
description: Perform a memory check on the client.
tags: []
---
## Description
Perform a memory check on the client.
| Name | Description |
| ------------- | --------------------------------- |
| playerid | The ID of the player to check. |
| type ... | openmultiplayer/web/docs/scripting/functions/SendClientCheck.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SendClientCheck.md",
"repo_id": "openmultiplayer",
"token_count": 554
} | 303 |
---
title: SetActorInvulnerable
description: Toggle an actor's invulnerability.
tags: ["actor"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Toggle an actor's invulnerability.
| Name | Description |
| ----------------- | ---------------... | openmultiplayer/web/docs/scripting/functions/SetActorInvulnerable.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetActorInvulnerable.md",
"repo_id": "openmultiplayer",
"token_count": 421
} | 304 |
---
title: SetObjectNoCameraCol
description: Disable collisions between players' cameras and the specified object.
tags: ["camera"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Disable collisions between players' cameras and the specified object.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetObjectNoCameraCol.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetObjectNoCameraCol.md",
"repo_id": "openmultiplayer",
"token_count": 382
} | 305 |
---
title: SetPlayerMapIcon
description: Place an icon/marker on a player's map.
tags: ["player"]
---
## Description
Place an icon/marker on a player's map. Can be used to mark locations such as banks and hospitals to players.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetPlayerMapIcon.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerMapIcon.md",
"repo_id": "openmultiplayer",
"token_count": 1609
} | 306 |
---
title: SetPlayerRaceCheckpoint
description: Creates a race checkpoint.
tags: ["player", "checkpoint", "racecheckpoint"]
---
## Description
Creates a race checkpoint. When the player enters it, the OnPlayerEnterRaceCheckpoint callback is called.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetPlayerRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 1406
} | 307 |
---
title: SetServerRule
description: Add a server rule.
tags: ["rule"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Add a server rule.
## Parameters
| Name | Description |
| ----------------- | -------------------------------------------... | openmultiplayer/web/docs/scripting/functions/SetServerRule.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetServerRule.md",
"repo_id": "openmultiplayer",
"token_count": 419
} | 308 |
---
title: SetVehicleParamsSirenState
description: Turn the siren for a vehicle on or off.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Turn the siren for a vehicle on or off.
## Parameters
| Name | Description |
|--------------|--------------------------... | openmultiplayer/web/docs/scripting/functions/SetVehicleParamsSirenState.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetVehicleParamsSirenState.md",
"repo_id": "openmultiplayer",
"token_count": 276
} | 309 |
---
title: ShowPlayerMarkers
description: Toggles player markers (blips on the radar).
tags: ["player"]
---
## Description
Toggles player markers (blips on the radar). Must be used when the server starts (OnGameModeInit). For other times, see [SetPlayerMarkerForPlayer](SetPlayerMarkerForPlayer).
| Name ... | openmultiplayer/web/docs/scripting/functions/ShowPlayerMarkers.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ShowPlayerMarkers.md",
"repo_id": "openmultiplayer",
"token_count": 617
} | 310 |
---
title: TextDrawBoxColour
description: Adjusts the text box colour (only used if TextDrawUseBox 'enableBox' parameter is 'true').
tags: ["textdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Adjusts the text box colour (only used if TextDrawUseBox 'enableBox' parameter is 'true').
| Name ... | openmultiplayer/web/docs/scripting/functions/TextDrawBoxColour.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawBoxColour.md",
"repo_id": "openmultiplayer",
"token_count": 1081
} | 311 |
---
title: TextDrawGetPos
description: Gets the position of a textdraw.
tags: ["textdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the position (in-screen x & y) of a textdraw.
| Name | Description |
| ----------- | -------... | openmultiplayer/web/docs/scripting/functions/TextDrawGetPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawGetPos.md",
"repo_id": "openmultiplayer",
"token_count": 785
} | 312 |
---
title: TextDrawSetPreviewModel
description: Set the model for a textdraw model preview.
tags: ["textdraw"]
---
## Description
Set the model for a textdraw model preview.
| Name | Description |
| ----------- | ------------------------------------------------- |
| Text:... | openmultiplayer/web/docs/scripting/functions/TextDrawSetPreviewModel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawSetPreviewModel.md",
"repo_id": "openmultiplayer",
"token_count": 685
} | 313 |
---
title: TogglePlayerControllable
description: Toggles whether a player can control their character or not.
tags: ["player"]
---
## Description
Toggles whether a player can control their character or not. The player will also be unable to move their camera.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/TogglePlayerControllable.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TogglePlayerControllable.md",
"repo_id": "openmultiplayer",
"token_count": 498
} | 314 |
---
title: argcount
description: Get the number of arguments passed to the script (those after --).
tags: ["arguments", "args"]
---
## Description
Get the number of arguments passed to the script (those after **--**).
## Returns
The number of arguments passed directly to the script.
## Related Functions
- [argind... | openmultiplayer/web/docs/scripting/functions/argcount.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/argcount.md",
"repo_id": "openmultiplayer",
"token_count": 144
} | 315 |
---
title: fblockwrite
description: Write data to a file in binary format, while ignoring line brakes and encoding.
tags: ["file management"]
---
<LowercaseNote />
## Description
Write data to a file in binary format, while ignoring line brakes and encoding.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/fblockwrite.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/fblockwrite.md",
"repo_id": "openmultiplayer",
"token_count": 876
} | 316 |
---
title: floatlog
description: This function allows you to get the logarithm of a float value.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
This function allows you to get the logarithm of a float value.
| Name | Description |
| ----------- | ----------... | openmultiplayer/web/docs/scripting/functions/floatlog.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/floatlog.md",
"repo_id": "openmultiplayer",
"token_count": 308
} | 317 |
---
title: fseek
description: Change the current position in the file.
tags: ["file management"]
---
<LowercaseNote />
## Description
Change the current position in the file. You can either seek forward or backward through the file.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/fseek.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/fseek.md",
"repo_id": "openmultiplayer",
"token_count": 1101
} | 318 |
---
title: memcpy
description: Copy bytes from one location to another.
tags: ["string"]
---
<LowercaseNote />
## Description
Copy bytes from one location to another.
| Name | Description |
| ------------------------- | -... | openmultiplayer/web/docs/scripting/functions/memcpy.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/memcpy.md",
"repo_id": "openmultiplayer",
"token_count": 753
} | 319 |
---
title: strequal
description: Compares two strings to see if they are the same.
tags: ["string"]
---
<VersionWarn version='omp v1.1.0.2612' />
<LowercaseNote />
## Description
Compares two strings to see if they are the same.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/strequal.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/strequal.md",
"repo_id": "openmultiplayer",
"token_count": 811
} | 320 |
---
title: "Keywords: Directives"
---
Directives are instructions passed to the compiler to control how it interprets your source code.
## `#assert`
This checks if constant expression is true and if not halts the compile.
```c
#define MOO 10
#assert MOO > 5
```
This will compile fine.
```c
#define MOO 1
#assert M... | openmultiplayer/web/docs/scripting/language/Directives.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/language/Directives.md",
"repo_id": "openmultiplayer",
"token_count": 5295
} | 321 |
# Directives
---
All directives must appear first on a line (they may be preceded by white space,
but not by any other characters). All directives start with the character # and
the complete instruction may not span more than one line.
**#assert** _constant expression_
Issues a compile time error if the supplie... | openmultiplayer/web/docs/scripting/language/reference/09-Directives.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/language/reference/09-Directives.md",
"repo_id": "openmultiplayer",
"token_count": 4255
} | 322 |
---
title: Color List
description: Colors are everywhere in SA-MP - vehicles, player names and blips, textdraws, gametext, chat, 3D texts and dialogs (as color embedding)! Below you can find information about these different things.
sidebar_label: Color List
---
## Chat text and player color
Colors in SA-MP are gener... | openmultiplayer/web/docs/scripting/resources/colorslist.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/colorslist.md",
"repo_id": "openmultiplayer",
"token_count": 2258
} | 323 |
---
title: SQLite Open Flags
description: SQLite open flags definitions.
---
:::note
These flags are used by [DB_Open](../functions/db_open).
:::
| Definitions | Description |
|---------------------------|---------------|
| UNKNOWN_SQLITE_OPEN | |
| SQLITE_OPEN_READONLY | ... | openmultiplayer/web/docs/scripting/resources/sqlite-open-flags.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/sqlite-open-flags.md",
"repo_id": "openmultiplayer",
"token_count": 748
} | 324 |
---
title: Vending Machines
description: List of all vending machine locations, player using them should be within 2 units distance.
---
:::info
In GTA: SA (and SA-MP too), it is possible to use vending machines which can be found around the map. The models in the table below are usable vending machines.
:::
| Mode... | openmultiplayer/web/docs/scripting/resources/vendingmachines.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/vendingmachines.md",
"repo_id": "openmultiplayer",
"token_count": 1916
} | 325 |
---
title: OnVehicleDeath
description: يتم إستدعاء هذا الكالباك عند يتم تدمير السيارة
tags: ["vehicle"]
---
<div dir="rtl" style={{ textAlign: "right" }}>
## الوصف
يتم إستدعاء هذا الكالباك عند يتم تدمير السيارة
| Name | Description |
| ------------- | --... | openmultiplayer/web/docs/translations/ar/scripting/callbacks/OnVehicleDeath.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ar/scripting/callbacks/OnVehicleDeath.md",
"repo_id": "openmultiplayer",
"token_count": 1102
} | 326 |
---
title: OnActorStreamOut
description: Ovaj callback se poziva kada se aktor prestane prikazivati na igračevom klijentu.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Ovaj callback se poziva kada se aktor prestane prikazivati na igračevom klijentu.
... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnActorStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnActorStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 449
} | 327 |
---
title: OnPlayerClickTextDraw
description: Ovaj callback se poziva kada igrač klikne na textdraw ili napusti select mode pritiskom na tipku 'Escape'.
tags: ["player", "textdraw"]
---
## Deskripcija
Ovaj callback se poziva kada igrač klikne na textdraw ili napusti select mode pritiskom na tipku 'Escape'.
| Ime ... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerClickTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerClickTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 997
} | 328 |
---
title: OnPlayerKeyStateChange
description: Ovaj callback je pozvan kada se stanje bilo koje podržane tipke promijeni (pritisnuta/puštena).
tags: ["player"]
---
## Deskripcija
Ovaj callback je pozvan kada se stanje bilo koje [podržane](../resources/keys.md) tipke promijeni (pritisnuta/puštena).<br/>Tipke sa smjero... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerKeyStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerKeyStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 4948
} | 329 |
---
title: OnPlayerUpdate
description: Ovaj callback je pozvan svaki put kada klijent/igrač ažurira server sa svojim statusom.
tags: ["player"]
---
## Deskripcija
Ovaj callback je pozvan svaki put kada klijent/igrač ažurira server sa svojim statusom. Često se koristi za kreiranje custom callbackova za ažuriranja klij... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1294
} | 330 |
---
title: AddCharModel
description: Dodaje novog prilagođenog karaktera za preuzimanje.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.DL R1 i ne radi u nižim verzijama!
:::
## Deskripcija
Dodaje novog prilagođenog karaktera za preuzimanje. Fajlovi modela će biti pohranjeni u igračevim: Documents\GTA ... | openmultiplayer/web/docs/translations/bs/scripting/functions/AddCharModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AddCharModel.md",
"repo_id": "openmultiplayer",
"token_count": 922
} | 331 |
---
title: Attach3DTextLabelToVehicle
description: Prikvači 3D text label za vozilo.
tags: ["vehicle", "3dtextlabel"]
---
## Deskripcija
Prikvači 3D text label za vozilo.
| Ime | Deskripcija |
| --------- | ---------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/Attach3DTextLabelToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/Attach3DTextLabelToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 948
} | 332 |
---
title: ChangeVehicleColor
description: Promjena primarne i sekundarne boje vozila.
tags: ["vehicle"]
---
## Deskripcija
Promjena primarne i sekundarne boje vozila.
| Ime | Deskripcija |
| --------- | ---------------------------------------------- |
| vehicleid | ID vozila... | openmultiplayer/web/docs/translations/bs/scripting/functions/ChangeVehicleColor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/ChangeVehicleColor.md",
"repo_id": "openmultiplayer",
"token_count": 563
} | 333 |
---
title: Delete3DTextLabel
description: Obriši 3D text label (kreiran sa Create3DTextLabel).
tags: ["3dtextlabel"]
---
## Deskripcija
Obriši 3D text label (kreiran sa Create3DTextLabel).
| Ime | Deskripcija |
| --------- | ------------------------------ |
| Text3D:textid | ID 3D text label... | openmultiplayer/web/docs/translations/bs/scripting/functions/Delete3DTextLabel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/Delete3DTextLabel.md",
"repo_id": "openmultiplayer",
"token_count": 446
} | 334 |
---
title: DisablePlayerRaceCheckpoint
description: Onemogućite inicijalizirane race checkpointe za određenog igrača, jer u svakom trenutku možete imati samo jednu.
tags: ["player", "checkpoint", "racecheckpoint"]
---
## Deskripcija
Onemogućite inicijalizirane race checkpointe za određenog igrača, jer u svakom trenut... | openmultiplayer/web/docs/translations/bs/scripting/functions/DisablePlayerRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/DisablePlayerRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 622
} | 335 |
---
title: GameTextForPlayer
description: Prikazuje 'game text' (tekst na ekranu) određeno vrijeme za određenog igrača.
tags: ["player"]
---
## Deskripcija
Prikazuje 'game text' (tekst na ekranu) određeno vrijeme za određenog igrača.
| Ime | Deskripcija |
| ---... | openmultiplayer/web/docs/translations/bs/scripting/functions/GameTextForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GameTextForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 816
} | 336 |
---
title: GetAnimationName
description: Dobij library/ime animacije za indeks.
tags: []
---
## Deskripcija
Dobij library/ime animacije za indeks.
| Ime | Deskripcija |
| ---------- | -------------------------------------------------------------- |
| index ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetAnimationName.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetAnimationName.md",
"repo_id": "openmultiplayer",
"token_count": 620
} | 337 |
---
title: GetPVarsUpperIndex
description: Svaki PVar (igrač-varijabla) ima svoj jedinstveni identifikacijski broj za traženje, ova funkcija vraća najviši ID postavljen za igrača.
tags: ["pvar"]
---
## Deskripcija
Svaki PVar (igrač-varijabla) ima svoj jedinstveni identifikacijski broj za traženje, ova funkcija vraća ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPVarsUpperIndex.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPVarsUpperIndex.md",
"repo_id": "openmultiplayer",
"token_count": 709
} | 338 |
---
title: GetPlayerWantedLevel
description: Dobija wanted level igrača.
tags: ["player"]
---
## Deskripcija
Dobija wanted level igrača.
| Ime | Deskripcija |
| -------- | --------------------------------- |
| playerid | ID igrača za dobiti wanted level. |
## Returns
Wanted level igrača.... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerWantedLevel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerWantedLevel.md",
"repo_id": "openmultiplayer",
"token_count": 469
} | 339 |
---
title: GetVehicleComponentType
description: Saznaj koji je tip komponente određeni ID.
tags: ["vehicle"]
---
## Deskripcija
Saznaj koji je tip komponente određeni ID.
| Ime | Deskripcija |
| --------- | ---------------------------- |
| component | ID komponente za provjeriti. |
## Returns... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleComponentType.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleComponentType.md",
"repo_id": "openmultiplayer",
"token_count": 567
} | 340 |
---
title: GetVehicleZAngle
description: Nabavite rotaciju vozilo na Z osi (nagib).
tags: ["vehicle"]
---
## Deskripcija
Nabavite rotaciju vozilo na Z osi (nagib).
| Ime | Deskripcija |
| -------------- | -----------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleZAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleZAngle.md",
"repo_id": "openmultiplayer",
"token_count": 715
} | 341 |
---
title: IsPlayerInAnyVehicle
description: Provjerava da li je igrač unutar bilo kojeg vozila (kao vozač ili suvozač).
tags: ["player", "vehicle"]
---
## Deskripcija
Provjerava da li je igrač unutar bilo kojeg vozila (kao vozač ili suvozač).
| Ime | Deskripcija |
| -------- | ----------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerInAnyVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerInAnyVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 420
} | 342 |
---
title: Kick
description: Izbacuje igrača sa servera. Morati će napustiti igru i ponovno se konektovati ako žele da nastave igrati.
tags: ["administration"]
---
## Deskripcija
Izbacuje igrača sa servera. Morati će napustiti igru i ponovno se konektovati ako žele da nastave igrati.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/Kick.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/Kick.md",
"repo_id": "openmultiplayer",
"token_count": 742
} | 343 |
---
title: NetStats_PacketLossPercent
description: Dobija procenat gubitka paketa (packet loss) igrača.
tags: []
---
## Deskripcija
Dobija procenat gubitka paketa (packet loss) igrača. Gubitak paketa znači da se podaci koje igrač šalje na server gube (ili obrnuto).
| Ime | Deskripcija |
| -----... | openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_PacketLossPercent.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/NetStats_PacketLossPercent.md",
"repo_id": "openmultiplayer",
"token_count": 1008
} | 344 |
---
title: PlayerTextDrawSetPreviewRot
description: Postavlja rotaciju i zumiranje prikaza 3D modela u player-textdrawu.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Postavlja rotaciju i zumiranje prikaza 3D modela u player-textdrawu.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawSetPreviewRot.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawSetPreviewRot.md",
"repo_id": "openmultiplayer",
"token_count": 1452
} | 345 |
---
title: RepairVehicle
description: U potpunosti popravlja vozilo, uključujući vidljivu štetu (neravnine, udubljenja, ogrebotine, puknute gume itd.).
tags: ["vehicle"]
---
## Deskripcija
U potpunosti popravlja vozilo, uključujući vidljivu štetu (neravnine, udubljenja, ogrebotine, puknute gume itd.).
| Ime | ... | openmultiplayer/web/docs/translations/bs/scripting/functions/RepairVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/RepairVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 509
} | 346 |
---
title: SetActorPos
description: Postavi poziciju aktora.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Postavi poziciju aktora.
| Ime | Deskripcija |
| ------- | --------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetActorPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetActorPos.md",
"repo_id": "openmultiplayer",
"token_count": 645
} | 347 |
---
title: SetPVarInt
description: Postavi cjelobrojnu player (igračevu) varijablu.
tags: ["pvar"]
---
## Deskripcija
Postavi cjelobrojnu player (igračevu) varijablu.
| Ime | Deskripcija |
| --------- | ---------------------------------------------------- |
| playerid ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPVarInt.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPVarInt.md",
"repo_id": "openmultiplayer",
"token_count": 697
} | 348 |
---
title: SetPlayerInterior
description: Postavlja igraču enterijer
tags: ["player"]
---
## Deskripcija
Postavlja igraču enterijer. Lista trenutno poznatih enterijera i njihovih pozicija možete pronaći ovdje.
| Ime | Deskripcija |
| ---------- | -... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerInterior.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerInterior.md",
"repo_id": "openmultiplayer",
"token_count": 482
} | 349 |
---
title: SetPlayerSkin
description: Postavi skin igrača.
tags: ["player"]
---
## Deskripcija
Postavi skin igrača. Igračev skin je njegov model karaktera.
| Ime | Deskripcija |
| -------- | ---------------------------------------------------- |
| playerid | ID igrača za... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerSkin.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerSkin.md",
"repo_id": "openmultiplayer",
"token_count": 1417
} | 350 |
---
title: SetVehicleAngularVelocity
description: Postavlja ugaonu brzinu X, Y i Z vozila.
tags: ["vehicle"]
---
:::info
Ova funkcija je u _svjetskom_ prostoru a ne u _lokalnom_ prostoru. Ako želite izvršiti prilagodbe ugaone brzine lokalnog prostora, morate primijeniti matricu rotacije na temelju [quat rotacije vozi... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleAngularVelocity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetVehicleAngularVelocity.md",
"repo_id": "openmultiplayer",
"token_count": 611
} | 351 |
---
title: ShowObjectForPlayer
description: Prikaže objekat igraču.
tags: ["player", "object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Deskripcija
Prikazuje objekat igraču koji je sakriven sa [HideObjectForPlayer](HideObjectForPlayer) funkcijom.
## Parametri
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/ShowObjectForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/ShowObjectForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 529
} | 352 |
---
title: floatfract
description: Nabavite razlomljeni dio floata.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Nabavite razlomljeni dio floata. To znači vrijednost brojeva nakon decimalne točke.
| Ime | Deskripcija |
| ----- | ---------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/floatfract.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/floatfract.md",
"repo_id": "openmultiplayer",
"token_count": 281
} | 353 |
---
title: fseek
description: Promijenite trenutni položaj u datoteci.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Promijenite trenutni položaj u datoteci. Kroz datoteku možete tražiti unaprijed ili unatrag.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/fseek.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/fseek.md",
"repo_id": "openmultiplayer",
"token_count": 1508
} | 354 |
---
title: numargs
description: Dohvatite broj argumenata proslijeđenih funkciji.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Dohvatite broj argumenata proslijeđenih funkciji.
## Primjeri
```c
SomeFunction(...)
{
printf("numargs(): %i", numargs());
}
public OnFilterScript... | openmultiplayer/web/docs/translations/bs/scripting/functions/numargs.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/numargs.md",
"repo_id": "openmultiplayer",
"token_count": 248
} | 355 |
---
title: strunpack
description: Ovom se funkcijom može raspakirati string.
tags: []
---
:::warning
Ova funkcija započinje malim slovom.
:::
## Deskripcija
Ovom se funkcijom može raspakirati string.
| Ime | Deskripcija |
| ------... | openmultiplayer/web/docs/translations/bs/scripting/functions/strunpack.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/strunpack.md",
"repo_id": "openmultiplayer",
"token_count": 706
} | 356 |
---
title: Izvori Klikanja
description: Izvori Klikanja
---
:::info
Ispod je lista izvora klikova koje koristi [OnPlayerClickPlayer](../callbacks/OnPlayerClickPlayer). Trenutno postoji samo jedan tip izvora klika.
:::
| Vrijednost | Konstantni simbol |
| ---------- | ----------------------- |
| 0 | ... | openmultiplayer/web/docs/translations/bs/scripting/resources/clicksources.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/resources/clicksources.md",
"repo_id": "openmultiplayer",
"token_count": 141
} | 357 |
---
title: AddPlayerClass
description: Fügt eine Klasse zur Klassen-Auswahl(class-selection) hinzu.
tags: ["player"]
---
## Beschreibung
Fügt eine Klasse zur Klassen-Auswahl(class-selection) hinzu. Klassen ermöglichen dem Spieler mit einem Skin ihrer Wahl zu spawnen.
| Name | Beschreibung ... | openmultiplayer/web/docs/translations/de/scripting/functions/AddPlayerClass.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/de/scripting/functions/AddPlayerClass.md",
"repo_id": "openmultiplayer",
"token_count": 953
} | 358 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.