text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
import React from 'react';
import {
List,
ListItem,
ListItemIcon,
ListItemText,
Collapse,
} from '@material-ui/core';
import { ExpandMore, ExpandLess, Translate } from '@material-ui/icons';
import styled from 'styled-components';
import { langs } from '../../lang/index';
import constants from '../constants';
... | odota/web/src/components/Localization/index.jsx/0 | {
"file_path": "odota/web/src/components/Localization/index.jsx",
"repo_id": "odota",
"token_count": 848
} | 250 |
import MatchHeader from './MatchHeader';
export default MatchHeader;
| odota/web/src/components/Match/MatchHeader/index.js/0 | {
"file_path": "odota/web/src/components/Match/MatchHeader/index.js",
"repo_id": "odota",
"token_count": 17
} | 251 |
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { threshold, formatSeconds } from '../../../utility';
import Table from '../../Table';
import Heading from '../../Heading';
import mcs from '../matchColumns';
import constants from '../../constants';
import Log... | odota/web/src/components/Match/Vision/VisionLog.jsx/0 | {
"file_path": "odota/web/src/components/Match/Vision/VisionLog.jsx",
"repo_id": "odota",
"token_count": 1382
} | 252 |
import React from 'react';
import { connect } from 'react-redux';
import styled from 'styled-components';
import Error from '../../Error';
import Spinner from '../../Spinner';
import {
IconCheese,
IconSteam,
IconContributor,
IconCheckCircle,
} from '../../Icons';
import constants from '../../constants';
const ... | odota/web/src/components/Player/Header/PlayerBadges.jsx/0 | {
"file_path": "odota/web/src/components/Player/Header/PlayerBadges.jsx",
"repo_id": "odota",
"token_count": 2567
} | 253 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { getPlayerMatches } from '../../../../actions';
import Table from '../../../Table';
import Container from '../../../Container';
import playerMatchesColumns from './playerMatchesColumns';
const Matches = ({
d... | odota/web/src/components/Player/Pages/Matches/Matches.jsx/0 | {
"file_path": "odota/web/src/components/Player/Pages/Matches/Matches.jsx",
"repo_id": "odota",
"token_count": 591
} | 254 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { calculateResponsiveState } from 'redux-responsive';
import styled from 'styled-components';
import { unpackPositionData } from '../../../../utility';
import { getPlayerWardmap } from '../../../../actions';
imp... | odota/web/src/components/Player/Pages/Wardmap/Wardmap.jsx/0 | {
"file_path": "odota/web/src/components/Player/Pages/Wardmap/Wardmap.jsx",
"repo_id": "odota",
"token_count": 1510
} | 255 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import ActionSearch from 'material-ui/svg-icons/action/search';
import Schedule from 'material-ui/svg-icons/action/schedule';
import Grain from 'material-ui/svg-icons/image/grain';
import { withRouter, Link } from 'rea... | odota/web/src/components/Scenarios/Scenarios.jsx/0 | {
"file_path": "odota/web/src/components/Scenarios/Scenarios.jsx",
"repo_id": "odota",
"token_count": 3308
} | 256 |
import React from 'react';
import PropTypes from 'prop-types';
import { abbreviateNumber, SORT_ENUM, defaultSort, getColStyle } from '../../utility';
import { TablePercent, TableSparkline } from '../Visualizations';
import Pagination from '../Table/PaginatedTable/Pagination';
import TableHeader from './TableHeader';
im... | odota/web/src/components/Table/Table.jsx/0 | {
"file_path": "odota/web/src/components/Table/Table.jsx",
"repo_id": "odota",
"token_count": 5768
} | 257 |
import React from 'react';
import PropTypes from 'prop-types';
import styled from 'styled-components';
import { fromNow } from '../../utility';
const StyledDiv = styled.div`
position: relative;
cursor: default;
&[data-hint-position="top"]::after {
margin-left: -10px;
left: 0;
}
`;
const FromNowToolti... | odota/web/src/components/Visualizations/FromNowTooltip.jsx/0 | {
"file_path": "odota/web/src/components/Visualizations/FromNowTooltip.jsx",
"repo_id": "odota",
"token_count": 312
} | 258 |
import styled from 'styled-components';
import constants from '../../constants';
export const StyledContainer = styled.div`
display: flex;
position: relative;
height: 100%;
`;
export const KDAContainer = styled(StyledContainer)`
width: calc(300% + 10px);
left: -10px;
pointer-events: none;
`;
export const... | odota/web/src/components/Visualizations/Table/Styled.jsx/0 | {
"file_path": "odota/web/src/components/Visualizations/Table/Styled.jsx",
"repo_id": "odota",
"token_count": 416
} | 259 |
{
"yes": "yes",
"no": "no",
"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": "Eficiencia en línea",
"analysis_farm_drought": "Meno... | odota/web/src/lang/es-PE.json/0 | {
"file_path": "odota/web/src/lang/es-PE.json",
"repo_id": "odota",
"token_count": 19178
} | 260 |
{
"yes": "da",
"no": "nu",
"abbr_thousand": "mii",
"abbr_million": "mil",
"abbr_billion": "mld",
"abbr_trillion": "tril",
"abbr_quadrillion": "qdl",
"abbr_not_available": "Indisponibil",
"abbr_pick": "P",
"abbr_win": "W",
"abbr_number": "Nr.",
"analysis_eff": "Eficienţă pe linie",
"analysis_fa... | odota/web/src/lang/ro-RO.json/0 | {
"file_path": "odota/web/src/lang/ro-RO.json",
"repo_id": "odota",
"token_count": 23114
} | 261 |
import {
createStore,
applyMiddleware,
combineReducers,
compose,
} from 'redux';
import thunkMiddleware from 'redux-thunk';
import {
createResponsiveStoreEnhancer,
createResponsiveStateReducer,
} from 'redux-responsive';
import app from '../reducers';
const reducer = combineReducers({
app,
browser: cre... | odota/web/src/store/index.js/0 | {
"file_path": "odota/web/src/store/index.js",
"repo_id": "odota",
"token_count": 269
} | 262 |
[
{
"hero_id": "86",
"last_played": 1535804017,
"games": 357,
"win": 227,
"with_games": 396,
"with_win": 249,
"against_games": 693,
"against_win": 418
},
{
"hero_id": "74",
"last_played": 1495891783,
"games": 171,
"win": 108,
"with_games": 493,
"with_win": 299,
"against_games": 753,
"... | odota/web/testcafe/cachedAjax/players_101695162_heroes_.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/players_101695162_heroes_.json",
"repo_id": "odota",
"token_count": 9928
} | 263 |
[
{
"team_id": 15,
"rating": 1591.17,
"wins": 958,
"losses": 650,
"last_match_time": 1535249730,
"name": "PSG.LGD",
"tag": "PSG.LGD",
"logo_url": "https://cdn.cloudflare.steamstatic.com/apps/dota2/images/team_logos/15.png"
},
{
"team_id": 2163,
"rating": 1580.64,
"wins": 703,
"losses": 433,
... | odota/web/testcafe/cachedAjax/teams_.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/teams_.json",
"repo_id": "odota",
"token_count": 135713
} | 264 |
version: 3
dotenv: [.env]
tasks:
default:
deps: [build]
cmds:
- ./server.exe
sources:
- app/**/*.go
- internal/**/*.go
- cmd/**/*.go
build:
cmds:
- go build -o server.exe -ldflags="-X 'github.com/openmultiplayer/web/internal/version.Version={{.VERSION}}'" -buildvcs=f... | openmultiplayer/web/Taskfile.yml/0 | {
"file_path": "openmultiplayer/web/Taskfile.yml",
"repo_id": "openmultiplayer",
"token_count": 981
} | 265 |
package server
import (
"context"
"time"
)
// Repository provides an interface for reading and writing server data.
type Repository interface {
Upsert(context.Context, All) error
GetByID(context.Context, string) (*All, error)
GetByAddress(context.Context, string) (*All, error)
GetEssential(context.Context, stri... | openmultiplayer/web/app/resources/server/repository.go/0 | {
"file_path": "openmultiplayer/web/app/resources/server/repository.go",
"repo_id": "openmultiplayer",
"token_count": 259
} | 266 |
package serververify
import (
"context"
"time"
sampquery "github.com/Southclaws/go-samp-query"
"github.com/openmultiplayer/web/internal/db"
)
type Verifyer struct {
db *db.PrismaClient
}
func New(db *db.PrismaClient) *Verifyer {
return &Verifyer{db}
}
type VerifyStatus struct {
Verified bool `json:"verif... | openmultiplayer/web/app/services/serververify/verify.go/0 | {
"file_path": "openmultiplayer/web/app/services/serververify/verify.go",
"repo_id": "openmultiplayer",
"token_count": 601
} | 267 |
package pawndex
import (
"fmt"
"net/http"
"github.com/Masterminds/semver"
"github.com/go-chi/chi"
"github.com/openmultiplayer/web/internal/web"
)
func (s *service) getLatest(w http.ResponseWriter, r *http.Request) {
user := chi.URLParam(r, "user")
repo := chi.URLParam(r, "repo")
p, exists, err := s.store.Ge... | openmultiplayer/web/app/transports/api/pawndex/h_getLatest.go/0 | {
"file_path": "openmultiplayer/web/app/transports/api/pawndex/h_getLatest.go",
"repo_id": "openmultiplayer",
"token_count": 382
} | 268 |
package users
import (
"net/http"
"github.com/openmultiplayer/web/internal/web"
)
type queryParams struct {
Sort string `qstring:"sort"`
Max int `qstring:"max"`
Skip int `qstring:"skip"`
}
func (s *service) list(w http.ResponseWriter, r *http.Request) {
var p queryParams
if !web.ParseQuery(w, r, &p) {... | openmultiplayer/web/app/transports/api/users/h_list.go/0 | {
"file_path": "openmultiplayer/web/app/transports/api/users/h_list.go",
"repo_id": "openmultiplayer",
"token_count": 271
} | 269 |
---
title: OnActorStreamOut
description: This callback is called when an actor is streamed out by a player's client.
tags: ["actor"]
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
## Description
This callback is called when an actor is streamed out by a player's client.
| Name | Description ... | openmultiplayer/web/docs/scripting/callbacks/OnActorStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnActorStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 389
} | 270 |
---
title: OnNPCSpawn
description: This callback is called when a NPC spawned.
tags: ["npc"]
---
## Description
This callback is called when a NPC spawned.
## Examples
```c
public OnNPCSpawn()
{
print("NPC spawned");
SendChat("Hello World. I'm a bot.");
return 1;
}
```
| openmultiplayer/web/docs/scripting/callbacks/OnNPCSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnNPCSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 101
} | 271 |
---
title: OnPlayerEnterCheckpoint
description: This callback is called when a player enters the checkpoint set for that player.
tags: ["player", "checkpoint"]
---
## Description
This callback is called when a player enters the checkpoint set for that player.
| Name | Description |
| -... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerEnterCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerEnterCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 626
} | 272 |
---
title: OnPlayerObjectMoved
description: This callback is called when a player object is moved after MovePlayerObject (when it stops moving).
tags: ["player", "object", "playerobject"]
---
## Description
This callback is called when a player object is moved after [MovePlayerObject](../functions/MovePlayerObject) (... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerObjectMoved.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerObjectMoved.md",
"repo_id": "openmultiplayer",
"token_count": 452
} | 273 |
---
title: OnPlayerUpdate
description: This callback is called every time a client/player updates the server with their status.
tags: ["player"]
---
## Description
This callback is called every time a client/player updates the server with their status. It is often used to create custom callbacks for client updates th... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1000
} | 274 |
---
title: OnVehicleStreamOut
description: This callback is called when a vehicle is streamed out for a player's client (it's so far away that they can't see it).
tags: ["vehicle"]
---
## Description
This callback is called when a vehicle is streamed out for a player's client (it's so far away that they can't see it)... | openmultiplayer/web/docs/scripting/callbacks/OnVehicleStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnVehicleStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 424
} | 275 |
---
title: AllowPlayerWeapons
description: Enable/Disable weapons for a player.
tags: ["player"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Enable/Disable weapons for a player.
| Name | Description |
| ---------- | -------------------------------------- |
| playeri... | openmultiplayer/web/docs/scripting/functions/AllowPlayerWeapons.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/AllowPlayerWeapons.md",
"repo_id": "openmultiplayer",
"token_count": 226
} | 276 |
---
title: AttachTrailerToVehicle
description: Attach a vehicle to another vehicle as a trailer.
tags: ["vehicle"]
---
## Description
Attach a vehicle to another vehicle as a trailer.
| Name | Description |
| --------- | ------------------------------------------------- |
|... | openmultiplayer/web/docs/scripting/functions/AttachTrailerToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/AttachTrailerToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 412
} | 277 |
---
title: ClearAnimations
description: Clears all animations for the given player (it also cancels all current tasks such as jetpacking, parachuting, entering vehicles, driving (removes player out of vehicle), swimming, etc).
tags: ["player", "animation"]
---
## Description
Clears all animations for the given player... | openmultiplayer/web/docs/scripting/functions/ClearAnimations.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ClearAnimations.md",
"repo_id": "openmultiplayer",
"token_count": 619
} | 278 |
---
title: CreatePlayerTextDraw
description: Creates a textdraw for a single player.
tags: ["player", "textdraw", "playertextdraw"]
---
## Description
Creates a textdraw for a single player. This can be used as a way around the global text-draw limit.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/CreatePlayerTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/CreatePlayerTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 1679
} | 279 |
---
title: DisableMenuRow
description: Disable a specific row in a menu for all players.
tags: ["menu"]
---
## Description
Disable a specific row in a menu for all players. It will be greyed-out and can't be selected by players.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/DisableMenuRow.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/DisableMenuRow.md",
"repo_id": "openmultiplayer",
"token_count": 743
} | 280 |
---
title: EndObjectEditing
description: Cancel object edition mode for a player.
tags: ["object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Cancel object edition mode for a player
| Name | Description |
| -------- | ------------------------------------------ |
... | openmultiplayer/web/docs/scripting/functions/EndObjectEditing.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/EndObjectEditing.md",
"repo_id": "openmultiplayer",
"token_count": 382
} | 281 |
---
title: GangZoneShowForAll
description: Shows a gangzone with the desired color to all players.
tags: ["gangzone"]
---
## Description
Shows a gangzone with the desired color to all players.
| Name | Description |
| ---... | openmultiplayer/web/docs/scripting/functions/GangZoneShowForAll.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GangZoneShowForAll.md",
"repo_id": "openmultiplayer",
"token_count": 655
} | 282 |
---
title: GetActorPos
description: Get the position of an actor.
tags: ["actor"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Get the position of an actor.
| Name | Description |
| -------- | -------------------------------... | openmultiplayer/web/docs/scripting/functions/GetActorPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetActorPos.md",
"repo_id": "openmultiplayer",
"token_count": 387
} | 283 |
---
title: GetMenuColumnHeader
description: Get the text in the header of the specified column.
tags: ["menu"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the text in the header of the specified column.
| Name | Description |
| --... | openmultiplayer/web/docs/scripting/functions/GetMenuColumnHeader.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetMenuColumnHeader.md",
"repo_id": "openmultiplayer",
"token_count": 431
} | 284 |
---
title: GetObjectMoveSpeed
description: Get the move speed of an object.
tags: ["object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the move speed of an object.
| Name | Description |
|----------|------------------------------------------------|
| obj... | openmultiplayer/web/docs/scripting/functions/GetObjectMoveSpeed.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetObjectMoveSpeed.md",
"repo_id": "openmultiplayer",
"token_count": 324
} | 285 |
---
title: GetPlayerAttachedObject
description: Gets the player attachment object data by index.
tags: ["player", "object", "attachment"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the player attachment object data by index.
| Name | Description |
| ---... | openmultiplayer/web/docs/scripting/functions/GetPlayerAttachedObject.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerAttachedObject.md",
"repo_id": "openmultiplayer",
"token_count": 831
} | 286 |
---
title: GetPlayerCustomSkin
description: Returns the class of the players custom skin downloaded from the server.
tags: ["player"]
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Returns the class of the players custom skin downloaded from the server.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayerCustomSkin.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerCustomSkin.md",
"repo_id": "openmultiplayer",
"token_count": 358
} | 287 |
---
title: GetPlayerLastShotVectors
description: Retrieves the start and end (hit) position of the last bullet a player fired.
tags: ["player"]
---
## Description
Retrieves the start and end (hit) position of the last bullet a player fired.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayerLastShotVectors.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerLastShotVectors.md",
"repo_id": "openmultiplayer",
"token_count": 899
} | 288 |
---
title: GetPlayerObjectMovingTargetRot
description: Get the move target rotation of a player-object.
tags: ["player", "object", "playerobject"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the move target rotation of a player-object.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayerObjectMovingTargetRot.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerObjectMovingTargetRot.md",
"repo_id": "openmultiplayer",
"token_count": 667
} | 289 |
---
title: GetPlayerSkillLevel
description: Get the player skill level of a certain weapon type.
tags: ["player"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the player skill level of a certain weapon type.
| Name | Description |
| -... | openmultiplayer/web/docs/scripting/functions/GetPlayerSkillLevel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerSkillLevel.md",
"repo_id": "openmultiplayer",
"token_count": 552
} | 290 |
---
title: GetPlayerVehicleSeat
description: Find out which seat a player is in.
tags: ["player", "vehicle"]
---
## Description
Find out which seat a player is in.
| Name | Description |
| -------- | ------------------------------------------------- |
| playerid | The ID of ... | openmultiplayer/web/docs/scripting/functions/GetPlayerVehicleSeat.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerVehicleSeat.md",
"repo_id": "openmultiplayer",
"token_count": 656
} | 291 |
---
title: GetSVarNameAtIndex
description: Retrieve the name of a sVar via the index.
tags: ["server variable", "svar"]
---
## Description
Retrieve the name of a sVar via the index.
| Name | Description |
| ---------------------- | --------------------... | openmultiplayer/web/docs/scripting/functions/GetSVarNameAtIndex.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetSVarNameAtIndex.md",
"repo_id": "openmultiplayer",
"token_count": 385
} | 292 |
---
title: GetVehicleComponentType
description: Find out what type of component a certain ID is.
tags: ["vehicle"]
---
## Description
Find out what type of component a certain ID is.
| Name | Description |
| --------- | -------------------------- |
| component | The component ID to check. |
## R... | openmultiplayer/web/docs/scripting/functions/GetVehicleComponentType.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleComponentType.md",
"repo_id": "openmultiplayer",
"token_count": 467
} | 293 |
---
title: GetVehiclePaintjob
description: Gets the vehicle's paintjob id.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the vehicle's paintjob id.
## Parameters
| Name | Description |
|-----------|------------------------|
| vehicleid | The ID of the vehicle. ... | openmultiplayer/web/docs/scripting/functions/GetVehiclePaintjob.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehiclePaintjob.md",
"repo_id": "openmultiplayer",
"token_count": 279
} | 294 |
---
title: GetVehicleVelocity
description: Get the velocity of a vehicle on the X, Y and Z axes.
tags: ["vehicle"]
---
## Description
Get the velocity of a vehicle on the X, Y and Z axes.
| Name | Description |
| --------- | --------------... | openmultiplayer/web/docs/scripting/functions/GetVehicleVelocity.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleVelocity.md",
"repo_id": "openmultiplayer",
"token_count": 740
} | 295 |
---
title: HideGameTextForPlayer
description: Stop showing a gametext style to a player.
tags: ["player", "gametext"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Stop showing a gametext style to a player.
| Name | Description |
| -----... | openmultiplayer/web/docs/scripting/functions/HideGameTextForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/HideGameTextForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 452
} | 296 |
---
title: IsMenuRowDisabled
description: Checks if a menu row is disabled.
tags: ["menu"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a menu row is disabled.
| Name | Description |
| ----------- | ---------------------------- |
| Menu:menuid | The ID of the menu t... | openmultiplayer/web/docs/scripting/functions/IsMenuRowDisabled.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsMenuRowDisabled.md",
"repo_id": "openmultiplayer",
"token_count": 185
} | 297 |
---
title: IsPlayerInAnyVehicle
description: Check if a player is inside any vehicle (as a driver or passenger).
tags: ["player", "vehicle"]
---
## Description
Check if a player is inside any vehicle (as a driver or passenger).
| Name | Description |
| -------- | ------------------------------... | openmultiplayer/web/docs/scripting/functions/IsPlayerInAnyVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerInAnyVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 413
} | 298 |
---
title: IsPlayerTeleportAllowed
description: Can this player teleport by right-clicking on the map?
tags: ["player"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Can this player teleport by right-clicking on the map?
| Name | Description |
| -------- | ------------... | openmultiplayer/web/docs/scripting/functions/IsPlayerTeleportAllowed.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerTeleportAllowed.md",
"repo_id": "openmultiplayer",
"token_count": 292
} | 299 |
---
title: IsValidPlayer3DTextLabel
description: Checks if a player's 3D text label is valid.
tags: ["player", "3dtextlabel"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a player's 3D text label is valid.
| Name | Description |
| ---------... | openmultiplayer/web/docs/scripting/functions/IsValidPlayer3DTextLabel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsValidPlayer3DTextLabel.md",
"repo_id": "openmultiplayer",
"token_count": 436
} | 300 |
---
title: LimitGlobalChatRadius
description: Set a radius limitation for the chat.
tags: []
---
## Description
Set a radius limitation for the chat. Only players at a certain distance from the player will see their message in the chat. Also changes the distance at which a player can see other players on the map at t... | openmultiplayer/web/docs/scripting/functions/LimitGlobalChatRadius.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/LimitGlobalChatRadius.md",
"repo_id": "openmultiplayer",
"token_count": 348
} | 301 |
---
title: PlayAudioStreamForPlayer
description: Play an 'audio stream' for a player.
tags: ["player"]
---
## Description
Play an 'audio stream' for a player. Normal audio files also work (e.g. MP3).
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayAudioStreamForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayAudioStreamForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 916
} | 302 |
---
title: PlayerTextDrawSetPreviewModel
description: Sets a player textdraw 3D preview sprite of a specified model ID.
tags: ["player", "textdraw", "playertextdraw"]
---
## Description
Sets a player textdraw 3D preview sprite of a specified model ID.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawSetPreviewModel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawSetPreviewModel.md",
"repo_id": "openmultiplayer",
"token_count": 818
} | 303 |
---
title: RemovePlayerMapIcon
description: Removes a map icon that was set earlier for a player using SetPlayerMapIcon.
tags: ["player"]
---
## Description
Removes a map icon that was set earlier for a player using SetPlayerMapIcon.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/RemovePlayerMapIcon.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/RemovePlayerMapIcon.md",
"repo_id": "openmultiplayer",
"token_count": 351
} | 304 |
---
title: SendClientMessagef
description: This function sends a formatted message to a specific player with a chosen color in the chat.
tags: []
---
<VersionWarn version='open.mp beta build 6' />
:::warning
This function was deprecated.
[SendClientMessage](SendClientMessage) function now is built-in with format!
... | openmultiplayer/web/docs/scripting/functions/SendClientMessagef.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SendClientMessagef.md",
"repo_id": "openmultiplayer",
"token_count": 1022
} | 305 |
---
title: SetCameraBehindPlayer
description: Restore the camera to a place behind the player, after using a function like SetPlayerCameraPos.
tags: ["player", "camera"]
---
## Description
Restore the camera to a place behind the player, after using a function like SetPlayerCameraPos.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetCameraBehindPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetCameraBehindPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 247
} | 306 |
---
title: SetObjectsDefaultCameraCol
description: Allows camera collisions with newly created objects to be disabled by default.
tags: ["object", "camera"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Allows camera collisions with newly created objects to be disabled by default.
| Name | Description... | openmultiplayer/web/docs/scripting/functions/SetObjectsDefaultCameraCol.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetObjectsDefaultCameraCol.md",
"repo_id": "openmultiplayer",
"token_count": 561
} | 307 |
---
title: SetPlayerCameraLookAt
description: Set the direction a player's camera looks at.
tags: ["player", "camera"]
---
## Description
Set the direction a player's camera looks at. Generally meant to be used in combination with SetPlayerCameraPos.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetPlayerCameraLookAt.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerCameraLookAt.md",
"repo_id": "openmultiplayer",
"token_count": 962
} | 308 |
---
title: SetPlayerObjectMaterialText
description: Replace the texture of a player object with text.
tags: ["player", "object", "playerobject"]
---
## Description
Replace the texture of a player object with text.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetPlayerObjectMaterialText.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerObjectMaterialText.md",
"repo_id": "openmultiplayer",
"token_count": 1526
} | 309 |
---
title: SetPlayerSkin
description: Set the skin of a player.
tags: ["player"]
---
## Description
Set the skin of a player. A player's skin is their character model.
| Name | Description |
| -------- | ----------------------------------------------------- |
| playerid ... | openmultiplayer/web/docs/scripting/functions/SetPlayerSkin.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerSkin.md",
"repo_id": "openmultiplayer",
"token_count": 1184
} | 310 |
---
title: SetTimer
description: Sets a 'timer' to call a function after some time.
tags: ["timer"]
---
## Description
Sets a 'timer' to call a function after some time. Can be set to repeat.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/SetTimer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetTimer.md",
"repo_id": "openmultiplayer",
"token_count": 930
} | 311 |
---
title: SetVehicleSpawnInfo
description: Adjusts vehicle model, spawn location, colours, respawn delay and interior.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Adjusts vehicle model, spawn location, colours, respawn delay and interior.
## Parameters
| Name | Desc... | openmultiplayer/web/docs/scripting/functions/SetVehicleSpawnInfo.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetVehicleSpawnInfo.md",
"repo_id": "openmultiplayer",
"token_count": 787
} | 312 |
---
title: StartRecordingPlayback
description: This will run a .rec file which has to be saved in the npcmodes/recordings folder. These files allow the NPC to follow certain actions. Their actions can be recorded manually. For more information, check the related functions.
tags: []
---
## Description
This will run a ... | openmultiplayer/web/docs/scripting/functions/StartRecordingPlayback.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/StartRecordingPlayback.md",
"repo_id": "openmultiplayer",
"token_count": 348
} | 313 |
---
title: TextDrawSetProportional
description: Appears to scale text spacing to a proportional ratio.
tags: ["textdraw"]
---
## Description
Appears to scale text spacing to a proportional ratio. Useful when using TextDrawLetterSize to ensure the text has even character spacing.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/TextDrawSetProportional.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawSetProportional.md",
"repo_id": "openmultiplayer",
"token_count": 796
} | 314 |
---
title: ToggleVehicleSirenEnabled
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/ToggleVehicleSirenEnabled.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ToggleVehicleSirenEnabled.md",
"repo_id": "openmultiplayer",
"token_count": 240
} | 315 |
---
title: asin
description: Get the inversed value of a sine in degrees.
tags: ["math"]
---
<LowercaseNote />
## Description
Get the inversed value of a sine in degrees. In trigonometrics, arc sine is the inverse operation of sine.
| Name | Description |
| ----... | openmultiplayer/web/docs/scripting/functions/asin.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/asin.md",
"repo_id": "openmultiplayer",
"token_count": 427
} | 316 |
---
title: db_get_result_mem_handle
description: Gets the memory handle for a SQLite database result set that was allocated with `db_query`.
keywords:
- sqlite
---
<LowercaseNote />
<VersionWarn version='SA-MP 0.3.7 R1' />
## Description
The function gets the memory handle for a SQLite database result set that wa... | openmultiplayer/web/docs/scripting/functions/db_get_result_mem_handle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/db_get_result_mem_handle.md",
"repo_id": "openmultiplayer",
"token_count": 1166
} | 317 |
---
title: fexist
description: Checks if a specific file exists in the scriptfiles directory.
tags: ["file management"]
---
<LowercaseNote />
## Description
Checks if a specific file exists in the scriptfiles directory.
| Name | Description |
| ---------------- | --------------------- |
| cons... | openmultiplayer/web/docs/scripting/functions/fexist.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/fexist.md",
"repo_id": "openmultiplayer",
"token_count": 585
} | 318 |
---
title: floatsin
description: Get the sine from a given angle.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
Get the sine from a given angle. The input angle may be in radians, degrees or grades.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/floatsin.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/floatsin.md",
"repo_id": "openmultiplayer",
"token_count": 711
} | 319 |
---
title: funcidx
description: This function returns the ID of a public function by its name.
tags: ["core"]
---
<LowercaseNote />
## Description
This function returns the ID of a public function by its name.
| Name | Description |
| ------------ | --------------------... | openmultiplayer/web/docs/scripting/functions/funcidx.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/funcidx.md",
"repo_id": "openmultiplayer",
"token_count": 270
} | 320 |
---
title: print
description: Prints a string to the server console (not in-game chat) and logs (log.txt).
tags: ["console"]
---
<LowercaseNote />
## Description
Prints a string to the server console (not in-game chat) and logs (log.txt).
| Name | Description |
| -----------------... | openmultiplayer/web/docs/scripting/functions/print.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/print.md",
"repo_id": "openmultiplayer",
"token_count": 400
} | 321 |
---
title: strlen
description: Get the length of a string.
tags: ["string"]
---
<LowercaseNote />
## Description
Get the length of a string.
| Name | Description |
| -------------- | -------------------------------- |
| const string[] | The string to get the length of. |
## Returns
... | openmultiplayer/web/docs/scripting/functions/strlen.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/strlen.md",
"repo_id": "openmultiplayer",
"token_count": 299
} | 322 |
---
title: Damage Status
description: Information about vehicle damage status and sample code.
---
:::note
Information about vehicle damage status used by [GetVehicleDamageStatus](../functions/GetVehicleDamageStatus) and [UpdateVehicleDamageStatus](../functions/UpdateVehicleDamageStatus).
:::
Vehicle damage is stor... | openmultiplayer/web/docs/scripting/resources/damagestatus.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/damagestatus.md",
"repo_id": "openmultiplayer",
"token_count": 1089
} | 323 |
---
title: Player States
description: A list of all the player states used by GetPlayerState function or OnPlayerStateChange callback.
tags: ["player"]
sidebar_label: Player States
---
This page compiles the list of all the player states used by [GetPlayerState](../functions/GetPlayerState) function or [OnPlayerStateC... | openmultiplayer/web/docs/scripting/resources/playerstates.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/playerstates.md",
"repo_id": "openmultiplayer",
"token_count": 760
} | 324 |
---
title: Weapon States
description: Weapon State Constants.
---
The following weapon states are available, used by [GetPlayerWeaponState](../functions/GetPlayerWeaponState) function:
| ID | Definition | Description ... | openmultiplayer/web/docs/scripting/resources/weaponstates.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/weaponstates.md",
"repo_id": "openmultiplayer",
"token_count": 526
} | 325 |
---
title: OnVehicleSpawn
description: يتم إستدعاء هذا الكال باك عند رسبنت السبارة
tags: ["vehicle"]
---
<VersionWarn name='callback' version='SA-MP 0.3.7' />
<div dir="rtl" style={{ textAlign: "right" }}>
:::warning
هذا الكال باك يتم إستدعائه فقط عندم يتم إعادة رسبنت السيارة . CreateVehicle و AddStaticVehicle(... | openmultiplayer/web/docs/translations/ar/scripting/callbacks/OnVehicleSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/ar/scripting/callbacks/OnVehicleSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 972
} | 326 |
---
title: OnFilterScriptExit
description: Ovaj callback se poziva kada se filterskripta stopirala.
tags: []
---
## Deskripcija
Ovaj callback se poziva kada se filterskripta stopirala. Poziva se samo unutar filterskripte u kojoj se poziva stopiranje.
## Primjeri
```c
public OnFilterScriptExit()
{
print("\n-----... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnFilterScriptExit.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnFilterScriptExit.md",
"repo_id": "openmultiplayer",
"token_count": 170
} | 327 |
---
title: OnPlayerDisconnect
description: Ovaj callback je pozvan kada se igrač diskonektuje sa servera.
tags: ["player"]
---
## Deskripcija
Ovaj callback je pozvan kada se igrač diskonektuje sa servera.
| Ime | Deskripcija |
| -------- | ------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerDisconnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerDisconnect.md",
"repo_id": "openmultiplayer",
"token_count": 750
} | 328 |
---
title: OnPlayerPickUpPickup
description: Pozvano kada igrač pokupi pickup kreiran funkcijom CreatePickup.
tags: ["player"]
---
## Deskripcija
Pozvano kada igrač pokupi pickup kreiran funkcijom CreatePickup.
| Ime | Deskripcija |
| -------- | -----------------------------... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerPickUpPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerPickUpPickup.md",
"repo_id": "openmultiplayer",
"token_count": 488
} | 329 |
---
title: OnRecordingPlaybackEnd
description: Ovaj callback je pozvan kada snimljeni fajl koji je reproduciran sa "NPCStartRecordingPlayback" došao do kraja.
tags: []
---
## Deskripcija
Ovaj callback je pozvan kada snimljeni fajl koji je reproduciran sa "NPCStartRecordingPlayback" došao do kraja.
## Primjeri
```c
... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnRecordingPlaybackEnd.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnRecordingPlaybackEnd.md",
"repo_id": "openmultiplayer",
"token_count": 293
} | 330 |
---
title: AddSimpleModel
description: Dodaje novi prilagođen/custom prost model objekta za preuzimanje.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.DL R1 i ne radi u nižim verzijama!
:::
## Deskripcija
Dodaje novi prilagođen/custom prost model objekta za preuzimanje. Fajlovi modela će biti pohranje... | openmultiplayer/web/docs/translations/bs/scripting/functions/AddSimpleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AddSimpleModel.md",
"repo_id": "openmultiplayer",
"token_count": 1015
} | 331 |
---
title: AttachObjectToPlayer
description: Prikvači objekat za igrača.
tags: ["player"]
---
## Deskripcija
Prikvači objekat za igrača.
| Ime | Deskripcija |
| ------------- | ------------------------------------------------------------------ |
| obje... | openmultiplayer/web/docs/translations/bs/scripting/functions/AttachObjectToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AttachObjectToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 1169
} | 332 |
---
title: ConnectNPC
description: Konektuj NPC-a na server.
tags: ["npc"]
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.a i ne radi u nižim verzijama!
:::
## Deskripcija
Konektuj NPC-a na server.
| Ime | Deskripcija |
| -------- | ---... | openmultiplayer/web/docs/translations/bs/scripting/functions/ConnectNPC.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/ConnectNPC.md",
"repo_id": "openmultiplayer",
"token_count": 486
} | 333 |
---
title: DestroyActor
description: Uništi aktora koji je kreiran sa CreateActor.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 i ne radi u nižim verzijama!
:::
## Deskripcija
Uništi aktora koji je kreiran sa CreateActor.
| Ime | Deskripcija |
| ------- |... | openmultiplayer/web/docs/translations/bs/scripting/functions/DestroyActor.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/DestroyActor.md",
"repo_id": "openmultiplayer",
"token_count": 358
} | 334 |
---
title: EditPlayerObject
description: Omogućuje igračima da uređuju player objekat (položaj i rotacija) s GUI-jem i mišem.
tags: ["player"]
---
## Deskripcija
Omogućuje igračima da uređuju player objekat (položaj i rotacija) s GUI-jem i mišem.
| Ime | Deskripcija |
| ----... | openmultiplayer/web/docs/translations/bs/scripting/functions/EditPlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/EditPlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 691
} | 335 |
---
title: GangZoneFlashForPlayer
description: Pravi gangzone bljesak za igrača.
tags: ["player", "gangzone"]
---
## Deskripcija
Pravi gangzone bljesak za igrača.
| Ime | Deskripcija |
| ---------- | -----------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/GangZoneFlashForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GangZoneFlashForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 880
} | 336 |
---
title: GetGravity
description: Dobij trenutno postavljenu gravitaciju servera.
tags: []
---
## Deskripcija
Dobij trenutno postavljenu gravitaciju servera.
## Primjeri
```c
#if !defined GetGravity
native Float:GetGravity();
#endif
printf("Treutna gravitacija servera: %f", GetGravity());
```
## Bilješke
::... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetGravity.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetGravity.md",
"repo_id": "openmultiplayer",
"token_count": 228
} | 337 |
---
title: GetPlayerState
description: Dobij trenutno stanje igrača.
tags: ["player"]
---
## Deskripcija
Dobij trenutno stanje igrača.
| Ime | Deskripcija |
| -------- | ------------------------------------ |
| playerid | ID igrača za dobiti trenutno stanje. |
## Returns
Trenutno stan... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerState.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetPlayerState.md",
"repo_id": "openmultiplayer",
"token_count": 423
} | 338 |
---
title: GetSVarFloat
description: Dobija float vrijednost server varijable.
tags: []
---
:::warning
Ova funkcija je dodana u SA-MP 0.3.7 R2 i ne radi u nižim verzijama!
:::
## Deskripcija
Dobija float vrijednost server varijable.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetSVarFloat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetSVarFloat.md",
"repo_id": "openmultiplayer",
"token_count": 531
} | 339 |
---
title: GetVehicleModel
description: Dobij ID modela vozila.
tags: ["vehicle"]
---
## Deskripcija
Dobij ID modela vozila.
| Ime | Deskripcija |
| --------- | -------------------------- |
| vehicleid | ID vozila za dobiti Model. |
## Returns
ID modela vozila, ili 0 ako vozilo ne postoji.
##... | openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/GetVehicleModel.md",
"repo_id": "openmultiplayer",
"token_count": 371
} | 340 |
---
title: HTTP
description: Šalje navojni HTTP zahtjev.
tags: []
---
## Deskripcija
Šalje navojni HTTP zahtjev.
| Ime | Deskripcija |
| ---------- | -------------------------------------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/HTTP.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/HTTP.md",
"repo_id": "openmultiplayer",
"token_count": 1583
} | 341 |
---
title: IsPlayerInVehicle
description: Provjerava da li je igrač u određenom vozilu.
tags: ["player", "vehicle"]
---
## Deskripcija
Provjerava da li je igrač u određenom vozilu.
| Ime | Deskripcija |
| --------- | ---------------------------------- |
| playerid | ID igrača. ... | openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerInVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/IsPlayerInVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 518
} | 342 |
---
title: LinkVehicleToInterior
description: Povezuje vozilo za enterijer.
tags: ["vehicle"]
---
## Deskripcija
Povezuje vozilo za enterijer. Vozila mogu biti vidljiva samo igračima u istom enterijeru (SetPlayerInterior).
| Ime | Deskripcija |
| ---------- | ---------... | openmultiplayer/web/docs/translations/bs/scripting/functions/LinkVehicleToInterior.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/LinkVehicleToInterior.md",
"repo_id": "openmultiplayer",
"token_count": 418
} | 343 |
---
title: PlayerSpectatePlayer
description: Daje mogućnost igraču da spectate-a (nadgleda) drugog igrača.
tags: ["player"]
---
## Deskripcija
Daje mogućnost igraču da spectate-a (nadgleda) drugog igrača.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerSpectatePlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerSpectatePlayer.md",
"repo_id": "openmultiplayer",
"token_count": 754
} | 344 |
---
title: PlayerTextDrawSetShadow
description: Dodaje sjenku na donju desnu stranu teksta u player-textdrawu.
tags: ["player", "textdraw", "playertextdraw"]
---
## Deskripcija
Dodaje sjenku na donju desnu stranu teksta u player-textdrawu. Font sjene odgovara fontu teksta.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawSetShadow.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/PlayerTextDrawSetShadow.md",
"repo_id": "openmultiplayer",
"token_count": 966
} | 345 |
---
title: SelectObject
description: Prikaži miš i dozvoli igraču da selektuje objekat.
tags: []
---
## Deskripcija
Prikaži miš i dozvoli igraču da selektuje objekat. OnPlayerSelectObject je pozvan kada igrač selektuje objekat.
| Ime | Deskripcija |
| -------- | --------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/SelectObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SelectObject.md",
"repo_id": "openmultiplayer",
"token_count": 514
} | 346 |
---
title: SetGameModeText
description: Postavi ime gamemode-a, koje se pojavljuje u pretraživaču servera (server listi).
tags: []
---
## Deskripcija
Postavi ime gamemode-a, koje se pojavljuje u pretraživaču servera (server listi).
| Ime | Deskripcija |
| -------- | ----------------------------... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetGameModeText.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetGameModeText.md",
"repo_id": "openmultiplayer",
"token_count": 252
} | 347 |
---
title: SetPlayerArmour
description: Postavi nivo armora (pancira) igrača.
tags: ["player"]
---
## Deskripcija
Postavi nivo armora (pancira) igrača.
| Ime | Deskripcija |
| ---------... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerArmour.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerArmour.md",
"repo_id": "openmultiplayer",
"token_count": 730
} | 348 |
---
title: SetPlayerObjectMaterial
description: Zamijeni teksturu player-objekta sa teksturom drugog modela u igri.
tags: ["player"]
---
## Deskripcija
Zamijeni teksturu player-objekta sa teksturom drugog modela u igri.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerObjectMaterial.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/SetPlayerObjectMaterial.md",
"repo_id": "openmultiplayer",
"token_count": 1532
} | 349 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.