text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
---
title: PlayAudioStreamForPlayer
description: Pustanje 'audio stream-a' igracu.
tags: ["player"]
---
## Description
Pusta audio stream igracu. Audio fajlovi takodje rade (.mp3).
| Name | Description |
| ---... | openmultiplayer/web/docs/translations/sr/scripting/functions/PlayAudioStreamForPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/sr/scripting/functions/PlayAudioStreamForPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 1066
} | 423 |
---
title: OnPlayerClickMap
description: Callback นี้ถูกเรียกเมื่อผู้เล่นวาง เป้าหมาย/จุดหมาย บนแผนที่ในเมนู (โดยการคลิกขวา)
tags: ["player"]
---
:::warning
Callback นี้ถูกเพิ่มใน SA-MP 0.3d และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Callback นี้ถูกเรียกเมื่อผู้เล่นวาง เป้าหมาย/จุดหมาย บนแผนที่ในเมนู (โด... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerClickMap.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerClickMap.md",
"repo_id": "openmultiplayer",
"token_count": 1536
} | 424 |
---
title: OnPlayerStreamOut
description: This callback is called when a player is streamed out from some other player's client.
tags: ["player"]
---
## คำอธิบาย
This callback is called when a player is streamed out from some other player's client.
| Name | Description |
| ... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerStreamOut.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerStreamOut.md",
"repo_id": "openmultiplayer",
"token_count": 501
} | 425 |
---
title: OnVehicleSpawn
description: This callback is called when a vehicle respawns.
tags: ["vehicle"]
---
:::warning
This callback is called **only** when vehicle **re**spawns! CreateVehicle and AddStaticVehicle(Ex) **won't** trigger this callback.
:::
## คำอธิบาย
This callback is called when a vehicle respawn... | openmultiplayer/web/docs/translations/th/scripting/callbacks/OnVehicleSpawn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnVehicleSpawn.md",
"repo_id": "openmultiplayer",
"token_count": 466
} | 426 |
---
title: ApplyActorAnimation
description: Apply an animation to an actor.
tags: []
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Apply an animation to an actor.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/ApplyActorAnimation.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ApplyActorAnimation.md",
"repo_id": "openmultiplayer",
"token_count": 1982
} | 427 |
---
title: CallRemoteFunction
description: Calls a public function in any script that is loaded.
tags: []
---
## คำอธิบาย
Calls a public function in any script that is loaded.
| Name | Description |
| -------------- | ------------------------------------------- |
| function[... | openmultiplayer/web/docs/translations/th/scripting/functions/CallRemoteFunction.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/CallRemoteFunction.md",
"repo_id": "openmultiplayer",
"token_count": 475
} | 428 |
---
title: CreatePlayerObject
description: Creates an object which will be visible to only one player.
tags: ["player"]
---
## คำอธิบาย
Creates an object which will be visible to only one player.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/CreatePlayerObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/CreatePlayerObject.md",
"repo_id": "openmultiplayer",
"token_count": 3667
} | 429 |
---
title: DisableMenuRow
description: Disable a specific row in a menu for all players.
tags: ["menu"]
---
## คำอธิบาย
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/translations/th/scripting/functions/DisableMenuRow.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/DisableMenuRow.md",
"repo_id": "openmultiplayer",
"token_count": 766
} | 430 |
---
title: ForceClassSelection
description: Forces a player to go back to class selection.
tags: []
---
## คำอธิบาย
Forces a player to go back to class selection.
| Name | Description |
| -------- | ------------------------------------------- |
| playerid | The player to send back... | openmultiplayer/web/docs/translations/th/scripting/functions/ForceClassSelection.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ForceClassSelection.md",
"repo_id": "openmultiplayer",
"token_count": 451
} | 431 |
---
title: GetActorPoolSize
description: Gets the highest actorid created on the server.
tags: []
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Gets the highest actorid created on the server.
| Name | Description |
| ---- | ----------- |
## ตัวอย่าง
```c... | openmultiplayer/web/docs/translations/th/scripting/functions/GetActorPoolSize.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetActorPoolSize.md",
"repo_id": "openmultiplayer",
"token_count": 460
} | 432 |
---
title: GetPVarNameAtIndex
description: Retrieve the name of a player's pVar via the index.
tags: ["pvar"]
---
## คำอธิบาย
Retrieve the name of a player's pVar via the index.
| Name | Description |
| ------------- | --------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPVarNameAtIndex.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPVarNameAtIndex.md",
"repo_id": "openmultiplayer",
"token_count": 438
} | 433 |
---
title: GetPlayerCameraUpVector
description: This function returns the vector, that points to the upside of the camera's view, or, in other words, to the middle top of your screen.
tags: ["player"]
---
## คำอธิบาย
This function returns the vector, that points to the upside of the camera's view, or, in other words,... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCameraUpVector.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCameraUpVector.md",
"repo_id": "openmultiplayer",
"token_count": 450
} | 434 |
---
title: GetPlayerName
description: Get a player's name.
tags: ["player"]
---
## คำอธิบาย
Get a player's name.
| Name | Description |
| -------- | --------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerName.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerName.md",
"repo_id": "openmultiplayer",
"token_count": 892
} | 435 |
---
title: GetPlayerTeam
description: Get the ID of the team the player is on.
tags: ["player"]
---
## คำอธิบาย
Get the ID of the team the player is on.
| Name | Description |
| -------- | ---------------------------------------- |
| playerid | The ID of the player to get the team of... | openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerTeam.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerTeam.md",
"repo_id": "openmultiplayer",
"token_count": 402
} | 436 |
---
title: GetSVarsUpperIndex
description: Each SVar (server-variable) has its own unique identification number for lookup, this function returns the highest ID.
tags: []
---
## คำอธิบาย
Each SVar (server-variable) has its own unique identification number for lookup, this function returns the highest ID.
| Name | De... | openmultiplayer/web/docs/translations/th/scripting/functions/GetSVarsUpperIndex.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetSVarsUpperIndex.md",
"repo_id": "openmultiplayer",
"token_count": 474
} | 437 |
---
title: GetVehicleParamsSirenState
description: Returns a vehicle's siren state (on/off).
tags: ["vehicle"]
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Returns a vehicle's siren state (on/off).
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleParamsSirenState.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleParamsSirenState.md",
"repo_id": "openmultiplayer",
"token_count": 566
} | 438 |
---
title: IsActorStreamedIn
description: Checks if an actor is streamed in for a player.
tags: []
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Checks if an actor is streamed in for a player.
| Name | Description |
| ----------- | --------... | openmultiplayer/web/docs/translations/th/scripting/functions/IsActorStreamedIn.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/IsActorStreamedIn.md",
"repo_id": "openmultiplayer",
"token_count": 530
} | 439 |
---
title: IsValidObject
description: Checks if an object with the ID provided exists.
tags: []
---
## คำอธิบาย
Checks if an object with the ID provided exists.
| Name | Description |
| -------- | ----------------------------------------------- |
| objectid | The ID of the obj... | openmultiplayer/web/docs/translations/th/scripting/functions/IsValidObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/IsValidObject.md",
"repo_id": "openmultiplayer",
"token_count": 846
} | 440 |
---
title: PlayerTextDrawLetterSize
description: Sets the width and height of the letters in a player-textdraw.
tags: ["player", "textdraw", "playertextdraw"]
---
## คำอธิบาย
Sets the width and height of the letters in a player-textdraw.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawLetterSize.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawLetterSize.md",
"repo_id": "openmultiplayer",
"token_count": 883
} | 441 |
---
title: RemovePlayerMapIcon
description: Removes a map icon that was set earlier for a player using SetPlayerMapIcon.
tags: ["player"]
---
## คำอธิบาย
Removes a map icon that was set earlier for a player using SetPlayerMapIcon.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/RemovePlayerMapIcon.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/RemovePlayerMapIcon.md",
"repo_id": "openmultiplayer",
"token_count": 440
} | 442 |
---
title: SetActorHealth
description: Set the health of an actor.
tags: []
---
:::warning
ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้!
:::
## คำอธิบาย
Set the health of an actor.
| Name | Description |
| ------------ | -----------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/SetActorHealth.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetActorHealth.md",
"repo_id": "openmultiplayer",
"token_count": 474
} | 443 |
---
title: SetPVarFloat
description: Set a float player variable's value.
tags: ["pvar"]
---
## คำอธิบาย
Set a float player variable's value.
| Name | Description |
| ----------- | ------------------------------------------------------- |
| playerid | The ID of t... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPVarFloat.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPVarFloat.md",
"repo_id": "openmultiplayer",
"token_count": 634
} | 444 |
---
title: SetPlayerHoldingObject
description: Attaches an object to a bone.
tags: ["player"]
---
## คำอธิบาย
Attaches an object to a bone.
| Name | Description |
| -------- | -------------------------------------------------- |
| playerid | ID of the player you want to att... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerHoldingObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerHoldingObject.md",
"repo_id": "openmultiplayer",
"token_count": 581
} | 445 |
---
title: SetPlayerSkin
description: Set the skin of a player.
tags: ["player"]
---
## คำอธิบาย
Set the skin of a player. A player's skin is their character model.
| Name | Description |
| -------- | ---------------------------------------- |
| playerid | The ID of the player to set... | openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerSkin.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerSkin.md",
"repo_id": "openmultiplayer",
"token_count": 1116
} | 446 |
---
title: ShowPlayerDialog
description: Shows the player a synchronous (only one at a time) dialog box.
tags: ["player"]
---
## คำอธิบาย
Shows the player a synchronous (only one at a time) dialog box.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/ShowPlayerDialog.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ShowPlayerDialog.md",
"repo_id": "openmultiplayer",
"token_count": 1687
} | 447 |
---
title: TextDrawFont
description: Changes the text font.
tags: ["textdraw"]
---
## คำอธิบาย
Changes the text font.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawFont.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawFont.md",
"repo_id": "openmultiplayer",
"token_count": 1386
} | 448 |
---
title: tickcount
description: This function can be used as a replacement for GetTickCount, as it returns the number of milliseconds since the start-up of the server.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
This function can be used as a replacement for GetTickCount, ... | openmultiplayer/web/docs/translations/th/scripting/functions/Tickcount.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/Tickcount.md",
"repo_id": "openmultiplayer",
"token_count": 494
} | 449 |
---
title: db_query
description: This function is used to execute an SQL query on an opened SQLite database.
tags: ["sqlite"]
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
This function is used to execute an SQL query on an opened SQLite database.
| Name | Description ... | openmultiplayer/web/docs/translations/th/scripting/functions/db_query.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/db_query.md",
"repo_id": "openmultiplayer",
"token_count": 1473
} | 450 |
---
title: floatlog
description: This function allows you to get the logarithm of a float value.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
This function allows you to get the logarithm of a float value.
| Name | Description |
| --------... | openmultiplayer/web/docs/translations/th/scripting/functions/floatlog.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/floatlog.md",
"repo_id": "openmultiplayer",
"token_count": 411
} | 451 |
---
title: ftemp
description: Creates a file in the "tmp", "temp" or root directory with random name for reading and writing.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Creates a file in the "tmp", "temp" or root directory with random name for reading and writing. The file ... | openmultiplayer/web/docs/translations/th/scripting/functions/ftemp.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ftemp.md",
"repo_id": "openmultiplayer",
"token_count": 1668
} | 452 |
---
title: random
description: Get a pseudo-random number.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
Get a pseudo-random number.
| Name | Description |
| ---- | ------------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/random.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/random.md",
"repo_id": "openmultiplayer",
"token_count": 585
} | 453 |
---
title: tolower
description: This function changes a single character to lowercase.
tags: []
---
:::warning
This function starts with lowercase letter.
:::
## คำอธิบาย
This function changes a single character to lowercase.
| Name | Description |
| ---- | ------------------------------... | openmultiplayer/web/docs/translations/th/scripting/functions/tolower.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/tolower.md",
"repo_id": "openmultiplayer",
"token_count": 315
} | 454 |
---
title: Bullet Hit Types
---
:::info
To be used with [OnPlayerWeaponShot](../callbacks/OnPlayerWeaponShot).
:::
---
| Name | Value |
| ----------------------------- | ----- |
| BULLET_HIT_TYPE_NONE | 0 |
| BULLET_HIT_TYPE_PLAYER | 1 |
| BULLET_HIT_TYPE_VEHICLE ... | openmultiplayer/web/docs/translations/th/scripting/resources/bullethittypes.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/bullethittypes.md",
"repo_id": "openmultiplayer",
"token_count": 269
} | 455 |
---
title: Glossary
description: Glossary of terms
tags: []
sidebar_label: Glossary
---
| Word | Meaning |
| ------------- | -----------------------------------------------------------------------------------------... | openmultiplayer/web/docs/translations/th/scripting/resources/glossary.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/glossary.md",
"repo_id": "openmultiplayer",
"token_count": 830
} | 456 |
---
title: Player States
description: A list of all the player states to be used with the GetPlayerState function or OnPlayerStateChange callback.
tags: ["player"]
sidebar_label: Player States
---
This page compiles the list of all the player states to be used with the [GetPlayerState](../functions/GetPlayerState.md) ... | openmultiplayer/web/docs/translations/th/scripting/resources/playerstates.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/playerstates.md",
"repo_id": "openmultiplayer",
"token_count": 638
} | 457 |
---
title: Vehicle Health
description: Vehicle Health Values
---
| Health | Engine Status |
| ------- | ------------------------------------ |
| > 650 | Undamaged |
| 650-550 | White Smoke |
| 550-390 | Grey Smoke |... | openmultiplayer/web/docs/translations/th/scripting/resources/vehiclehealth.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/vehiclehealth.md",
"repo_id": "openmultiplayer",
"token_count": 312
} | 458 |
---
title: OnIncomingConnection
description: Bu callback bir IP adresi sunucuya erişim sağlamaya çalıştığında tetiklenir.
tags: []
---
## Açıklama
Bu callback bir IP adresi sunucuya erişim sağlamaya çalıştığında tetiklenir. BlockIpAddress kullanarak gelen bağlantıları engelleyebilirsiniz.
| Name | Descriptio... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnIncomingConnection.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnIncomingConnection.md",
"repo_id": "openmultiplayer",
"token_count": 580
} | 459 |
---
title: OnPlayerExitedMenu
description: Oyuncu bir menüden çıktığında çağrılır.
tags: ["player", "menu"]
---
## Açıklama
Oyuncu bir menüden çıktığında çağrılır.
| İsim | Açıklama |
| -------- | ----------------------------------------- |
| playerid | Menüden çıkan oyuncunun ID... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerExitedMenu.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerExitedMenu.md",
"repo_id": "openmultiplayer",
"token_count": 352
} | 460 |
---
title: OnPlayerStateChange
description: Bu fonksiyon, bir oyuncu durumunu değiştirdiğinde çağrılır.
tags: ["player"]
---
## Açıklama
Bu fonksiyon, bir oyuncu durumunu değiştirdiğinde çağrılır. Örneğin, bir oyuncu bir aracın sürücüsündeyken yaya olarak değiştğinde çağrılır.
| Parametre | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 691
} | 461 |
---
title: OnVehicleSirenStateChange
description: Bu callback bir aracın siren durumu değiştiğinde çağrılır.
tags: ["vehicle"]
---
<VersionWarnTR name='callback' version='SA-MP 0.3.7' />
## Açıklama
Bu callback bir aracın siren durumu değiştiğinde çağrılır.
| İsim | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnVehicleSirenStateChange.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnVehicleSirenStateChange.md",
"repo_id": "openmultiplayer",
"token_count": 669
} | 462 |
---
title: AllowInteriorWeapons
description: Interior içinde silah kullanımını kısıtlamanızı sağlar.
tags: []
---
## Açıklama
Bu fonksiyonla interior içlerinde silah kullanıp kullanılamayacağını belirlersiniz.
| İsim | Açıklama ... | openmultiplayer/web/docs/translations/tr/scripting/functions/AllowInteriorWeapons.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/AllowInteriorWeapons.md",
"repo_id": "openmultiplayer",
"token_count": 630
} | 463 |
---
title: CancelSelectTextDraw
description: Fare seçim modunu iptal edin.
tags: ["textdraw"]
---
## Açıklama
Fare seçim modunu iptal edin. Fareniz ekrandan gider.
| Parametre | Açılama |
| --------- | -------------------------------------------------------... | openmultiplayer/web/docs/translations/tr/scripting/functions/CancelSelectTextDraw.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/CancelSelectTextDraw.md",
"repo_id": "openmultiplayer",
"token_count": 615
} | 464 |
---
title: GetActorPos
description: Aktörün koordinat değerlerini kontrol etme.
tags: ["actor"]
---
<VersionWarnTR version='SA-MP 0.3.7' />
## Açıklama
Aktörün koordinat değerlerini kontrol etme.
| Parametre | Description |
| ------- | --... | openmultiplayer/web/docs/translations/tr/scripting/functions/GetActorPos.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/GetActorPos.md",
"repo_id": "openmultiplayer",
"token_count": 700
} | 465 |
# PAWN

### gömülü betik dili
##### Şubat 2006
---
##### ITB CompuPhase
##### ii
---
“Java”, Sun Microsystems, Inc. şirketinin ticari markasıdır.
“Microsoft” ve “Microsoft Windows”, Microsoft Corporation'ın tescilli ticari markalarıdır.
“Linux”, L... | openmultiplayer/web/docs/translations/tr/scripting/language/reference/00-Contents.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/tr/scripting/language/reference/00-Contents.md",
"repo_id": "openmultiplayer",
"token_count": 1010
} | 466 |
---
title: OnNPCDisconnect
description: 当NPC与服务器断开连接时,会调用此回调。
tags: []
---
## 描述
当 NPC 与服务器断开连接时,会调用此回调。
| 参数名 | 描述 |
| -------- | -------------------------- |
| reason[] | NPC 与服务器断开连接的原因 |
## 案例
```c
public OnNPCDisconnect(reason[])
{
printf("已断开与服务器的连接 %s", reason);
}
```
## 相关回调
-... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnNPCDisconnect.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnNPCDisconnect.md",
"repo_id": "openmultiplayer",
"token_count": 410
} | 467 |
---
title: OnPlayerEditObject
description: 当玩家编辑完一个物体(EditObject/EditPlayerObject)时,会调用该回调。
tags: ["player"]
---
## 描述
当玩家编辑完一个物体(EditObject/EditPlayerObject)时,会调用该回调。
| 参数名 | 描述 |
| ------------ | ---------------------------------------------------- |
| playerid... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerEditObject.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerEditObject.md",
"repo_id": "openmultiplayer",
"token_count": 2058
} | 468 |
---
title: OnPlayerRequestDownload
description: 当玩家请求自定义模型下载时,这个回调函数被调用。
tags: ["player"]
---
<VersionWarnCN name='回调' version='SA-MP 0.3.DL R1' />
## 描述
当玩家请求自定义模型下载时,这个回调函数被调用。
| 参数名 | 描述 |
| -------- | ----------------------------- |
| playerid | 请求自定义模型下载的玩家 ID。 |
| type | 请求的类型(见... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerRequestDownload.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerRequestDownload.md",
"repo_id": "openmultiplayer",
"token_count": 801
} | 469 |
---
title: OnUnoccupiedVehicleUpdate
description: 当玩家的客户端更新/同步他们没有驾驶的车辆的位置时,这个回调被调用。
tags: ["vehicle"]
---
## 描述
当玩家的客户端更新/同步他们没有驾驶的车辆的位置时,这个回调被调用。这可能发生在车外,或当玩家是某个无人驾驶的车辆的乘客时。
| 参数名 | 描述 |
| ----... | openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnUnoccupiedVehicleUpdate.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnUnoccupiedVehicleUpdate.md",
"repo_id": "openmultiplayer",
"token_count": 1658
} | 470 |
---
title: AddStaticPickup
description: 该函数用于给游戏添加一个“静态”拾取器。
tags: []
---
## 描述
该函数用于给游戏添加一个“静态”拾取器。拾取器支持武器、生命值、护甲等,无需编写脚本即可生效(武器/生命值/护甲将自动提供)。
| 参数名 | 说明 |
| -------------------------------- | --------------------------------------------... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/AddStaticPickup.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/AddStaticPickup.md",
"repo_id": "openmultiplayer",
"token_count": 1271
} | 471 |
---
title: ClearAnimations
description: 清除指定玩家的所有动画(它也取消所有当前任务,如喷气背包、跳伞、进入载具、驾驶(将玩家从载具中移除)、游泳等。
tags: []
---
## 描述
清除指定玩家的所有动画(它也取消所有当前任务,如喷气背包、跳伞、进入载具、驾驶(将玩家从载具中移除)、游泳等。
| 参数名 | 说明 |
| --------- | ------------------------------------------------------------... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/ClearAnimations.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/ClearAnimations.md",
"repo_id": "openmultiplayer",
"token_count": 906
} | 472 |
---
title: SetCameraBehindPlayer
description: 使用SetPlayerCameraPos等函数后,将视角重置到玩家的后面。
tags: ["player", "camera"]
---
## 描述
使用 SetPlayerCameraPos 等函数后,将视角重置到玩家的后面。
| 参数名 | 说明 |
| -------- | --------------------- |
| playerid | 要重置视角的玩家 ID。 |
## 返回值
1:函数执行成功。
0:函数执行失败。 这意味着指定的玩家不存在。
## 案例
```c
Se... | openmultiplayer/web/docs/translations/zh-cn/scripting/functions/SetCameraBehindPlayer.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/SetCameraBehindPlayer.md",
"repo_id": "openmultiplayer",
"token_count": 386
} | 473 |
---
title: "远程控制 (RCON)"
description: 远程服务器管理.
---
远程控制台是一个命令提示符,您可以在其中使用 RCON 命令,而无需进入游戏和服务器。 从 0.3b 开始,远程控制台已从服务器详细信息中删除。 从现在开始,您将必须使用另一种方式来访问远程 RCON,如下所述。
1. 打开一个文本编辑器 (记事本即可).
2. 在其中写入: `rcon.exe IP PORT RCON-PASS` (将 IP/PORT/RCON-PASS 替换为您的服务器信息)
3. 保存该文件为 `rcon.bat`
4. 将该文件放入与 `rcon.exe` 同级目录.
5. 运行 `rcon.bat`
... | openmultiplayer/web/docs/translations/zh-cn/server/RemoteConsole.md/0 | {
"file_path": "openmultiplayer/web/docs/translations/zh-cn/server/RemoteConsole.md",
"repo_id": "openmultiplayer",
"token_count": 659
} | 474 |
---
title: How can I join the team?
date: "2021-08-29T01:24:09"
author: Potassium
---
➖ KAKO SE MOGU PRIDRUŽITI TIMU?
Ovo pitanje nam se PUNO postavlja, pa smo mislili da bismo trebali napraviti post o tome!
Prvo, veliko Vam hvala svima na zainteresovanju za doprinos!
Kao što znate, svi smo mi "SA-MP veterani", igr... | openmultiplayer/web/frontend/content/bs/blog/how-to-join-the-team.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/bs/blog/how-to-join-the-team.mdx",
"repo_id": "openmultiplayer",
"token_count": 737
} | 475 |
# FAQ (Preguntas frecuentes)
<hr />
## ¿Qué es open.mp?
open.mp (Open Multiplayer, OMP) es un mod multijugador sustituto para San Andreas, iniciado como respuesta al desafortunado aumento de problemas en actualizaciones y la administración de SA:MP. El lanzamiento inicial será un reemplazo directo del software para ... | openmultiplayer/web/frontend/content/es/faq.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/es/faq.mdx",
"repo_id": "openmultiplayer",
"token_count": 2394
} | 476 |
<h1>FAQ</h1>
<hr />
<h2>O que é open.mp?</h2>
open.mp (Open Multiplayer, OMP) é um mod multiplayer substituto para San Andreas, iniciado em
resposta ao infeliz aumento de problemas com atualizações e gerenciamento do SA:MP. O lançamento
inicial vai ser uma substituição fácil para o software de servidor apenas. Client... | openmultiplayer/web/frontend/content/pt-BR/faq.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/pt-BR/faq.mdx",
"repo_id": "openmultiplayer",
"token_count": 2608
} | 477 |
---
title: Forum and Wiki offline
description: Wondering why the SA-MP Forum and Wiki are offline? Read this for information and next steps.
---
# Чому форум та вікі недоступні?
25 вересня 2020 року термін дії сертифіката для forum.sa-mp.com та wiki.sa-mp.com закінчився. Багато користувачів звернули увагу на це й під... | openmultiplayer/web/frontend/content/uk/missing-sites.mdx/0 | {
"file_path": "openmultiplayer/web/frontend/content/uk/missing-sites.mdx",
"repo_id": "openmultiplayer",
"token_count": 1808
} | 478 |
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
| openmultiplayer/web/frontend/next-env.d.ts/0 | {
"file_path": "openmultiplayer/web/frontend/next-env.d.ts",
"repo_id": "openmultiplayer",
"token_count": 71
} | 479 |
import { Box } from "@chakra-ui/layout";
import { FC } from "react";
/**
* Provides a generic page wrapper that sets the correct max width.
*/
const Measured: FC = ({ children }) => {
return (
<Box maxWidth="48em" mx="auto" p="0.5em" height="100%">
{children}
</Box>
);
};
export default Measured;
| openmultiplayer/web/frontend/src/components/generic/Measured.tsx/0 | {
"file_path": "openmultiplayer/web/frontend/src/components/generic/Measured.tsx",
"repo_id": "openmultiplayer",
"token_count": 115
} | 480 |
import { Box, HStack, Stack, VStack, Text, useColorModeValue, Link } from "@chakra-ui/react";
import { ExternalLinkIcon } from "@chakra-ui/icons";
import Image from "next/image";
import NextLink from "next/link";
import cardStyles from "../../styles/Card.module.css";
import React, { VFC } from "react";
type CardProps ... | openmultiplayer/web/frontend/src/components/site/Card.tsx/0 | {
"file_path": "openmultiplayer/web/frontend/src/components/site/Card.tsx",
"repo_id": "openmultiplayer",
"token_count": 1321
} | 481 |
import Admonition from "../../../Admonition";
export default function NoteLowercase({ name = "function" }) {
return (
<Admonition type="warning">
<p>{name} ini diawali dengan huruf kecil.</p>
</Admonition>
);
}
| openmultiplayer/web/frontend/src/components/templates/translations/id/lowercase-note.tsx/0 | {
"file_path": "openmultiplayer/web/frontend/src/components/templates/translations/id/lowercase-note.tsx",
"repo_id": "openmultiplayer",
"token_count": 87
} | 482 |
export default function BabelPluginMdxBrowser() {
return {
visitor: {
// remove all imports, we will add these to scope manually
ImportDeclaration(path: any) {
path.remove();
},
// the `makeShortcode` template is nice for error handling but we
// don't need it here as we are ... | openmultiplayer/web/frontend/src/mdx-helpers/babel-plugin-mdx-browser.ts/0 | {
"file_path": "openmultiplayer/web/frontend/src/mdx-helpers/babel-plugin-mdx-browser.ts",
"repo_id": "openmultiplayer",
"token_count": 411
} | 483 |
import { GetStaticPropsContext, GetStaticPropsResult } from "next";
import Link from "next/link";
import { NextSeo } from "next-seo";
import { useColorModeValue } from "@chakra-ui/react";
import { orderBy } from "lodash/fp";
import format from "date-fns/format";
import parseISO from "date-fns/parseISO";
import matter f... | openmultiplayer/web/frontend/src/pages/blog/index.tsx/0 | {
"file_path": "openmultiplayer/web/frontend/src/pages/blog/index.tsx",
"repo_id": "openmultiplayer",
"token_count": 1300
} | 484 |
import { Global } from "@emotion/react";
const Fonts = () => {
return (
<Global
styles={`
@font-face {
font-family: "nimbus-sans";
src: url("/fonts/nimbus-sans_400.woff2") format("woff2"),
url("/fonts/nimbus-sans_400.woff") format("woff"),
url("/f... | openmultiplayer/web/frontend/src/styles/Fonts.tsx/0 | {
"file_path": "openmultiplayer/web/frontend/src/styles/Fonts.tsx",
"repo_id": "openmultiplayer",
"token_count": 1386
} | 485 |
// Content acquisition helper APIs for retrieving Markdown text from various
// sources. The helpers here wrap various fallbacks and different extensions
// and list files/locales.
import { statSync, readFileSync, readdirSync } from "fs";
import { join, resolve } from "path";
import getConfig from "next/config";
import... | openmultiplayer/web/frontend/src/utils/content.ts/0 | {
"file_path": "openmultiplayer/web/frontend/src/utils/content.ts",
"repo_id": "openmultiplayer",
"token_count": 2929
} | 486 |
/*
Warnings:
- The migration will add a unique constraint covering the columns `[email]` on the table `User`. If there are existing duplicate values, the migration will fail.
- Added the required column `authMethod` to the `User` table without a default value. This is not possible if the table is not empty.
- ... | openmultiplayer/web/prisma/migrations/20201221195142_auth/migration.sql/0 | {
"file_path": "openmultiplayer/web/prisma/migrations/20201221195142_auth/migration.sql",
"repo_id": "openmultiplayer",
"token_count": 761
} | 487 |
.git
.npmrc
modules/*/Makefile
**/node_modules
copybara
data
public/js
public/minjs
public/stylesheets
public/manifest.json
build.tar
.sentryclirc
.sentryclirc.enc
| overleaf/web/.dockerignore/0 | {
"file_path": "overleaf/web/.dockerignore",
"repo_id": "overleaf",
"token_count": 69
} | 488 |
⚠️ This repository has been migrated into [`overleaf/overleaf`](https://github.com/overleaf/overleaf). See the [monorepo announcement](https://github.com/overleaf/overleaf/issues/923) for more info. ⚠️
---
overleaf/web
==============
overleaf/web is the front-end web service of the open-source web-based collaborativ... | overleaf/web/README.md/0 | {
"file_path": "overleaf/web/README.md",
"repo_id": "overleaf",
"token_count": 1382
} | 489 |
module.exports = {
INVITE: 'invite',
TOKEN: 'token',
OWNER: 'owner',
}
| overleaf/web/app/src/Features/Authorization/Sources.js/0 | {
"file_path": "overleaf/web/app/src/Features/Authorization/Sources.js",
"repo_id": "overleaf",
"token_count": 34
} | 490 |
/* eslint-disable
max-len,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* DS207: Consider shorter variations of null checks
* Full docs: https://github.com/d... | overleaf/web/app/src/Features/Compile/ClsiFormatChecker.js/0 | {
"file_path": "overleaf/web/app/src/Features/Compile/ClsiFormatChecker.js",
"repo_id": "overleaf",
"token_count": 886
} | 491 |
/* eslint-disable
camelcase,
node/handle-callback-err,
max-len,
no-dupe-keys,
no-unused-vars,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* D... | overleaf/web/app/src/Features/Editor/EditorController.js/0 | {
"file_path": "overleaf/web/app/src/Features/Editor/EditorController.js",
"repo_id": "overleaf",
"token_count": 8491
} | 492 |
/* eslint-disable
camelcase,
max-len,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* DS207: Consider shorter variations of null checks
* Full docs: https... | overleaf/web/app/src/Features/Exports/ExportsController.js/0 | {
"file_path": "overleaf/web/app/src/Features/Exports/ExportsController.js",
"repo_id": "overleaf",
"token_count": 1663
} | 493 |
const { callbackify } = require('util')
const request = require('request-promise-native')
const settings = require('@overleaf/settings')
const OError = require('@overleaf/o-error')
const UserGetter = require('../User/UserGetter')
module.exports = {
initializeProject: callbackify(initializeProject),
flushProject: c... | overleaf/web/app/src/Features/History/HistoryManager.js/0 | {
"file_path": "overleaf/web/app/src/Features/History/HistoryManager.js",
"repo_id": "overleaf",
"token_count": 1824
} | 494 |
/* eslint-disable
camelcase,
node/handle-callback-err,
max-len,
no-unused-vars,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* DS207: Consider sho... | overleaf/web/app/src/Features/LinkedFiles/UrlAgent.js/0 | {
"file_path": "overleaf/web/app/src/Features/LinkedFiles/UrlAgent.js",
"repo_id": "overleaf",
"token_count": 1289
} | 495 |
const _ = require('lodash')
const Path = require('path')
const OError = require('@overleaf/o-error')
const fs = require('fs')
const crypto = require('crypto')
const async = require('async')
const logger = require('logger-sharelatex')
const { ObjectId } = require('mongodb')
const ProjectDeleter = require('./ProjectDelet... | overleaf/web/app/src/Features/Project/ProjectController.js/0 | {
"file_path": "overleaf/web/app/src/Features/Project/ProjectController.js",
"repo_id": "overleaf",
"token_count": 16390
} | 496 |
/* eslint-disable
max-len,
no-return-assign,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS101: Remove unnecessary use of Array.from
* DS102: Remove unnecessary code created because of implicit returns
* DS207: Consider... | overleaf/web/app/src/Features/Project/SafePath.js/0 | {
"file_path": "overleaf/web/app/src/Features/Project/SafePath.js",
"repo_id": "overleaf",
"token_count": 1358
} | 497 |
const SplitTestManager = require('./SplitTestManager')
const { SplitTest } = require('../../models/SplitTest')
const { CacheLoader } = require('cache-flow')
class SplitTestCache extends CacheLoader {
constructor() {
super('split-test', {
expirationTime: 60, // 1min in seconds
})
}
async load(name)... | overleaf/web/app/src/Features/SplitTests/SplitTestCache.js/0 | {
"file_path": "overleaf/web/app/src/Features/SplitTests/SplitTestCache.js",
"repo_id": "overleaf",
"token_count": 184
} | 498 |
const SessionManager = require('../Authentication/SessionManager')
const SubscriptionHandler = require('./SubscriptionHandler')
const PlansLocator = require('./PlansLocator')
const SubscriptionViewModelBuilder = require('./SubscriptionViewModelBuilder')
const LimitationsManager = require('./LimitationsManager')
const R... | overleaf/web/app/src/Features/Subscription/SubscriptionController.js/0 | {
"file_path": "overleaf/web/app/src/Features/Subscription/SubscriptionController.js",
"repo_id": "overleaf",
"token_count": 5822
} | 499 |
/* eslint-disable
node/handle-callback-err,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* DS207: Consider shorter variations of null checks
* Full docs: htt... | overleaf/web/app/src/Features/SystemMessages/SystemMessageManager.js/0 | {
"file_path": "overleaf/web/app/src/Features/SystemMessages/SystemMessageManager.js",
"repo_id": "overleaf",
"token_count": 511
} | 500 |
const Errors = require('../Errors/Errors')
class InvalidZipFileError extends Errors.BackwardCompatibleError {
constructor(options) {
super({
message: 'invalid_zip_file',
...options,
})
}
}
class EmptyZipFileError extends InvalidZipFileError {
constructor(options) {
super({
message:... | overleaf/web/app/src/Features/Uploads/ArchiveErrors.js/0 | {
"file_path": "overleaf/web/app/src/Features/Uploads/ArchiveErrors.js",
"repo_id": "overleaf",
"token_count": 233
} | 501 |
const TeamInvitesHandler = require('../Subscription/TeamInvitesHandler')
const UserHandler = {
populateTeamInvites(user, callback) {
TeamInvitesHandler.createTeamInvitesForLegacyInvitedEmail(
user.email,
callback
)
},
setupLoginData(user, callback) {
this.populateTeamInvites(user, callba... | overleaf/web/app/src/Features/User/UserHandler.js/0 | {
"file_path": "overleaf/web/app/src/Features/User/UserHandler.js",
"repo_id": "overleaf",
"token_count": 122
} | 502 |
/* eslint-disable
node/handle-callback-err,
max-len,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* DS207: Consider shorter variations of null checks
* F... | overleaf/web/app/src/Features/UserMembership/UserMembershipViewModel.js/0 | {
"file_path": "overleaf/web/app/src/Features/UserMembership/UserMembershipViewModel.js",
"repo_id": "overleaf",
"token_count": 726
} | 503 |
const fs = require('fs')
const Path = require('path')
const pug = require('pug')
const async = require('async')
const { promisify } = require('util')
const Settings = require('@overleaf/settings')
const MODULE_BASE_PATH = Path.resolve(__dirname + '/../../../modules')
const _modules = []
const _hooks = {}
let _viewInc... | overleaf/web/app/src/infrastructure/Modules.js/0 | {
"file_path": "overleaf/web/app/src/infrastructure/Modules.js",
"repo_id": "overleaf",
"token_count": 1460
} | 504 |
const logger = require('logger-sharelatex')
const pug = require('pug')
const globby = require('globby')
const Settings = require('@overleaf/settings')
const path = require('path')
// Generate list of view names from app/views
const viewList = globby
.sync('app/views/**/*.pug', {
onlyFiles: true,
concurrency... | overleaf/web/app/src/infrastructure/Views.js/0 | {
"file_path": "overleaf/web/app/src/infrastructure/Views.js",
"repo_id": "overleaf",
"token_count": 553
} | 505 |
const mongoose = require('../infrastructure/Mongoose')
const { Schema } = mongoose
const { ObjectId } = Schema
const EXPIRY_IN_SECONDS = 60 * 60 * 24 * 30
const ExpiryDate = function () {
const timestamp = new Date()
timestamp.setSeconds(timestamp.getSeconds() + EXPIRY_IN_SECONDS)
return timestamp
}
const Pro... | overleaf/web/app/src/models/ProjectInvite.js/0 | {
"file_path": "overleaf/web/app/src/models/ProjectInvite.js",
"repo_id": "overleaf",
"token_count": 322
} | 506 |
extends ../layout
block content
main.content.content-alt#main-content
.container
.row
.col-md-6.col-md-offset-3
.card
.page-header
h1 Account Access Error
p.text-danger Sorry, an error occurred accessing your account. Please #[a(href="" ng-controller="ContactModal" ng-click="contactUs... | overleaf/web/app/views/general/account-merge-error.pug/0 | {
"file_path": "overleaf/web/app/views/general/account-merge-error.pug",
"repo_id": "overleaf",
"token_count": 158
} | 507 |
div(
ng-controller="FileViewController"
ng-show="ui.view == 'file'"
ng-if="openFile"
)
file-view(
file='file'
store-references-keys='storeReferencesKeys'
)
| overleaf/web/app/views/project/editor/file-view.pug/0 | {
"file_path": "overleaf/web/app/views/project/editor/file-view.pug",
"repo_id": "overleaf",
"token_count": 67
} | 508 |
if showSymbolPalette
symbol-palette(show="editor.showSymbolPalette" handle-select="editor.insertSymbol")
| overleaf/web/app/views/project/editor/symbol-palette.pug/0 | {
"file_path": "overleaf/web/app/views/project/editor/symbol-palette.pug",
"repo_id": "overleaf",
"token_count": 35
} | 509 |
//- Features Tables
mixin table_premium
table.card.plans-table.plans-table-main
tr
th
th #{translate("free")}
th #{translate("personal")}
th #{translate("collaborator")}
.outer.outer-top
.outer-content
.best-value
strong #{translate('best_value')}
th #{translate("professional")}... | overleaf/web/app/views/subscriptions/_plans_page_tables.pug/0 | {
"file_path": "overleaf/web/app/views/subscriptions/_plans_page_tables.pug",
"repo_id": "overleaf",
"token_count": 1309
} | 510 |
if (v1SubscriptionStatus['team'] && v1SubscriptionStatus['team']['default_plan_name'] != 'free')
- hasDisplayedSubscription = true
p
| You have a legacy group licence from Overleaf v1.
if (v1SubscriptionStatus['team']['will_end_at'])
p
| Your current group licence ends on
|
strong= momen... | overleaf/web/app/views/subscriptions/dashboard/_v1_subscription_status.pug/0 | {
"file_path": "overleaf/web/app/views/subscriptions/dashboard/_v1_subscription_status.pug",
"repo_id": "overleaf",
"token_count": 719
} | 511 |
extends ../layout
block content
main.content#main-content
.container
.row
.col-md-8.col-md-offset-2.text-center
.page-header
h2 #{translate("restricted_no_permission")}
p
a(href="/")
i.fa.fa-arrow-circle-o-left(aria-hidden="true")
| #{translate("take_me_home")}
| overleaf/web/app/views/user/restricted.pug/0 | {
"file_path": "overleaf/web/app/views/user/restricted.pug",
"repo_id": "overleaf",
"token_count": 154
} | 512 |
#!/bin/bash
pushd ..
bin/run $*
RV=$?
popd
exit $RV
| overleaf/web/bin/run/0 | {
"file_path": "overleaf/web/bin/run",
"repo_id": "overleaf",
"token_count": 31
} | 513 |
import App from '../base'
import 'libs/passfield'
App.directive('asyncForm', ($http, validateCaptcha, validateCaptchaV3) => ({
controller: [
'$scope',
'$location',
function ($scope, $location) {
this.getEmail = () => $scope.email
this.getEmailFromQuery = () =>
$location.search().email ... | overleaf/web/frontend/js/directives/asyncForm.js/0 | {
"file_path": "overleaf/web/frontend/js/directives/asyncForm.js",
"repo_id": "overleaf",
"token_count": 2511
} | 514 |
/* eslint-disable
max-len,
*/
// TODO: This file was created by bulk-decaffeinate.
// Fix any style issues and re-enable lint.
/*
* decaffeinate suggestions:
* DS102: Remove unnecessary code created because of implicit returns
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions... | overleaf/web/frontend/js/directives/videoPlayState.js/0 | {
"file_path": "overleaf/web/frontend/js/directives/videoPlayState.js",
"repo_id": "overleaf",
"token_count": 302
} | 515 |
import PropTypes from 'prop-types'
import classNames from 'classnames'
import { useTranslation } from 'react-i18next'
import Icon from '../../../shared/components/icon'
function ChatToggleButton({ chatIsOpen, unreadMessageCount, onClick }) {
const { t } = useTranslation()
const classes = classNames(
'btn',
... | overleaf/web/frontend/js/features/editor-navigation-toolbar/components/chat-toggle-button.js/0 | {
"file_path": "overleaf/web/frontend/js/features/editor-navigation-toolbar/components/chat-toggle-button.js",
"repo_id": "overleaf",
"token_count": 418
} | 516 |
import ControlLabel from 'react-bootstrap/lib/ControlLabel'
import { Alert, FormControl } from 'react-bootstrap'
import FormGroup from 'react-bootstrap/lib/FormGroup'
import { useCallback } from 'react'
import { Trans, useTranslation } from 'react-i18next'
import { useFileTreeCreateName } from '../../contexts/file-tree... | overleaf/web/frontend/js/features/file-tree/components/file-tree-create/file-tree-create-name-input.js/0 | {
"file_path": "overleaf/web/frontend/js/features/file-tree/components/file-tree-create/file-tree-create-name-input.js",
"repo_id": "overleaf",
"token_count": 1167
} | 517 |
import { useState } from 'react'
import { findDOMNode } from 'react-dom'
import PropTypes from 'prop-types'
import { useTranslation } from 'react-i18next'
import withoutPropagation from '../../../../infrastructure/without-propagation'
import { Dropdown, Overlay } from 'react-bootstrap'
import Icon from '../../../../sh... | overleaf/web/frontend/js/features/file-tree/components/file-tree-item/file-tree-item-menu.js/0 | {
"file_path": "overleaf/web/frontend/js/features/file-tree/components/file-tree-item/file-tree-item-menu.js",
"repo_id": "overleaf",
"token_count": 808
} | 518 |
export class InvalidFilenameError extends Error {
constructor() {
super('invalid filename')
}
}
export class BlockedFilenameError extends Error {
constructor() {
super('blocked filename')
}
}
export class DuplicateFilenameError extends Error {
constructor() {
super('duplicate filename')
}
}
e... | overleaf/web/frontend/js/features/file-tree/errors.js/0 | {
"file_path": "overleaf/web/frontend/js/features/file-tree/errors.js",
"repo_id": "overleaf",
"token_count": 127
} | 519 |
import { useState, useCallback } from 'react'
import PropTypes from 'prop-types'
import { useTranslation } from 'react-i18next'
import FileViewHeader from './file-view-header'
import FileViewImage from './file-view-image'
import FileViewText from './file-view-text'
import Icon from '../../../shared/components/icon'
c... | overleaf/web/frontend/js/features/file-view/components/file-view.js/0 | {
"file_path": "overleaf/web/frontend/js/features/file-view/components/file-view.js",
"repo_id": "overleaf",
"token_count": 852
} | 520 |
import PropTypes from 'prop-types'
import { useTranslation } from 'react-i18next'
import { Dropdown } from 'react-bootstrap'
import PreviewLogsPaneEntry from './preview-logs-pane-entry'
import PreviewValidationIssue from './preview-validation-issue'
import PreviewDownloadFileList from './preview-download-file-list'
imp... | overleaf/web/frontend/js/features/preview/components/preview-logs-pane.js/0 | {
"file_path": "overleaf/web/frontend/js/features/preview/components/preview-logs-pane.js",
"repo_id": "overleaf",
"token_count": 3005
} | 521 |
import { useShareProjectContext } from './share-project-modal'
import EditMember from './edit-member'
import LinkSharing from './link-sharing'
import Invite from './invite'
import SendInvites from './send-invites'
import ViewMember from './view-member'
import OwnerInfo from './owner-info'
import SendInvitesNotice from ... | overleaf/web/frontend/js/features/share-project-modal/components/share-modal-body.js/0 | {
"file_path": "overleaf/web/frontend/js/features/share-project-modal/components/share-modal-body.js",
"repo_id": "overleaf",
"token_count": 384
} | 522 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.