text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="640" height="480" viewBox="0 0 640 480">
<path d="M0-.05h640v480.1H0z" fill="#cc0001"/>
<path d="M0 445.757h640v34.293H0z" fill="#fff" id="a"/>
<use xlink:href="#a" transform="translate(0 -68.586)" width="100%" height="100%"... | odota/web/public/assets/images/flags/my.svg/0 | {
"file_path": "odota/web/public/assets/images/flags/my.svg",
"repo_id": "odota",
"token_count": 732
} | 245 |
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480">
<g fill-rule="evenodd">
<path fill="#fff" d="M212.875 0h213.95v480h-213.95z"/>
<path fill="red" d="M0 0h212.875v480H0zM425.163 0H640v480H425.162z"/>
</g>
</svg>
| odota/web/public/assets/images/flags/pe.svg/0 | {
"file_path": "odota/web/public/assets/images/flags/pe.svg",
"repo_id": "odota",
"token_count": 127
} | 246 |
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480">
<defs>
<clipPath id="a">
<path fill-opacity=".67" d="M-85.334 0h682.67v512h-682.67z"/>
</clipPath>
</defs>
<g clip-path="url(#a)" fill-rule="evenodd" transform="translate(80.001) scale(.9375)">
<path fill="#4... | odota/web/public/assets/images/flags/so.svg/0 | {
"file_path": "odota/web/public/assets/images/flags/so.svg",
"repo_id": "odota",
"token_count": 268
} | 247 |
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://... | odota/web/public/assets/images/loot.svg/0 | {
"file_path": "odota/web/public/assets/images/loot.svg",
"repo_id": "odota",
"token_count": 1039
} | 248 |
import querystring from 'querystring';
import transformMatch from './transformMatch';
import transformBenchmarks from './transformBenchmarks';
import transformCounts from './transformCounts';
import transformHistograms from './transformHistograms';
import transformTrends from './transformTrends';
import transformRankin... | odota/web/src/actions/index.js/0 | {
"file_path": "odota/web/src/actions/index.js",
"repo_id": "odota",
"token_count": 2581
} | 249 |
import React from 'react';
import styled from 'styled-components';
import PropTypes from 'prop-types';
import constants from '../constants';
const Header = styled.div`
font-size: ${constants.fontSizeCommon};
color: ${constants.colorBlue};
background-color: rgba(102, 187, 255, 0.2);
.header-content {
hei... | odota/web/src/components/AghsTooltip/AghsTooltipHeader.jsx/0 | {
"file_path": "odota/web/src/components/AghsTooltip/AghsTooltipHeader.jsx",
"repo_id": "odota",
"token_count": 556
} | 250 |
import CheeseCircle from './CheeseCircle';
export default CheeseCircle;
| odota/web/src/components/Cheese/index.js/0 | {
"file_path": "odota/web/src/components/Cheese/index.js",
"repo_id": "odota",
"token_count": 21
} | 251 |
import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import {
displayHeroId,
formatSeconds,
IMAGESIZE_ENUM,
}
from '../../utility';
import Table from '../Table';
import { IconRadiant, IconDire, IconTrophy } from '../Icons'... | odota/web/src/components/Explorer/ExplorerOutputSection.jsx/0 | {
"file_path": "odota/web/src/components/Explorer/ExplorerOutputSection.jsx",
"repo_id": "odota",
"token_count": 2755
} | 252 |
import React from 'react';
import Helmet from 'react-helmet';
import styled from 'styled-components';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import constants from '../constants';
const Styled = styled.div`
.container {
display: flex;
justify-content: center;
flex-direc... | odota/web/src/components/FourOhFour/FourOhFour.jsx/0 | {
"file_path": "odota/web/src/components/FourOhFour/FourOhFour.jsx",
"repo_id": "odota",
"token_count": 685
} | 253 |
import React from 'react';
import { shape, bool, string, number } from 'prop-types';
import styled from 'styled-components';
import constants from '../constants';
const Wrapper = styled.div`
flex: 1 1 0;
padding: 0 16px;
display: flex;
align-items: center;
&:first-child {
padding-left: 0;
}
&:last... | odota/web/src/components/Hero/AttributeMain.jsx/0 | {
"file_path": "odota/web/src/components/Hero/AttributeMain.jsx",
"repo_id": "odota",
"token_count": 867
} | 254 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import FlatButton from 'material-ui/FlatButton';
import Helmet from 'react-helmet';
import styled from 'styled-components';
import { heroSelector } from '../../reducers/selectors';
import Heading from '../Heading';
imp... | odota/web/src/components/Hero/index.jsx/0 | {
"file_path": "odota/web/src/components/Hero/index.jsx",
"repo_id": "odota",
"token_count": 2385
} | 255 |
import React from 'react';
import CheckCircle from 'material-ui/svg-icons/action/check-circle';
export default props => (
<CheckCircle viewBox="2 2 20 20" {...props} />
);
| odota/web/src/components/Icons/CheckCircle.jsx/0 | {
"file_path": "odota/web/src/components/Icons/CheckCircle.jsx",
"repo_id": "odota",
"token_count": 58
} | 256 |
import React from 'react';
import styled from 'styled-components';
const icon = props => (
<svg {...props} viewBox="0 0 300 300">
<ellipse cx="148.6" cy="65.5" rx="35" ry="64.4" />
<path
d="M299.3,212.1c0,0-27.5-6.1-27.5-21.5c-0.5-15.4,8.9-22.4,8.9-22.4s-0.9-1.9-0.5-4.2c0.5-2.3,7.9-2.3,7.9-2.3
s-... | odota/web/src/components/Icons/Radiant.jsx/0 | {
"file_path": "odota/web/src/components/Icons/Radiant.jsx",
"repo_id": "odota",
"token_count": 2613
} | 257 |
import BuildingMap from './BuildingMap';
export default BuildingMap;
| odota/web/src/components/Match/BuildingMap/index.js/0 | {
"file_path": "odota/web/src/components/Match/BuildingMap/index.js",
"repo_id": "odota",
"token_count": 17
} | 258 |
import Overview from './Overview';
export default Overview;
| odota/web/src/components/Match/Overview/index.js/0 | {
"file_path": "odota/web/src/components/Match/Overview/index.js",
"repo_id": "odota",
"token_count": 14
} | 259 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import Helmet from 'react-helmet';
import heroes from 'dotaconstants/build/heroes.json';
import styled from 'styled-components';
import { transformations, subTextStyle, rankTierToString } from '../../utility';
import {... | odota/web/src/components/Matches/index.jsx/0 | {
"file_path": "odota/web/src/components/Matches/index.jsx",
"repo_id": "odota",
"token_count": 2253
} | 260 |
import React from 'react';
import PropTypes from 'prop-types';
import ReactTooltip from 'react-tooltip';
import constants from '../../../constants';
import { getDOY, getLocalizedWeekdayStrings, getLocalizedMonthStrings } from './../../../../utility/index';
import Table from './../../../Table/Table';
import playerMatche... | odota/web/src/components/Player/Pages/Activity/ActivityCalendar.jsx/0 | {
"file_path": "odota/web/src/components/Player/Pages/Activity/ActivityCalendar.jsx",
"repo_id": "odota",
"token_count": 3820
} | 261 |
import React from 'react';
import { transformations } from '../../../../utility';
import { TableLink } from '../../../Table';
const avatarMatches = (playerId, strings) => [{
displayName: strings.th_avatar,
field: 'last_played',
displayFn: transformations.player,
sortFn: true,
}, {
displayName: strings.th_gam... | odota/web/src/components/Player/Pages/Peers/playerPeersColumns.jsx/0 | {
"file_path": "odota/web/src/components/Player/Pages/Peers/playerPeersColumns.jsx",
"repo_id": "odota",
"token_count": 779
} | 262 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import querystring from 'querystring';
import styled from 'styled-components';
import heroes from 'dotaconstants/build/heroes.json';
import patch from 'dotaconstants/build... | odota/web/src/components/Player/TableFilterForm/index.jsx/0 | {
"file_path": "odota/web/src/components/Player/TableFilterForm/index.jsx",
"repo_id": "odota",
"token_count": 6384
} | 263 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { withRouter } from 'react-router-dom';
import debounce from 'lodash/debounce';
import TextField from 'material-ui/TextField';
import querystring from 'querystring';
import { getSearchResultAndPros, setSearchQue... | odota/web/src/components/Search/SearchForm.jsx/0 | {
"file_path": "odota/web/src/components/Search/SearchForm.jsx",
"repo_id": "odota",
"token_count": 1138
} | 264 |
import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import Helmet from 'react-helmet';
import CountUp from 'react-countup';
import { LazyLog } from 'react-lazylog';
import { abbreviateNumber } from '../../utility';
import Table from '../Table';
import config from '../..... | odota/web/src/components/Status/Status.jsx/0 | {
"file_path": "odota/web/src/components/Status/Status.jsx",
"repo_id": "odota",
"token_count": 2332
} | 265 |
import React from 'react';
import styled from 'styled-components';
import propTypes from 'prop-types';
import constants from '../constants';
const Wrapper = styled.div`
display: flex;
justify-content: center;
align-items: center;
position: relative;
background: linear-gradient(to right,rgba(0, 0, 0, 0.05), ... | odota/web/src/components/TalentsTooltip/LevelGroup.jsx/0 | {
"file_path": "odota/web/src/components/TalentsTooltip/LevelGroup.jsx",
"repo_id": "odota",
"token_count": 595
} | 266 |
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import {
XAxis,
YAxis,
Tooltip,
Bar,
BarChart,
CartesianGrid,
ResponsiveContainer,
} from 'recharts';
import Heading from '../../Heading';
import constants from '../../constants';
import { StyledHolder } ... | odota/web/src/components/Visualizations/Graph/StackedBarGraph.jsx/0 | {
"file_path": "odota/web/src/components/Visualizations/Graph/StackedBarGraph.jsx",
"repo_id": "odota",
"token_count": 1240
} | 267 |
export default {
GITHUB_REPO: 'odota/web',
DISCORD_LINK: 'opendota',
VITE_API_HOST: import.meta.env.VITE_API_HOST || 'https://api.opendota.com',
VITE_IMAGE_CDN: import.meta.env.VITE_IMAGE_CDN || 'https://cdn.cloudflare.steamstatic.com',
VITE_ENABLE_RIVALRY: import.meta.env.VITE_ENABLE_RIVALRY,
V... | odota/web/src/config.ts/0 | {
"file_path": "odota/web/src/config.ts",
"repo_id": "odota",
"token_count": 305
} | 268 |
export const langs = [
{
value: 'en-US',
native: 'English (US)',
}, /* {
value: 'bg-BG',
native: 'български bǎlgarski',
}, {
value: 'cs-CZ',
native: 'Čeština',
}, */ {
value: 'de-DE',
native: 'Deutsch',
}, {
value: 'es-ES',
native: 'Español',
}, /* {
value: 'es-PE... | odota/web/src/lang/index.js/0 | {
"file_path": "odota/web/src/lang/index.js",
"repo_id": "odota",
"token_count": 768
} | 269 |
{
"yes": "evet",
"no": "hayır",
"abbr_thousand": "k",
"abbr_million": "m",
"abbr_billion": "m",
"abbr_trillion": "t",
"abbr_quadrillion": "q",
"abbr_not_available": "YOK",
"abbr_pick": "P",
"abbr_win": "W",
"abbr_number": "Hayır.",
"analysis_eff": "Kulvar Verimliliği",
"analysis_farm_drought":... | odota/web/src/lang/tr-TR.json/0 | {
"file_path": "odota/web/src/lang/tr-TR.json",
"repo_id": "odota",
"token_count": 21256
} | 270 |
{
"ranks": {
"command": "SELECT",
"rowCount": 36,
"oid": null,
"rows": [
{
"bin": 11,
"bin_name": 11,
"count": 280,
"cumulative_sum": 280
},
{
"bin": 12,
"bin_name": 12,
"count": 2907,
"cumulative_sum": 3187
},
{
"bin": 13,
"bin_name": 13,
"count": 108... | odota/web/testcafe/cachedAjax/distributions_.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/distributions_.json",
"repo_id": "odota",
"token_count": 24060
} | 271 |
[
{
"account_id": 113800818,
"last_played": 1531558441,
"win": 1007,
"games": 1559,
"with_win": 961,
"with_games": 1468,
"against_win": 46,
"against_games": 91,
"with_gpm_sum": 544505,
"with_xpm_sum": 599801,
"personaname": "OMG",
"last_login": null,
"avatar": "https://cdn.cloudflare.steamsta... | odota/web/testcafe/cachedAjax/players_101695162_peers.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/players_101695162_peers.json",
"repo_id": "odota",
"token_count": 53402
} | 272 |
[
{
"match_id": "4095792688",
"start_time": "1535868469",
"hero_id": "70",
"score": "241"
},
{
"match_id": "4098510314",
"start_time": "1535990564",
"hero_id": "51",
"score": "192"
},
{
"match_id": "4109475072",
"start_time": "1536511504",
"hero_id": "32",
"score": "190"
},
{
"match_id"... | odota/web/testcafe/cachedAjax/records_denies_.json/0 | {
"file_path": "odota/web/testcafe/cachedAjax/records_denies_.json",
"repo_id": "odota",
"token_count": 5480
} | 273 |
import fs from 'node:fs/promises'
import path from 'node:path'
import url from 'node:url'
import { createRequire } from 'node:module'
// same usage inside defineConfig
const WRONG_CODE = `import { bpfrpt_proptype_WindowScroller } from "../WindowScroller.js";`
function reactVirtualized() {
return {
name: 'flat:... | odota/web/vite.config.js/0 | {
"file_path": "odota/web/vite.config.js",
"repo_id": "odota",
"token_count": 553
} | 274 |
package pawndex
type Repository interface {
GetAll() ([]Package, error)
Get(string) (Package, bool, error)
Set(Package) error
MarkForScrape(string) error
GetMarked() ([]string, error)
}
| openmultiplayer/web/app/resources/pawndex/repository.go/0 | {
"file_path": "openmultiplayer/web/app/resources/pawndex/repository.go",
"repo_id": "openmultiplayer",
"token_count": 67
} | 275 |
package authentication
import (
"bytes"
"context"
"encoding/json"
"io/ioutil"
"net/http"
"time"
"github.com/bwmarrin/discordgo"
"github.com/patrickmn/go-cache"
"github.com/pkg/errors"
"github.com/thanhpk/randstr"
"golang.org/x/oauth2"
"github.com/openmultiplayer/web/app/resources/user"
"github.com/openm... | openmultiplayer/web/app/services/authentication/discord.go/0 | {
"file_path": "openmultiplayer/web/app/services/authentication/discord.go",
"repo_id": "openmultiplayer",
"token_count": 1373
} | 276 |
package discord
import (
"net/http"
"github.com/go-chi/chi"
"github.com/pkg/errors"
"github.com/openmultiplayer/web/app/services/authentication"
"github.com/openmultiplayer/web/internal/web"
)
type service struct {
auth *authentication.State
oa2 *authentication.DiscordProvider
}
func New(auth *authenticati... | openmultiplayer/web/app/transports/api/auth/discord/api.go/0 | {
"file_path": "openmultiplayer/web/app/transports/api/auth/discord/api.go",
"repo_id": "openmultiplayer",
"token_count": 477
} | 277 |
package servers
import (
"net/http"
"strconv"
"time"
"github.com/pkg/errors"
"github.com/openmultiplayer/web/internal/web"
)
func (s *service) gencache(w http.ResponseWriter, r *http.Request) {
queries := r.URL.Query()
since, err := strconv.Atoi(queries.Get("activeSince"))
if err != nil {
since = 3
}
e... | openmultiplayer/web/app/transports/api/servers/h_gencache.go/0 | {
"file_path": "openmultiplayer/web/app/transports/api/servers/h_gencache.go",
"repo_id": "openmultiplayer",
"token_count": 295
} | 278 |
---
title: OnFilterScriptInit
description: This callback is called when a filterscript is initialized (loaded).
tags: []
---
## Description
This callback is called when a filterscript is initialized (loaded). It is only called inside the filterscript which is starting.
## Examples
```c
public OnFilterScriptInit()
{... | openmultiplayer/web/docs/scripting/callbacks/OnFilterScriptInit.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnFilterScriptInit.md",
"repo_id": "openmultiplayer",
"token_count": 232
} | 279 |
---
title: OnPlayerClickPlayer
description: This callback is called when a player double-clicks on a player on the scoreboard.
tags: ["player"]
---
## Description
This callback is called when a player double-clicks on a player on the scoreboard.
| Name | Description ... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerClickPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerClickPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 517
} | 280 |
---
title: OnPlayerExitedMenu
description: This callback is called when a player exits a menu.
tags: ["player", "menu"]
---
## Description
This callback is called when a player exits a menu.
| Name | Description |
| -------- | ----------------------------------------- |
| playerid |... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerExitedMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerExitedMenu.md",
"repo_id": "openmultiplayer",
"token_count": 316
} | 281 |
---
title: OnPlayerRequestDownload
description: This callback is called when a player request for custom model downloads.
tags: ["player"]
---
<VersionWarn name='callback' version='SA-MP 0.3.DL R1' />
## Description
This callback is called when a player request for custom model downloads.
| Name | ... | openmultiplayer/web/docs/scripting/callbacks/OnPlayerRequestDownload.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerRequestDownload.md",
"repo_id": "openmultiplayer",
"token_count": 762
} | 282 |
---
title: OnTrailerUpdate
description: This callback is called when a player sent a trailer update.
tags: ["vehicle"]
---
## Description
This callback is called when a player sent a trailer update.
| Name | Description |
| --------- | -----------------------------------------... | openmultiplayer/web/docs/scripting/callbacks/OnTrailerUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/callbacks/OnTrailerUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 532
} | 283 |
---
title: AddSimpleModel
description: Adds a new custom simple object model for download.
tags: ["custom model", "simple model"]
---
<VersionWarn version='SA-MP 0.3.DL R1' />
## Description
Adds a new custom simple object model for download. The model files will be stored in player's Documents\GTA San Andreas User ... | openmultiplayer/web/docs/scripting/functions/AddSimpleModel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/AddSimpleModel.md",
"repo_id": "openmultiplayer",
"token_count": 950
} | 284 |
---
title: Attach3DTextLabelToPlayer
description: Attach a 3D text label to a player.
tags: ["player", "3dtextlabel"]
---
## Description
Attach a 3D text label to a player.
| Name | Description |
| ------------- | ------------------------------------... | openmultiplayer/web/docs/scripting/functions/Attach3DTextLabelToPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/Attach3DTextLabelToPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 756
} | 285 |
---
title: BlockIpAddress
description: Blocks an IP address from further communication with the server for a set amount of time (with wildcards allowed).
tags: ["ip address"]
---
## Description
Blocks an IP address from further communication with the server for a set amount of time (with wildcards allowed). Players t... | openmultiplayer/web/docs/scripting/functions/BlockIpAddress.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/BlockIpAddress.md",
"repo_id": "openmultiplayer",
"token_count": 683
} | 286 |
---
title: CreateActor
description: Create a static 'actor' in the world.
tags: ["actor"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Create a static 'actor' in the world. These 'actors' are like NPCs, however they have limited functionality. They do not take up server player slots.
| Name | Des... | openmultiplayer/web/docs/scripting/functions/CreateActor.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/CreateActor.md",
"repo_id": "openmultiplayer",
"token_count": 1172
} | 287 |
---
title: DestroyActor
description: Destroy an actor which was created with CreateActor.
tags: ["actor"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Destroy an actor which was created with CreateActor.
| Name | Description |
| ------- | -----------------... | openmultiplayer/web/docs/scripting/functions/DestroyActor.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/DestroyActor.md",
"repo_id": "openmultiplayer",
"token_count": 296
} | 288 |
---
title: EditObject
description: Allows a player to edit an object (position and rotation) using their mouse on a GUI (Graphical User Interface).
tags: []
---
## Description
Allows a player to edit an object (position and rotation) using their mouse on a GUI (Graphical User Interface).
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/EditObject.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/EditObject.md",
"repo_id": "openmultiplayer",
"token_count": 541
} | 289 |
---
title: GameTextForPlayer
description: Shows 'game text' (on-screen text) for a certain length of time for a specific player.
tags: ["player", "gametext"]
---
## Description
Shows 'game text' (on-screen text) for a certain length of time for a specific player.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GameTextForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GameTextForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 888
} | 290 |
---
title: Get3DTextLabelColour
description: Gets the 3D text label colour.
tags: ["3dtextlabel"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the 3D text label colour.
| Name | Description |
| ------------- | --------------------------------------... | openmultiplayer/web/docs/scripting/functions/Get3DTextLabelColour.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/Get3DTextLabelColour.md",
"repo_id": "openmultiplayer",
"token_count": 297
} | 291 |
---
title: GetAvailableClasses
description: Get the number of classes defined.
tags: ["class"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the number of classes defined.
## Examples
```c
printf("Available classes: %d", GetAvailableClasses());
```
## Related Functions
- [AddPlayerClass](AddPl... | openmultiplayer/web/docs/scripting/functions/GetAvailableClasses.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetAvailableClasses.md",
"repo_id": "openmultiplayer",
"token_count": 144
} | 292 |
---
title: GetModeRestartTime
description: Gets the delay between loading main scripts, in seconds.
tags: []
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the delay between loading main scripts, in seconds.
## Return Values
Returns the delay as a float value.
## Examples
```c
SetModeRestartTi... | openmultiplayer/web/docs/scripting/functions/GetModeRestartTime.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetModeRestartTime.md",
"repo_id": "openmultiplayer",
"token_count": 170
} | 293 |
---
title: GetObjectType
description: Get the type of an object. (global or player)
tags: ["object"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the type of an object. (global or player)
| Name | Description |
|----------|----------------------------------------... | openmultiplayer/web/docs/scripting/functions/GetObjectType.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetObjectType.md",
"repo_id": "openmultiplayer",
"token_count": 403
} | 294 |
---
title: GetPlayer3DTextLabelDrawDistance
description: Gets the player's 3D text label draw distance.
tags: ["player", "3dtextlabel"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the player's 3D text label draw distance.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayer3DTextLabelDrawDistance.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayer3DTextLabelDrawDistance.md",
"repo_id": "openmultiplayer",
"token_count": 475
} | 295 |
---
title: GetPlayerCameraTargetActor
description: Allows you to retrieve the ID of the actor the player is looking at (in any).
tags: ["player", "camera", "actor"]
---
<VersionWarn version='SA-MP 0.3.7' />
## Description
Allows you to retrieve the ID of the actor the player is looking at (in any).
| Name | Des... | openmultiplayer/web/docs/scripting/functions/GetPlayerCameraTargetActor.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerCameraTargetActor.md",
"repo_id": "openmultiplayer",
"token_count": 880
} | 296 |
---
title: GetPlayerFacingAngle
description: Gets the angle a player is facing.
tags: ["player"]
---
## Description
Gets the angle a player is facing.
| Name | Description |
| ------------ | ----------------------------------------------------- |
| playerid | The... | openmultiplayer/web/docs/scripting/functions/GetPlayerFacingAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerFacingAngle.md",
"repo_id": "openmultiplayer",
"token_count": 582
} | 297 |
---
title: GetPlayerName
description: Get a player's name.
tags: ["player"]
---
## Description
Get a player's name.
| Name | Description |
| -------- | -----------------------------... | openmultiplayer/web/docs/scripting/functions/GetPlayerName.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerName.md",
"repo_id": "openmultiplayer",
"token_count": 829
} | 298 |
---
title: GetPlayerPickupType
description: Gets the type of a player-pickup.
tags: ["player", "pickup", "playerpickup"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Gets the type of a player-pickup.
| Name | Description |
|----------|-------------------------... | openmultiplayer/web/docs/scripting/functions/GetPlayerPickupType.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerPickupType.md",
"repo_id": "openmultiplayer",
"token_count": 631
} | 299 |
---
title: GetPlayerSurfingObjectID
description: Returns the ID of the object the player is surfing on.
tags: ["player"]
---
## Description
Returns the ID of the object the player is surfing on.
| Name | Description |
| -------- | --------------------------------------- |
| playerid |... | openmultiplayer/web/docs/scripting/functions/GetPlayerSurfingObjectID.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerSurfingObjectID.md",
"repo_id": "openmultiplayer",
"token_count": 439
} | 300 |
---
title: GetPlayerWeaponData
description: Get the weapon and ammo in a specific player's weapon slot (e.
tags: ["player"]
---
## Description
Get the weapon and ammo in a specific player's weapon slot (e.g. the weapon in the 'SMG' slot).
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetPlayerWeaponData.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerWeaponData.md",
"repo_id": "openmultiplayer",
"token_count": 713
} | 301 |
---
title: GetServerVarAsBool
description: Get the boolean value of a server variable.
tags: []
---
:::warning
This function, as of 0.3.7 R2, is deprecated. Please see GetConsoleVarAsBool
:::
## Description
Get the boolean value of a server variable.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/GetServerVarAsBool.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetServerVarAsBool.md",
"repo_id": "openmultiplayer",
"token_count": 384
} | 302 |
---
title: GetVehicleInterior
description: Get the interior id of a vehicle.
tags: ["vehicle"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the interior id of a vehicle.
## Parameters
| Name | Description |
|-----------|------------------------|
| vehicleid | The ID of the vehic... | openmultiplayer/web/docs/scripting/functions/GetVehicleInterior.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleInterior.md",
"repo_id": "openmultiplayer",
"token_count": 267
} | 303 |
---
title: GetVehiclePos
description: Gets the position of a vehicle.
tags: ["vehicle"]
---
## Description
Gets the position of a vehicle.
| Name | Description |
| --------- | ------------------------------------------------------------------------- ... | openmultiplayer/web/docs/scripting/functions/GetVehiclePos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetVehiclePos.md",
"repo_id": "openmultiplayer",
"token_count": 738
} | 304 |
---
title: GetWeather
description: Get the current world weather.
tags: []
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the current world weather.
## Examples
```c
SetWeather(19);
printf("Current world weather: %d", GetWeather());
// The output will be 'Current world weather: 19'
```
## Relat... | openmultiplayer/web/docs/scripting/functions/GetWeather.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/GetWeather.md",
"repo_id": "openmultiplayer",
"token_count": 174
} | 305 |
---
title: InterpolateCameraLookAt
description: Interpolate a player's camera's 'look at' point between two coordinates with a set speed.
tags: ["player", "interpolate"]
---
## Description
Interpolate a player's camera's 'look at' point between two coordinates with a set speed. Can be be used with [InterpolateCameraP... | openmultiplayer/web/docs/scripting/functions/InterpolateCameraLookAt.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/InterpolateCameraLookAt.md",
"repo_id": "openmultiplayer",
"token_count": 1540
} | 306 |
---
title: IsPlayerInRaceCheckpoint
description: Check if the player is inside their current set race checkpoint (SetPlayerRaceCheckpoint).
tags: ["player", "checkpoint", "racecheckpoint"]
---
## Description
Check if the player is inside their current set race checkpoint (SetPlayerRaceCheckpoint).
| Name | Descr... | openmultiplayer/web/docs/scripting/functions/IsPlayerInRaceCheckpoint.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerInRaceCheckpoint.md",
"repo_id": "openmultiplayer",
"token_count": 464
} | 307 |
---
title: IsTrailerAttachedToVehicle
description: Checks if a vehicle has a trailer attached to it.
tags: ["vehicle"]
---
## Description
Checks if a vehicle has a trailer attached to it. Use GetVehicleTrailer to get the vehicle ID of the trailer (if any).
| Name | Description |... | openmultiplayer/web/docs/scripting/functions/IsTrailerAttachedToVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsTrailerAttachedToVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 302
} | 308 |
---
title: IsValidTextDraw
description: Checks if a textdraw is valid.
tags: ["textdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Checks if a textdraw is valid.
## Parameters
| Name | Description |
| ----------- | -------------------------------- |
| Text:textid | T... | openmultiplayer/web/docs/scripting/functions/IsValidTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/IsValidTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 696
} | 309 |
---
title: NetStats_BytesReceived
description: Gets the amount of data (in bytes) that the server has received from the player.
tags: ["network monitoring"]
---
## Description
Gets the amount of data (in bytes) that the server has received from the player.
| Name | Description |
| ... | openmultiplayer/web/docs/scripting/functions/NetStats_BytesReceived.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/NetStats_BytesReceived.md",
"repo_id": "openmultiplayer",
"token_count": 610
} | 310 |
---
title: PlayerGangZoneGetPos
description: Get the position of a gangzone, represented by minX, minY, maxX, maxY coordinates
tags: ["player", "gangzone", "playergangzone"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the position of a gangzone, represented by minX, minY, maxX, maxY coordinates.... | openmultiplayer/web/docs/scripting/functions/PlayerGangZoneGetPos.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerGangZoneGetPos.md",
"repo_id": "openmultiplayer",
"token_count": 858
} | 311 |
---
title: PlayerTextDrawFont
description: Change the font of a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Description
Change the font of a player-textdraw.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawFont.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawFont.md",
"repo_id": "openmultiplayer",
"token_count": 1235
} | 312 |
---
title: PlayerTextDrawGetShadow
description: Get the shadow size on a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Get the shadow size on a player-textdraw.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetShadow.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetShadow.md",
"repo_id": "openmultiplayer",
"token_count": 869
} | 313 |
---
title: PlayerTextDrawSetShadow
description: Adds a shadow to the bottom-right side of the text in a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## Description
Adds a shadow to the bottom-right side of the text in a player-textdraw. The shadow font matches the text font.
| Name ... | openmultiplayer/web/docs/scripting/functions/PlayerTextDrawSetShadow.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawSetShadow.md",
"repo_id": "openmultiplayer",
"token_count": 896
} | 314 |
---
title: ResetPlayerWeapons
description: Removes all weapons from a player.
tags: ["player"]
---
## Description
Removes all weapons from a player.
| Name | Description |
| -------- | --------------------------------------------- |
| playerid | The ID of the player whose weapon... | openmultiplayer/web/docs/scripting/functions/ResetPlayerWeapons.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/ResetPlayerWeapons.md",
"repo_id": "openmultiplayer",
"token_count": 312
} | 315 |
---
title: SendRconCommand
description: Sends an RCON (Remote Console) command.
tags: ["administration"]
---
## Description
Sends an RCON (Remote Console) command.
| Name | Description |
| ---------------- | ------------------------------------------ |
| const format[] | ... | openmultiplayer/web/docs/scripting/functions/SendRconCommand.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SendRconCommand.md",
"repo_id": "openmultiplayer",
"token_count": 504
} | 316 |
---
title: SetMyFacingAngle
description: Set the NPC's facing angle.
tags: []
---
## Description
Set the NPC's facing angle.
| Name | Description |
| -------------------- | ----------------------------- |
| Float:ang | The new NPC's facing angle. |
## Examples
```c
Se... | openmultiplayer/web/docs/scripting/functions/SetMyFacingAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetMyFacingAngle.md",
"repo_id": "openmultiplayer",
"token_count": 239
} | 317 |
---
title: SetPlayerFacingAngle
description: Set a player's facing angle (Z rotation).
tags: ["player"]
---
## Description
Set a player's facing angle (Z rotation).
| Name | Description |
| ----------- | ------------------------------------------------ |
| playerid | Th... | openmultiplayer/web/docs/scripting/functions/SetPlayerFacingAngle.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerFacingAngle.md",
"repo_id": "openmultiplayer",
"token_count": 449
} | 318 |
---
title: SetPlayerPickupModel
description: Sets the model of a player-pickup.
tags: ["player", "pickup", "playerpickup"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Sets the model of a player-pickup.
| Name | Description |
|--------------------|------... | openmultiplayer/web/docs/scripting/functions/SetPlayerPickupModel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerPickupModel.md",
"repo_id": "openmultiplayer",
"token_count": 699
} | 319 |
---
title: SetPlayerWantedLevel
description: Set a player's wanted level (6 brown stars under HUD).
tags: ["player"]
---
## Description
Set a player's wanted level (6 brown stars under HUD).
| Name | Description |
| -------- | ------------------------------------------------ ... | openmultiplayer/web/docs/scripting/functions/SetPlayerWantedLevel.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerWantedLevel.md",
"repo_id": "openmultiplayer",
"token_count": 363
} | 320 |
---
title: SetVehicleNumberPlate
description: Set a vehicle numberplate.
tags: ["vehicle"]
---
## Description
Set a vehicle numberplate.
| Name | Description |
| ------------------- | ------------------------------------------------------ |
| vehicleid ... | openmultiplayer/web/docs/scripting/functions/SetVehicleNumberPlate.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetVehicleNumberPlate.md",
"repo_id": "openmultiplayer",
"token_count": 574
} | 321 |
---
title: SetWorldTime
description: Sets the world time (for all players) to a specific hour.
tags: ["worldtime"]
---
## Description
Sets the world time (for all players) to a specific hour.
| Name | Description |
| ---- | ---------------------- |
| hour | The hour to set (0-23) |
## Returns
This funct... | openmultiplayer/web/docs/scripting/functions/SetWorldTime.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/SetWorldTime.md",
"repo_id": "openmultiplayer",
"token_count": 289
} | 322 |
---
title: StopRecordingPlayback
description: This will stop the current .rec file which is being ran by the NPC, making it stay idle until some other order is given.
tags: []
---
## Description
This will stop the current .rec file which is being ran by the NPC, making it stay idle until some other order is given.
... | openmultiplayer/web/docs/scripting/functions/StopRecordingPlayback.MD/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/StopRecordingPlayback.MD",
"repo_id": "openmultiplayer",
"token_count": 155
} | 323 |
---
title: TextDrawShowForPlayer
description: Shows a textdraw for a specific player.
tags: ["player", "textdraw"]
---
## Description
Shows a textdraw for a specific player.
| Name | Description |
| ----------- | --------------------------... | openmultiplayer/web/docs/scripting/functions/TextDrawShowForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/TextDrawShowForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 542
} | 324 |
---
title: UsePlayerGangZoneCheck
description: Enables the callback when a player enters/leaves this zone
tags: ["player", "gangzone", "playergangzone"]
---
<VersionWarn version='omp v1.1.0.2612' />
## Description
Enables the callback when a player enters/leaves this zone.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/UsePlayerGangZoneCheck.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/UsePlayerGangZoneCheck.md",
"repo_id": "openmultiplayer",
"token_count": 1275
} | 325 |
---
title: deleteproperty
description: Delete an earlier set property (setproperty).
tags: ["core", "property"]
---
<LowercaseNote />
## Description
Delete an earlier set property ([setproperty](setproperty)).
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/deleteproperty.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/deleteproperty.md",
"repo_id": "openmultiplayer",
"token_count": 454
} | 326 |
---
title: floatabs
description: This function returns the absolute value of float.
tags: ["math", "floating-point"]
---
<LowercaseNote />
## Description
This function returns the absolute value of float.
| Name | Description |
| ----------- | -------------------------------... | openmultiplayer/web/docs/scripting/functions/floatabs.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/floatabs.md",
"repo_id": "openmultiplayer",
"token_count": 200
} | 327 |
---
title: fopen
description: Open a file (to read from or write to).
tags: ["file management"]
---
<LowercaseNote />
## Description
Open a file (to read from or write to).
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/fopen.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/fopen.md",
"repo_id": "openmultiplayer",
"token_count": 1639
} | 328 |
---
title: gettime
description: Get the current server time, which will be stored in the variables &hour, &minute and &second.
tags: ["time"]
---
<LowercaseNote />
## Description
Get the current server time, which will be stored in the variables &hour, &minute and &second.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/gettime.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/gettime.md",
"repo_id": "openmultiplayer",
"token_count": 403
} | 329 |
---
title: setproperty
description: Add a new property or change an existing property.
tags: ["core", "property"]
---
<LowercaseNote />
## Description
Add a new property or change an existing property.
| Name | Description ... | openmultiplayer/web/docs/scripting/functions/setproperty.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/setproperty.md",
"repo_id": "openmultiplayer",
"token_count": 805
} | 330 |
---
title: tolower
description: This function changes a single character to lowercase.
tags: ["string"]
---
<LowercaseNote />
## Description
This function changes a single character to lowercase.
| Name | Description |
| ---- | ------------------------------------- |
| c | The character... | openmultiplayer/web/docs/scripting/functions/tolower.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/functions/tolower.md",
"repo_id": "openmultiplayer",
"token_count": 217
} | 331 |
# Data and declarations
---
PAWN is a typeless language. All data elements are of type “cell”, and a cell
can hold an integral number. The size of a cell (in bytes) is system dependent
—usually, a cell is 32-bits.
The keyword new declares a new variable. For special declarations, the keyword
new is replaced by stati... | openmultiplayer/web/docs/scripting/language/reference/03-Data-and-declarations.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/language/reference/03-Data-and-declarations.md",
"repo_id": "openmultiplayer",
"token_count": 4347
} | 332 |
---
title: Bullet Hit Types
---
:::info
This page contains all of the bullet hit types which are used by [OnPlayerWeaponShot](../callbacks/OnPlayerWeaponShot).
:::
---
| Value | Definition |
| ----- | ----------------------------- |
| 0 | BULLET_HIT_TYPE_NONE |
| 1 | BULLET_HIT_... | openmultiplayer/web/docs/scripting/resources/bullethittypes.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/bullethittypes.md",
"repo_id": "openmultiplayer",
"token_count": 272
} | 333 |
---
title: Fighting Styles
---
:::info
All fighting styles used by [SetPlayerFightingStyle](../functions/SetPlayerFightingStyle) and [GetPlayerFightingStyle](../functions/GetPlayerFightingStyle) are listed below.
:::
| Value | Definition |
| ----- | -------------------- |
| 4 | FIGHT_STYLE_NORMAL |
... | openmultiplayer/web/docs/scripting/resources/fightingstyles.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/fightingstyles.md",
"repo_id": "openmultiplayer",
"token_count": 199
} | 334 |
---
title: Marker Modes
---
:::info
Here you can find all of the marker modes used by [ShowPlayerMarkers](../functions/ShowPlayerMarkers).
:::
| ID | Definition |
| ------- | ----------- |
| 0 | PLAYER_MARKERS_MODE_OFF |
| 1 | PLAYER_MARKERS_MODE_GLOBAL |
| 2 | PLAYER_MARKERS_MODE_STREAMED |
| openmultiplayer/web/docs/scripting/resources/markermodes.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/markermodes.md",
"repo_id": "openmultiplayer",
"token_count": 115
} | 335 |
---
title: Shop Names
---
:::note
In GTA: SA (and SA-MP as well), certain scripts are preprogrammed to run whenever a player enters a certain interior. A lot of interiors (mostly just shops) have their own external script. The problem though is that there are use cases where the ability to load and run these external... | openmultiplayer/web/docs/scripting/resources/shopnames.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/shopnames.md",
"repo_id": "openmultiplayer",
"token_count": 614
} | 336 |
---
title: Vehicle Panel Status
description: Vehicle panel status definitions.
---
:::note
These definitions are used by natives such as [GetVehicleDamageStatus](../functions/GetVehicleDamageStatus) and [UpdateVehicleDamageStatus](../functions/UpdateVehicleDamageStatus).
:::
| Definition | Value |... | openmultiplayer/web/docs/scripting/resources/vehicle-panel-status.md/0 | {
"file_path": "openmultiplayer/web/docs/scripting/resources/vehicle-panel-status.md",
"repo_id": "openmultiplayer",
"token_count": 151
} | 337 |
---
title: Uobičajena pitanja
---
## Sadržaj
## Klijenat
### Dobio sam error "San Andreas cannot be found"
San Andreas Multiplayer **nije** program koji može da radi sam! On dodaje multiplayer funkcionalnost za San Andreas, dakle morate imati GTA San Andreas za PC - također, mora da bude **EU/US v1.0** verzija, ost... | openmultiplayer/web/docs/translations/bs/client/CommonClientIssues.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/client/CommonClientIssues.md",
"repo_id": "openmultiplayer",
"token_count": 2033
} | 338 |
---
title: OnNPCDisconnect
description: Ovaj callback je pozvan kada se NPC diskonektuje sa servera.
tags: ["npc"]
---
## Deskripcija
Ovaj callback je pozvan kada se NPC diskonektuje sa servera.
| Ime | Deskripcija |
| ------------ | ------------------------------... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnNPCDisconnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnNPCDisconnect.md",
"repo_id": "openmultiplayer",
"token_count": 384
} | 339 |
---
title: OnPlayerExitVehicle
description: Ovaj callback je pozvan kada igrač krene da izlazi iz vozila.
tags: ["player", "vehicle"]
---
## Deskripcija
Ovaj callback je pozvan kada igrač krene da izlazi iz vozila.
| Name | Deskripcija |
| --------- | -------------------------------- |
| pl... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerExitVehicle.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerExitVehicle.md",
"repo_id": "openmultiplayer",
"token_count": 544
} | 340 |
---
title: OnPlayerSpawn
description: Ovaj callback je pozvan kada se igrač spawnuje (stvori).
tags: ["player"]
---
## Deskripcija
Ovaj callback je pozvan kada se igrač spawnuje (stvori). (npr. nakon korištenja SpawnPlayer funkcije)
| Ime | Deskripcija |
| -------- | -------------------... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnPlayerSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 491
} | 341 |
---
title: OnVehiclePaintjob
description: Pozvano kada igrač pregleda paintjob vozila unutar mod shopa.
tags: ["vehicle"]
---
## Deskripcija
Pozvano kada igrač pregleda paintjob vozila unutar mod shopa. Pripazi, ovaj callback nije pozvan kada igrač kupi paintjob.
| Ime | Deskripcija ... | openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehiclePaintjob.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/callbacks/OnVehiclePaintjob.md",
"repo_id": "openmultiplayer",
"token_count": 663
} | 342 |
---
title: AllowAdminTeleport
description: Ovaj funkcija će da odredi da li će RCON admini biti teleportovani do waypointa/markera kojeg su postavili.
tags: []
---
:::warning
Ova funkcija, kao 0.3d, je zastarjela. Molim vas pogledajte [OnPlayerClickMap](../callbacks/OnPlayerClickMap.md).
:::
## Deskripcija
Ovaj fu... | openmultiplayer/web/docs/translations/bs/scripting/functions/AllowAdminTeleport.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/AllowAdminTeleport.md",
"repo_id": "openmultiplayer",
"token_count": 390
} | 343 |
---
title: BanEx
description: Banuj igrača uz prilagođeni razlog.
tags: ["administration"]
---
## Deskripcija
Banuj igrača uz prilagođeni razlog.
| Ime | Deskripcija |
| -------- | ---------------------------- |
| playerid | ID igrača za banovati. |
| reason | Razlog banovanja. ... | openmultiplayer/web/docs/translations/bs/scripting/functions/BanEx.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/bs/scripting/functions/BanEx.md",
"repo_id": "openmultiplayer",
"token_count": 831
} | 344 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.