text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
--- title: OnVehiclePaintjob description: Executada quando um jogador pré-visualiza um paintjob na garagem (modshop). tags: ["vehicle"] --- :::tip [Paintjob](../resources/paintjobs) são as pinturas personalizadas, igual aquelas das garagens low-rider. ::: ## Descrição Executada quando um jogador pré-visualiza um...
openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehiclePaintjob.md/0
{ "file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/callbacks/OnVehiclePaintjob.md", "repo_id": "openmultiplayer", "token_count": 737 }
393
--- id: AllowAdminTeleport title: AllowAdminTeleport description: Esta função vai determinar se Administradores RCON vão ser teleportados para a marcação quando definirem uma. tags: [] --- :::warning Esta função, a partir da 0.3d está descontinuada. Por favor veja [OnPlayerClickMap](../callbacks/OnPlayerClickMap.md)....
openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AllowAdminTeleport.md/0
{ "file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/AllowAdminTeleport.md", "repo_id": "openmultiplayer", "token_count": 375 }
394
--- title: DestroyPlayerObject description: Destrói um objeto de jogador (player-object) criado usando CreatePlayerObject. tags: ["player"] --- ## Descrição Destrói um objeto de jogador (player-object) criado usando CreatePlayerObject. | Nome | Descrição ...
openmultiplayer/web/docs/translations/pt-BR/scripting/functions/DestroyPlayerObject.md/0
{ "file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/DestroyPlayerObject.md", "repo_id": "openmultiplayer", "token_count": 823 }
395
--- title: GetPlayerFacingAngle description: Obtém o ângulo que um jogador está voltado (rotação Z). tags: [] --- ## Descrição Obtém o ângulo que um jogador está voltado (rotação Z). | Nome | Descrição | | ------------ | ---------------------------------------...
openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetPlayerFacingAngle.md/0
{ "file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/GetPlayerFacingAngle.md", "repo_id": "openmultiplayer", "token_count": 649 }
396
--- title: SetVehicleAngularVelocity description: Define a velocidade angular X, Y e Z de um veículo. tags: ["vehicle"] --- :::info Esta função está no _world_ space e não no _local_ space. Se você quiser fazer ajustes locais à velocidade angular, deve aplicar uma matriz baseada em [vehicle rotation quat](GetVehicleR...
openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetVehicleAngularVelocity.md/0
{ "file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/functions/SetVehicleAngularVelocity.md", "repo_id": "openmultiplayer", "token_count": 635 }
397
--- title: Modos de ângulos description: Constantes unitárias no sistema internacional de medição de ângulos. --- :::note Para ser usado com [floatsin](../functions/Floatsin), [floatcos](../functions/Floatcos), ou [floattan](../functions/Floattan). ::: | Modos | | ------- | | radian | | degrees | | grades |
openmultiplayer/web/docs/translations/pt-BR/scripting/resources/anglemodes.md/0
{ "file_path": "openmultiplayer/web/docs/translations/pt-BR/scripting/resources/anglemodes.md", "repo_id": "openmultiplayer", "token_count": 125 }
398
--- title: OnPlayerClickPlayerTextDraw description: Acest callback este apelat atunci când un jucător dă clic pe un player-textdraw. tags: ["player", "textdraw", "playertextdraw"] --- ## Descriere Acest callback este apelat atunci când un jucător dă clic pe un player-textdraw. Nu este apelat atunci când jucătorul anu...
openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerClickPlayerTextDraw.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerClickPlayerTextDraw.md", "repo_id": "openmultiplayer", "token_count": 1147 }
399
--- title: OnPlayerInteriorChange description: Apelat când un jucător schimbă interiorul. tags: ["player"] --- ## Descriere Apelat când un jucător schimbă interiorul. Poate fi declanșat de SetPlayerInterior sau atunci când un jucător intră/iese dintr-o clădire. | Nume | Descriere ...
openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerInteriorChange.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerInteriorChange.md", "repo_id": "openmultiplayer", "token_count": 554 }
400
--- title: OnPlayerText description: Apelat atunci când un jucător trimite un mesaj de chat. tags: ["player"] --- ## Descriere Apelat atunci când un jucător trimite un mesaj de chat. | Name | Descriere | | -------- | ---------------------------------------- | | playerid | ID-ul juc...
openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerText.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnPlayerText.md", "repo_id": "openmultiplayer", "token_count": 470 }
401
--- title: OnVehicleStreamOut description: Acest callback este apelat atunci când un vehicul este transmis în flux pentru clientul unui jucător (este atât de departe încât acesta nu îl poate vedea). tags: ["vehicle"] --- ## Descriere Acest callback este apelat atunci când un vehicul este transmis în flux pentru clien...
openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnVehicleStreamOut.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ro/scripting/callbacks/OnVehicleStreamOut.md", "repo_id": "openmultiplayer", "token_count": 469 }
402
--- title: "Ghid de aranjare Pawn" description: A short guide on the generally accepted naming conventions and other aspects of Pawn source code to aid easier communication of intent and streamline debugging and sharing of code. --- Acest document este un scurt ghid privind convențiile de denumire general acceptate și...
openmultiplayer/web/docs/translations/ro/scripting/language/Style.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ro/scripting/language/Style.md", "repo_id": "openmultiplayer", "token_count": 2791 }
403
--- title: Tipuri de răspuns editare obiect --- Folosit in [OnPlayerEditObject](../callbacks/OnPlayerEditObject.md) si [OnPlayerEditAttachedObject](../callbacks/OnPlayerEditAttachedObject.md). ```c 0 - EDIT_RESPONSE_CANCEL // jucatorul a anulat (ESC) 1 - EDIT_RESPONSE_FINAL // jucatorul a apasat pe save 2 - EDIT_...
openmultiplayer/web/docs/translations/ro/scripting/resources/objecteditionresponsetypes.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ro/scripting/resources/objecteditionresponsetypes.md", "repo_id": "openmultiplayer", "token_count": 163 }
404
--- title: System de variabile pe server description: Sistemul de variabile de server (scurtat, SVar) este un nou mod de a crea variabile de server într-o metodă eficientă creată dinamic la nivel global, ceea ce înseamnă că pot fi utilizate în mod de joc și filtru scripturi ale serverului în același timp. --- **Siste...
openmultiplayer/web/docs/translations/ro/tutorials/servervariablesystem.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ro/tutorials/servervariablesystem.md", "repo_id": "openmultiplayer", "token_count": 982 }
405
--- title: AddSimpleModel description: Добавляет стороннюю модель объекта для скачивания. tags: [] --- ## Описание Добавляет сторонний объект для скачивания. Файл модели будет помещен в папку на компьютер игрока Documents\GTA San Andreas User Files\SAMP\cache под названием IP и Порта сервера в виде CRC формы. | Пара...
openmultiplayer/web/docs/translations/ru/scripting/functions/AddSimpleModel.md/0
{ "file_path": "openmultiplayer/web/docs/translations/ru/scripting/functions/AddSimpleModel.md", "repo_id": "openmultiplayer", "token_count": 1795 }
406
--- title: OnActorStreamOut description: Ta "callback" se pokliče, ko se "actor" neha pojavi v igralčevi "client". tags: [] --- :::warning Ta funkcijo je bila dodana v SA-MP 0.3.7 in ne deluje v nižjih različicah! ::: ## Opis Ta "callback" se pokliče, ko se "actor" neha pojavi v igralčevi "client". | Ime ...
openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnActorStreamOut.md/0
{ "file_path": "openmultiplayer/web/docs/translations/sl/scripting/callbacks/OnActorStreamOut.md", "repo_id": "openmultiplayer", "token_count": 444 }
407
--- title: OnActorStreamOut description: Овај колбек је позван када се актор престане приказивати у играчевом клијенту. tags: [] --- :::warning Овај колбек је додан у верзији SA-MP 0.3.7 и неће радити у ранијим верзијама! ::: ## Опис Овај колбек је позван када се актор престане приказивати у играчевом клијенту. |...
openmultiplayer/web/docs/translations/sr/scripting/callbacks/OnActorStreamOut.md/0
{ "file_path": "openmultiplayer/web/docs/translations/sr/scripting/callbacks/OnActorStreamOut.md", "repo_id": "openmultiplayer", "token_count": 720 }
408
--- title: print description: Stampa string u konzolu servera (ne u in-game chatu) i logovima (server_log. tags: [] --- <LowercaseNote /> ## Opis Stampa string u konzolu servera (ne u in-game chatu) i logovima (server_log) | Name | Description | | --------------------- | -----------------...
openmultiplayer/web/docs/translations/sr/scripting/functions/print.md/0
{ "file_path": "openmultiplayer/web/docs/translations/sr/scripting/functions/print.md", "repo_id": "openmultiplayer", "token_count": 514 }
409
--- title: OnPlayerClickTextDraw description: This callback is called when a player clicks on a textdraw or cancels the select mode with the Escape key. tags: ["player", "textdraw"] --- ## คำอธิบาย This callback is called when a player clicks on a textdraw or cancels the select mode with the Escape key. | Name ...
openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerClickTextDraw.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerClickTextDraw.md", "repo_id": "openmultiplayer", "token_count": 940 }
410
--- title: OnPlayerKeyStateChange description: This callback is called when the state of any supported key is changed (pressed/released). tags: ["player"] --- ## คำอธิบาย This callback is called when the state of any supported key is changed (pressed/released). Directional keys do not trigger OnPlayerKeyStateChange (...
openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerKeyStateChange.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerKeyStateChange.md", "repo_id": "openmultiplayer", "token_count": 1756 }
411
--- title: OnPlayerUpdate description: This callback is called every time a client/player updates the server with their status. tags: ["player"] --- ## คำอธิบาย This callback is called every time a client/player updates the server with their status. It is often used to create custom callbacks for client updates that ...
openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerUpdate.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/callbacks/OnPlayerUpdate.md", "repo_id": "openmultiplayer", "token_count": 1142 }
412
--- title: AddCharModel description: Adds a new custom character model for download. tags: [] --- :::warning This function was added in SA-MP 0.3.DL R1 and will not work in earlier versions! ::: ## คำอธิบาย Adds a new custom character model for download. The model files will be stored in player's Documents\GTA San...
openmultiplayer/web/docs/translations/th/scripting/functions/AddCharModel.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/AddCharModel.md", "repo_id": "openmultiplayer", "token_count": 796 }
413
--- title: Attach3DTextLabelToVehicle description: Attaches a 3D Text Label to a specific vehicle. tags: ["vehicle", "3dtextlabel"] --- ## คำอธิบาย Attaches a 3D Text Label to a specific vehicle. | Name | Description | | --------- | --------------...
openmultiplayer/web/docs/translations/th/scripting/functions/Attach3DTextLabelToVehicle.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/Attach3DTextLabelToVehicle.md", "repo_id": "openmultiplayer", "token_count": 962 }
414
--- title: ChangeVehicleColor description: Change a vehicle's primary and secondary colors. tags: ["vehicle"] --- ## คำอธิบาย Change a vehicle's primary and secondary colors. | Name | Description | | --------- | ---------------------------------------------- | | vehicleid | Th...
openmultiplayer/web/docs/translations/th/scripting/functions/ChangeVehicleColor.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ChangeVehicleColor.md", "repo_id": "openmultiplayer", "token_count": 521 }
415
--- title: Delete3DTextLabel description: Delete a 3D text label (created with Create3DTextLabel). tags: ["3dtextlabel"] --- ## คำอธิบาย Delete a 3D text label (created with Create3DTextLabel). | Name | Description | | --------- | -------------------------------------- | | Text3D:text...
openmultiplayer/web/docs/translations/th/scripting/functions/Delete3DTextLabel.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/Delete3DTextLabel.md", "repo_id": "openmultiplayer", "token_count": 555 }
416
--- title: DisablePlayerRaceCheckpoint description: Disable any initialized race checkpoints for a specific player, since you can only have one at any given time. tags: ["player", "checkpoint", "racecheckpoint"] --- ## คำอธิบาย Disable any initialized race checkpoints for a specific player, since you can only have on...
openmultiplayer/web/docs/translations/th/scripting/functions/DisablePlayerRaceCheckpoint.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/DisablePlayerRaceCheckpoint.md", "repo_id": "openmultiplayer", "token_count": 614 }
417
--- title: GameTextForPlayer description: Shows 'game text' (on-screen text) for a certain length of time for a specific player. tags: ["player"] --- ## คำอธิบาย Shows 'game text' (on-screen text) for a certain length of time for a specific player. | Name | Description ...
openmultiplayer/web/docs/translations/th/scripting/functions/GameTextForPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GameTextForPlayer.md", "repo_id": "openmultiplayer", "token_count": 555 }
418
--- title: GetAnimationName description: Get the animation library/name for the index. tags: [] --- ## คำอธิบาย Get the animation library/name for the index. | Name | Description | | ---------- | --------------------------------------------------------- | | index ...
openmultiplayer/web/docs/translations/th/scripting/functions/GetAnimationName.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetAnimationName.md", "repo_id": "openmultiplayer", "token_count": 551 }
419
--- title: GetPVarsUpperIndex description: Each PVar (player-variable) has its own unique identification number for lookup, this function returns the highest ID set for a player. tags: ["pvar"] --- ## คำอธิบาย Each PVar (player-variable) has its own unique identification number for lookup, this function returns the h...
openmultiplayer/web/docs/translations/th/scripting/functions/GetPVarsUpperIndex.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPVarsUpperIndex.md", "repo_id": "openmultiplayer", "token_count": 615 }
420
--- title: GetPlayerCustomSkin description: Returns the class of the players custom skin downloaded from the server. tags: ["player"] --- :::warning This function was added in SA-MP 0.3.DL R1 and will not work in earlier versions! ::: ## คำอธิบาย Returns the class of the players custom skin downloaded from the ser...
openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCustomSkin.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerCustomSkin.md", "repo_id": "openmultiplayer", "token_count": 333 }
421
--- title: GetPlayerObjectPos description: Get the position of a player object (CreatePlayerObject). tags: ["player"] --- ## คำอธิบาย Get the position of a player object (CreatePlayerObject). | Name | Description | | -------- | -----------------------...
openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerObjectPos.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerObjectPos.md", "repo_id": "openmultiplayer", "token_count": 702 }
422
--- title: GetPlayerVehicleSeat description: Find out which seat a player is in. tags: ["player", "vehicle"] --- ## คำอธิบาย Find out which seat a player is in. | Name | Description | | -------- | ------------------------------------------------- | | playerid | The ID of the...
openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerVehicleSeat.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetPlayerVehicleSeat.md", "repo_id": "openmultiplayer", "token_count": 466 }
423
--- title: GetServerVarAsInt description: Get the integer value of a server variable. tags: [] --- :::warning This function, as of 0.3.7 R2, is deprecated. Please see GetConsoleVarAsInt ::: ## คำอธิบาย Get the integer value of a server variable. | Name | Description ...
openmultiplayer/web/docs/translations/th/scripting/functions/GetServerVarAsInt.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetServerVarAsInt.md", "repo_id": "openmultiplayer", "token_count": 416 }
424
--- title: GetVehicleRotationQuat description: Returns a vehicle's rotation on all axes as a quaternion. tags: ["vehicle"] --- ## คำอธิบาย Returns a vehicle's rotation on all axes as a quaternion. | Name | Description | | --------- | -----...
openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleRotationQuat.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/GetVehicleRotationQuat.md", "repo_id": "openmultiplayer", "token_count": 571 }
425
--- title: IsPlayerAttachedObjectSlotUsed description: Check if a player has an object attached in the specified index (slot). tags: ["player"] --- ## คำอธิบาย Check if a player has an object attached in the specified index (slot). | Name | Description | | -------- | --------------------------...
openmultiplayer/web/docs/translations/th/scripting/functions/IsPlayerAttachedObjectSlotUsed.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/IsPlayerAttachedObjectSlotUsed.md", "repo_id": "openmultiplayer", "token_count": 462 }
426
--- title: Kick description: Kicks a player from the server. They will have to quit the game and re-connect if they wish to continue playing. tags: ["administration"] --- ## คำอธิบาย Kicks a player from the server. They will have to quit the game and re-connect if they wish to continue playing. | Name | Descript...
openmultiplayer/web/docs/translations/th/scripting/functions/Kick.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/Kick.md", "repo_id": "openmultiplayer", "token_count": 652 }
427
--- title: NetStats_PacketLossPercent description: Gets the packet loss percentage of a player. tags: [] --- ## คำอธิบาย Gets the packet loss percentage of a player. Packet loss means data the player is sending to the server is being lost (or vice-versa). | Name | Description | | -...
openmultiplayer/web/docs/translations/th/scripting/functions/NetStats_PacketLossPercent.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/NetStats_PacketLossPercent.md", "repo_id": "openmultiplayer", "token_count": 875 }
428
--- title: PlayerTextDrawSetPreviewRot description: Sets the rotation and zoom of a 3D model preview player-textdraw. tags: ["player", "textdraw", "playertextdraw"] --- ## คำอธิบาย Sets the rotation and zoom of a 3D model preview player-textdraw. | Name | Description ...
openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetPreviewRot.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/PlayerTextDrawSetPreviewRot.md", "repo_id": "openmultiplayer", "token_count": 1292 }
429
--- title: ResetPlayerMoney description: Reset a player's money to $0. tags: ["player"] --- ## คำอธิบาย Reset a player's money to \$0. | Name | Description | | -------- | ------------------------------------------- | | playerid | The ID of the player to reset the money of. | ## ส...
openmultiplayer/web/docs/translations/th/scripting/functions/ResetPlayerMoney.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/ResetPlayerMoney.md", "repo_id": "openmultiplayer", "token_count": 370 }
430
--- title: SetActorVirtualWorld description: Set the virtual world of an actor. tags: [] --- :::warning ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้! ::: ## คำอธิบาย Set the virtual world of an actor. Only players in the same world will see the actor. | Name | Description ...
openmultiplayer/web/docs/translations/th/scripting/functions/SetActorVirtualWorld.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetActorVirtualWorld.md", "repo_id": "openmultiplayer", "token_count": 595 }
431
--- title: SetPlayerAmmo description: Set the ammo of a player's weapon. tags: ["player"] --- ## คำอธิบาย Set the ammo of a player's weapon. | Name | Description | | -------- | -------------------------------------------------------------------...
openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerAmmo.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerAmmo.md", "repo_id": "openmultiplayer", "token_count": 626 }
432
--- title: SetPlayerMarkerForPlayer description: Change the colour of a player's nametag and radar blip for another player. tags: ["player"] --- ## คำอธิบาย Change the colour of a player's nametag and radar blip for another player. | Name | Description | |...
openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerMarkerForPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerMarkerForPlayer.md", "repo_id": "openmultiplayer", "token_count": 637 }
433
--- title: SetPlayerTime description: Sets the game time for a player. tags: ["player"] --- ## คำอธิบาย Sets the game time for a player. If a player's clock is enabled (TogglePlayerClock) the time displayed by it will update automatically. | Name | Description | | -------- | ---...
openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerTime.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetPlayerTime.md", "repo_id": "openmultiplayer", "token_count": 463 }
434
--- title: SetVehicleParamsCarDoors description: Allows you to open and close the doors of a vehicle. tags: ["vehicle"] --- :::warning ฟังก์ชั่นนี้ถูกเพิ่มใน SA-MP 0.3.7 และจะไม่ทำงานในเวอร์ชั่นก่อนหน้านี้! ::: ## คำอธิบาย Allows you to open and close the doors of a vehicle. | Name | Description ...
openmultiplayer/web/docs/translations/th/scripting/functions/SetVehicleParamsCarDoors.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SetVehicleParamsCarDoors.md", "repo_id": "openmultiplayer", "token_count": 593 }
435
--- title: SpawnPlayer description: (Re)Spawns a player. tags: ["player"] --- ## คำอธิบาย (Re)Spawns a player. | Name | Description | | -------- | ------------------------------ | | playerid | The ID of the player to spawn. | ## ส่งคืน 1: The function executed successfully. 0: The function ...
openmultiplayer/web/docs/translations/th/scripting/functions/SpawnPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/SpawnPlayer.md", "repo_id": "openmultiplayer", "token_count": 355 }
436
--- title: TextDrawLetterSize description: Sets the width and height of the letters. tags: ["textdraw"] --- ## คำอธิบาย Sets the width and height of the letters. | Name | Description | | ------- | ---------------------- | | text | The TextDraw to change | | Float:x | Width of a char. | | Float...
openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawLetterSize.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/TextDrawLetterSize.md", "repo_id": "openmultiplayer", "token_count": 988 }
437
--- title: TogglePlayerSpectating description: Toggle whether a player is in spectator mode or not. tags: ["player"] --- ## คำอธิบาย Toggle whether a player is in spectator mode or not. While in spectator mode a player can spectate (watch) other players and vehicles. After using this function, either PlayerSpectatePl...
openmultiplayer/web/docs/translations/th/scripting/functions/TogglePlayerSpectating.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/TogglePlayerSpectating.md", "repo_id": "openmultiplayer", "token_count": 605 }
438
--- title: fblockread description: This function allows you to read data from a file, without encoding and line terminators. tags: [] --- :::warning This function starts with lowercase letter. ::: ## คำอธิบาย This function allows you to read data from a file, without encoding and line terminators | Name ...
openmultiplayer/web/docs/translations/th/scripting/functions/fblockread.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/fblockread.md", "repo_id": "openmultiplayer", "token_count": 764 }
439
--- title: floatround description: Round a floating point number to an integer value. tags: [] --- :::warning This function starts with lowercase letter. ::: ## คำอธิบาย Round a floating point number to an integer value. | Name | Description | | ------ | ----------------------------- | | value...
openmultiplayer/web/docs/translations/th/scripting/functions/floatround.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/floatround.md", "repo_id": "openmultiplayer", "token_count": 304 }
440
--- title: getarg description: Get an argument that was passed to a function. tags: [] --- :::warning This function starts with lowercase letter. ::: ## คำอธิบาย Get an argument that was passed to a function. | Name | Description | | ----- | ---------------------------...
openmultiplayer/web/docs/translations/th/scripting/functions/getarg.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/getarg.md", "repo_id": "openmultiplayer", "token_count": 393 }
441
--- title: setarg description: Set an argument that was passed to a function. tags: [] --- :::warning This function starts with lowercase letter. ::: ## คำอธิบาย Set an argument that was passed to a function. | Name | Description | | ----- | -----------------------...
openmultiplayer/web/docs/translations/th/scripting/functions/setarg.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/setarg.md", "repo_id": "openmultiplayer", "token_count": 335 }
442
--- title: uuencode description: Encode a string to an UU-decoded string. tags: [] --- :::warning This function starts with lowercase letter. ::: ## คำอธิบาย Encode a string to an UU-decoded string. | Name | Description | | -------------- | -----------------...
openmultiplayer/web/docs/translations/th/scripting/functions/uuencode.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/functions/uuencode.md", "repo_id": "openmultiplayer", "token_count": 450 }
443
--- title: Select Object Types --- ## คำอธิบาย Select Object Types to be used with [OnPlayerSelectObject](../callbacks/OnPlayerSelectObject.md). ## Types ```c 1 - SELECT_OBJECT_GLOBAL_OBJECT 2 - SELECT_OBJECT_PLAYER_OBJECT ```
openmultiplayer/web/docs/translations/th/scripting/resources/selectobjecttypes.md/0
{ "file_path": "openmultiplayer/web/docs/translations/th/scripting/resources/selectobjecttypes.md", "repo_id": "openmultiplayer", "token_count": 95 }
444
--- title: İstemci description: Bu kategori, SA-MP istemci özellikleri ve destek konularına dair bilgiler içermektedir. --- Bu kategori, SA-MP istemci özellikleri ve destek konularına dair bilgiler içermektedir.
openmultiplayer/web/docs/translations/tr/client/_.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/client/_.md", "repo_id": "openmultiplayer", "token_count": 92 }
445
--- title: OnPlayerClickPlayer description: Bu callback oyuncu skor tablosunda bir oyuncuya iki kez tıkladığında çağrılır. tags: ["player"] --- ## Açıklama Bu callback oyuncu skor tablosunda bir oyuncuya iki kez tıkladığında çağrılır. | Ad | Açıklama | | --------------- | --------...
openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerClickPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerClickPlayer.md", "repo_id": "openmultiplayer", "token_count": 575 }
446
--- title: OnPlayerGiveDamageActor description: Bu callback, bir oyuncu bir NPC'ye hasar verdiğinde çağırılır. tags: ["player"] --- <VersionWarnTR name='callback' version='SA-MP 0.3.7' /> ## Açıklama Bu callback, bir oyuncu bir NPC'ye hasar verdiğinde çağırılır. | İsim | Açıklama ...
openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerGiveDamageActor.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerGiveDamageActor.md", "repo_id": "openmultiplayer", "token_count": 1010 }
447
--- title: OnPlayerTakeDamage description: Bu fonksiyon, oyuncu hasar aldığında çağrılır. tags: ["player"] --- ## Açıklama Bu fonksiyon, oyuncu hasar aldığında çağrılır. | Parametre | Açıklama ...
openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerTakeDamage.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnPlayerTakeDamage.md", "repo_id": "openmultiplayer", "token_count": 1774 }
448
--- title: OnVehicleStreamOut description: This callback is called when a vehicle is streamed out for a player's client (it's so far away that they can't see it). tags: ["vehicle"] --- ## Açıklama Bir araç, oyuncunun işlem alanının dışına çıktığında çağırılır(Oyuncuların göremeyeceği kadar uzakta). | İsim | A...
openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnVehicleStreamOut.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/scripting/callbacks/OnVehicleStreamOut.md", "repo_id": "openmultiplayer", "token_count": 490 }
449
--- title: ApplyAnimation description: Oyuncuya animasyon uygulatma. tags: [] --- ## Açıklama Bu fonksiyon oyuncuya bir animasyon uygulatmak için kullanılır. | Parametre | Açıklama | | ---------- ...
openmultiplayer/web/docs/translations/tr/scripting/functions/ApplyAnimation.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/ApplyAnimation.md", "repo_id": "openmultiplayer", "token_count": 1713 }
450
--- title: ClearActorAnimations description: Aktörün animasyonunu durdurma. tags: [] --- <VersionWarnTR version='SA-MP 0.3.7' /> ## Açıklama Herhangi bir oluşturulan aktörün yaptığı animasyonunu durdurur. | Parametre| Açıklama | | ------- | --------...
openmultiplayer/web/docs/translations/tr/scripting/functions/ClearActorAnimations.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/ClearActorAnimations.md", "repo_id": "openmultiplayer", "token_count": 421 }
451
--- title: Kick description: Oyuncuyu sunucudan atma. tags: ["administration"] --- ## Description Oyuncuyu sunucudan atma. Oynamaya devam etmek istiyorsa oyundan çıkıp tekrar girmesi gerekmekte. | Parametre | Açıklama | | --------- | -------------------------------------------- | ...
openmultiplayer/web/docs/translations/tr/scripting/functions/Kick.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/scripting/functions/Kick.md", "repo_id": "openmultiplayer", "token_count": 859 }
452
# Veri ve Bildirimler --- PAWN, tip belirtilmemiş bir dildir. Tüm veri öğeleri "hücre" türündedir ve bir hücre, bir tam sayıyı içerebilir. Bir hücrenin boyutu (byte cinsinden) sistem bağımlıdır —genellikle bir hücre 32 bit'tir. Yeni anahtar kelimesi yeni bir değişkeni bildirir. Özel bildirimler için, yeni kelimesi s...
openmultiplayer/web/docs/translations/tr/scripting/language/reference/03-Data-and-declarations.md/0
{ "file_path": "openmultiplayer/web/docs/translations/tr/scripting/language/reference/03-Data-and-declarations.md", "repo_id": "openmultiplayer", "token_count": 7383 }
453
--- title: 贡献 description: 如何贡献SA-MP维基和open.mp文档。 --- 本文档的源代码是开放的,任何人都可以对其进行修改!你所需要的只是一个[GitHub](https://github.com)账户和一些空闲时间。你甚至不必了解 Git,您可以通过网页界面可以做到这一切! 如果您想帮助维护一种特定的语言,打开针对 [`代码的所有者`](https://github.com/openmultiplayer/web/blob/master/CODEOWNERS) 文件的 拉取请求,并添加一行内容为语言目录和您的用户名。 ## 编辑内容 在每个页面上,有一个按钮,带你到 GitHub 页面编辑...
openmultiplayer/web/docs/translations/zh-cn/meta/Contributing.md/0
{ "file_path": "openmultiplayer/web/docs/translations/zh-cn/meta/Contributing.md", "repo_id": "openmultiplayer", "token_count": 5367 }
454
--- title: OnNPCModeExit description: 当npc脚本卸载时调用此回调。 tags: [] --- ## 描述 当 npc 脚本卸载时调用此回调。 ## 案例 ```c public OnNPCModeExit() { print("NPC 脚本卸载了"); return 1; } ``` ## 相关回调 - [OnNPCModeInit](../callbacks/OnNPCModeInit): 在加载 NPC 脚本时调用。
openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnNPCModeExit.md/0
{ "file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnNPCModeExit.md", "repo_id": "openmultiplayer", "token_count": 200 }
455
--- title: OnPlayerEnterVehicle description: 当玩家开始进入载具时,这个回调被调用,这意味着在这个回调被调用时,玩家还没有在载具中。 tags: ["player", "vehicle"] --- ## 描述 当玩家开始进入载具时,这个回调被调用,这意味着在这个回调被调用时,玩家还没有在载具中。 | 参数名 | 描述 | | ----------- | ---------------------------------------- | | playerid | 试图进入载具的玩家的 ID。 ...
openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerEnterVehicle.md/0
{ "file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerEnterVehicle.md", "repo_id": "openmultiplayer", "token_count": 888 }
456
--- title: OnPlayerSelectedMenuRow description: 当玩家从菜单(ShowMenuForPlayer)中选择一个项目时,这个回调函数被调用。 tags: ["player", "menu"] --- ## 描述 当玩家从菜单(ShowMenuForPlayer)中选择一个项目时,这个回调函数被调用。 | 参数名 | 描述 | | -------- | ---------------------------- | | playerid | 选择菜单项的玩家的 ID。 | | row | 所选行的 ID。第一行是 I...
openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerSelectedMenuRow.md/0
{ "file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnPlayerSelectedMenuRow.md", "repo_id": "openmultiplayer", "token_count": 867 }
457
--- title: OnVehicleMod description: 当车辆被改装时,这个回调函数被调用。 tags: ["vehicle"] --- ## 描述 当车辆被改装时,这个回调函数被调用。 | 参数名 | 描述 | | ----------- | ----------------------- | | playerid | 车辆司机的 ID。 | | vehicleid | 被改装的车辆的 ID。 | | componentid | 添加到车辆的组件的 ID。 | ## 返回值 它总是在游戏模式中先被调用,所以返回 0 也会阻...
openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnVehicleMod.md/0
{ "file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/callbacks/OnVehicleMod.md", "repo_id": "openmultiplayer", "token_count": 939 }
458
--- title: AddVehicleComponent description: 为载具添加一个“部件”(通常称为“mod”(修改))。 tags: ["vehicle"] --- ## 描述 为载具添加一个“部件”(通常称为“mod”(修改))。您可以在此处找到有效的部件。 | 参数名 | 说明 | | ------------------------------------------ | -----------------------------------...
openmultiplayer/web/docs/translations/zh-cn/scripting/functions/AddVehicleComponent.md/0
{ "file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/AddVehicleComponent.md", "repo_id": "openmultiplayer", "token_count": 1071 }
459
--- title: Delete3DTextLabel description: 删除一个三维文本标签(用Create3DTextLabel创建)。 tags: ["3dtextlabel"] --- ## 描述 删除一个三维文本标签(用 Create3DTextLabel 创建)。 | 参数名 | 说明 | | --------- | --------------------------- | | Text3D:textid | 要删除的三维文本标签的 ID。 | ## 返回值 如果三维文本标签被删除,则为 1,否则为 0。 ## 案例 ```c new Text...
openmultiplayer/web/docs/translations/zh-cn/scripting/functions/Delete3DTextLabel.md/0
{ "file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/Delete3DTextLabel.md", "repo_id": "openmultiplayer", "token_count": 685 }
460
--- title: SetPlayerInterior description: 设置某个玩家的内部空间。 tags: ["player"] --- ## 描述 设置某个玩家的内部空间。目前已知的内部空间及其位置可以在[这里](../resources/interiorids)找到。 | 参数名 | 说明 | | ---------- | ------------------------------------------------- | | playerid | 要设置内部空间的玩家 ID。 ...
openmultiplayer/web/docs/translations/zh-cn/scripting/functions/SetPlayerInterior.md/0
{ "file_path": "openmultiplayer/web/docs/translations/zh-cn/scripting/functions/SetPlayerInterior.md", "repo_id": "openmultiplayer", "token_count": 620 }
461
--- title: Porting to open.mp date: "2024-03-06T14:01:00" author: Y_Less --- It has been clear for a long time that Kalcor was no longer interested in maintaining SA:MP; which in itself is fine, but as the only person with official source code access this made him a bottleneck to new updates. Both YSF and fixes.inc w...
openmultiplayer/web/frontend/content/en/blog/porting.mdx/0
{ "file_path": "openmultiplayer/web/frontend/content/en/blog/porting.mdx", "repo_id": "openmultiplayer", "token_count": 2891 }
462
# Open Multiplayer Tulevane mitmikmängu modifikatsioon mängule _Grand Theft Auto: San Andreas_, mis on täielikult ühilduv senieksisteeriva modifikatsiooniga _San Andreas Multiplayer_. <br /> See tähendab, et **olemasolev SA:MP klient ja kõik SA:MP skriptid töötavad open.mp'ga**, ainsaks erinevuseks on, et serveripoo...
openmultiplayer/web/frontend/content/et/index.mdx/0
{ "file_path": "openmultiplayer/web/frontend/content/et/index.mdx", "repo_id": "openmultiplayer", "token_count": 243 }
463
# よくある質問 <hr /> ## open.mp とは? open.mp (Open Multiplayer, OMP) はグランド・セフト・オート・サンアンドレアスのマルチプレイヤー MOD です、SA:MP の開発間怠さや不具合の積み重ねなどの問題があって、それを代わるためにやってきました。最初 のリリースはサーバー側だけですが、現在使用されているクライアントでも問題なく接続できます。 これから 新たな open.mp クライアントもリリースされ、たくさんの新機能も実装されます。 <hr /> ## これはフォークですか? 違います。 これは我々長年の経験により一から開発されるものです。過去にも SA:MP のフ...
openmultiplayer/web/frontend/content/ja/faq.mdx/0
{ "file_path": "openmultiplayer/web/frontend/content/ja/faq.mdx", "repo_id": "openmultiplayer", "token_count": 3418 }
464
<h1>Open Multiplayer</h1> Un viitor mod multiplayer pentru _Grand Theft Auto: San Andreas_ care va fi compatibil cu versiunile anterioare ale modului multiplayer existent _San Andreas Multiplayer_. <br /> Asta înseamnă că **existentul client și scripturile SĂ:MP vor funcționa pe open.mp** și, în plus, multe bug-uri ...
openmultiplayer/web/frontend/content/ro/index.mdx/0
{ "file_path": "openmultiplayer/web/frontend/content/ro/index.mdx", "repo_id": "openmultiplayer", "token_count": 248 }
465
--- title: Zamanlayıcı modülü date: "2019-05-22T03:15:00" author: Y_Less --- Bu, open.mp'deki zamanlayıcılar için yaptığımız geliştirilmiş modüllerden birinin bir önizlemesidir: ```pawn native SetTimer(const func[], msInterval, bool:repeat) = SetTimerEx; native SetTimerEx(const func[], msInterval, bool:repeat, const ...
openmultiplayer/web/frontend/content/tr/blog/timers.mdx/0
{ "file_path": "openmultiplayer/web/frontend/content/tr/blog/timers.mdx", "repo_id": "openmultiplayer", "token_count": 909 }
466
import React, { FunctionComponent } from "react"; import { api } from "src/fetcher/fetcher"; import { User, UserSchema } from "src/types/_generated_User"; type AuthenticationContext = { isAuthenticated: boolean; isLoading: boolean; setAuthenticated: React.Dispatch<React.SetStateAction<boolean>>; user?: User; ...
openmultiplayer/web/frontend/src/auth/hooks.tsx/0
{ "file_path": "openmultiplayer/web/frontend/src/auth/hooks.tsx", "repo_id": "openmultiplayer", "token_count": 614 }
467
const GitHubIcon = ({ width = 32, height = 32 }) => ( <svg xmlns="http://www.w3.org/2000/svg" width={width} height={height} viewBox="0 0 24 24" > <path fill="white" d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416...
openmultiplayer/web/frontend/src/components/icons/GitHub.tsx/0
{ "file_path": "openmultiplayer/web/frontend/src/components/icons/GitHub.tsx", "repo_id": "openmultiplayer", "token_count": 526 }
468
import { Button } from "@chakra-ui/button"; import { useDisclosure } from "@chakra-ui/hooks"; import { Box, Stack, Text } from "@chakra-ui/layout"; import { Modal, ModalBody, ModalCloseButton, ModalContent, ModalHeader, ModalOverlay, } from "@chakra-ui/modal"; import { RadioGroup, useRadio, useRadioGr...
openmultiplayer/web/frontend/src/components/site/LanguageSelect.tsx/0
{ "file_path": "openmultiplayer/web/frontend/src/components/site/LanguageSelect.tsx", "repo_id": "openmultiplayer", "token_count": 1582 }
469
import Admonition from "../../../Admonition"; export default function NoteLowercase({ name = "function" }) { return ( <Admonition type="warning"> <p>Esta {name} inicia com letra minúscula.</p> </Admonition> ); }
openmultiplayer/web/frontend/src/components/templates/translations/pt-BR/lowercase-note.tsx/0
{ "file_path": "openmultiplayer/web/frontend/src/components/templates/translations/pt-BR/lowercase-note.tsx", "repo_id": "openmultiplayer", "token_count": 86 }
470
if (typeof window !== "undefined") { window.requestIdleCallback = window.requestIdleCallback || function (cb) { const start = Date.now(); return window.setTimeout(function () { cb({ didTimeout: false, timeRemaining: function () { return Math.max(0, 50 - (Dat...
openmultiplayer/web/frontend/src/mdx-helpers/idle-callback-polyfill.ts/0
{ "file_path": "openmultiplayer/web/frontend/src/mdx-helpers/idle-callback-polyfill.ts", "repo_id": "openmultiplayer", "token_count": 230 }
471
import { last, map } from "lodash/fp"; import { GetServerSidePropsContext, GetServerSidePropsResult } from "next"; import Link from "next/link"; import React, { FC } from "react"; import ErrorBanner from "src/components/ErrorBanner"; import LoadingBanner from "src/components/LoadingBanner"; import { apiSSP, apiSWR, map...
openmultiplayer/web/frontend/src/pages/docs/search.tsx/0
{ "file_path": "openmultiplayer/web/frontend/src/pages/docs/search.tsx", "repo_id": "openmultiplayer", "token_count": 982 }
472
import { entries, filter, flatten, flow, isEmpty, map, negate, } from "lodash/fp"; type Value = string | string[] | number | undefined | null; type ParamPair = [string, string]; /** * Expands an entry * If v is an array of length n, returns n items with k as the entry key. * * So, given: ["tags", [...
openmultiplayer/web/frontend/src/utils/query.ts/0
{ "file_path": "openmultiplayer/web/frontend/src/utils/query.ts", "repo_id": "openmultiplayer", "token_count": 519 }
473
package logger import ( "net/http" "go.uber.org/fx" "go.uber.org/zap" "go.uber.org/zap/zapcore" "github.com/openmultiplayer/web/internal/config" "github.com/openmultiplayer/web/internal/version" ) func Build() fx.Option { return fx.Options( fx.Provide(func(cfg config.Config) (*zap.Logger, error) { var c...
openmultiplayer/web/internal/logger/logger.go/0
{ "file_path": "openmultiplayer/web/internal/logger/logger.go", "repo_id": "openmultiplayer", "token_count": 613 }
474
-- DropForeignKey ALTER TABLE "Discord" DROP CONSTRAINT "Discord_userId_fkey"; -- DropForeignKey ALTER TABLE "GitHub" DROP CONSTRAINT "GitHub_userId_fkey"; -- AddForeignKey ALTER TABLE "GitHub" ADD CONSTRAINT "GitHub_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE RESTRICT ON UPDATE CASCADE; --...
openmultiplayer/web/prisma/migrations/20210925203831_prisma_upgrade_constraints/migration.sql/0
{ "file_path": "openmultiplayer/web/prisma/migrations/20210925203831_prisma_upgrade_constraints/migration.sql", "repo_id": "openmultiplayer", "token_count": 474 }
475
{ "root": true, "extends": [ "eslint:recommended", "plugin:react/recommended", "plugin:react-hooks/recommended", "plugin:jsx-a11y/recommended", "standard", "standard-jsx", "standard-react", "prettier" ], "plugins": [ "jsx-a11y", "mocha", "chai-expect", "chai-frien...
overleaf/web/.eslintrc/0
{ "file_path": "overleaf/web/.eslintrc", "repo_id": "overleaf", "token_count": 2184 }
476
{ "arrowParens": "avoid", "jsxSingleQuote": false, "semi": false, "singleQuote": true, "trailingComma": "es5", "tabWidth": 2, "useTabs": false }
overleaf/web/.prettierrc/0
{ "file_path": "overleaf/web/.prettierrc", "repo_id": "overleaf", "token_count": 69 }
477
const Settings = require('@overleaf/settings') const Metrics = require('../../infrastructure/Metrics') const Queues = require('../../infrastructure/Queues') const analyticsEventsQueue = Queues.getAnalyticsEventsQueue() const analyticsEditingSessionsQueue = Queues.getAnalyticsEditingSessionsQueue() const analyticsUserP...
overleaf/web/app/src/Features/Analytics/AnalyticsManager.js/0
{ "file_path": "overleaf/web/app/src/Features/Analytics/AnalyticsManager.js", "repo_id": "overleaf", "token_count": 1181 }
478
const OError = require('@overleaf/o-error') const url = require('url') const settings = require('@overleaf/settings') const logger = require('logger-sharelatex') const V1Api = require('../V1/V1Api') const sanitizeHtml = require('sanitize-html') module.exports = { getBrandVariationById, } function getBrandVariationB...
overleaf/web/app/src/Features/BrandVariations/BrandVariationsHandler.js/0
{ "file_path": "overleaf/web/app/src/Features/BrandVariations/BrandVariationsHandler.js", "repo_id": "overleaf", "token_count": 992 }
479
/* 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/Compile/CompileController.js/0
{ "file_path": "overleaf/web/app/src/Features/Compile/CompileController.js", "repo_id": "overleaf", "token_count": 7624 }
480
const EditorHttpController = require('./EditorHttpController') const AuthenticationController = require('../Authentication/AuthenticationController') const AuthorizationMiddleware = require('../Authorization/AuthorizationMiddleware') const RateLimiterMiddleware = require('../Security/RateLimiterMiddleware') const { Joi...
overleaf/web/app/src/Features/Editor/EditorRouter.js/0
{ "file_path": "overleaf/web/app/src/Features/Editor/EditorRouter.js", "repo_id": "overleaf", "token_count": 1086 }
481
const logger = require('logger-sharelatex') const FileStoreHandler = require('./FileStoreHandler') const ProjectLocator = require('../Project/ProjectLocator') const Errors = require('../Errors/Errors') module.exports = { getFile(req, res) { const projectId = req.params.Project_id const fileId = req.params.F...
overleaf/web/app/src/Features/FileStore/FileStoreController.js/0
{ "file_path": "overleaf/web/app/src/Features/FileStore/FileStoreController.js", "repo_id": "overleaf", "token_count": 1110 }
482
/* 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/InactiveData/InactiveProjectManager.js/0
{ "file_path": "overleaf/web/app/src/Features/InactiveData/InactiveProjectManager.js", "repo_id": "overleaf", "token_count": 1555 }
483
/* eslint-disable max-len, */ // TODO: This file was created by bulk-decaffeinate. // Fix any style issues and re-enable lint. module.exports = { inputenc: [ { caption: '\\inputencoding{}', snippet: '\\inputencoding{$1}', meta: 'inputenc-cmd', score: 0.0002447047447770061, }, ], ...
overleaf/web/app/src/Features/Metadata/packageMapping.js/0
{ "file_path": "overleaf/web/app/src/Features/Metadata/packageMapping.js", "repo_id": "overleaf", "token_count": 900991 }
484
const _ = require('underscore') const ProjectGetter = require('./ProjectGetter') const UserGetter = require('../User/UserGetter') const { Project } = require('../../models/Project') const logger = require('logger-sharelatex') const TpdsUpdateSender = require('../ThirdPartyDataStore/TpdsUpdateSender') const PublicAccess...
overleaf/web/app/src/Features/Project/ProjectDetailsHandler.js/0
{ "file_path": "overleaf/web/app/src/Features/Project/ProjectDetailsHandler.js", "repo_id": "overleaf", "token_count": 2490 }
485
module.exports = { use(req, res, next) { if (req.query != null) { if (req.query.referal != null) { req.session.referal_id = req.query.referal } else if (req.query.r != null) { // Short hand for referal req.session.referal_id = req.query.r } else if (req.query.fb_ref != nu...
overleaf/web/app/src/Features/Referal/ReferalConnect.js/0
{ "file_path": "overleaf/web/app/src/Features/Referal/ReferalConnect.js", "repo_id": "overleaf", "token_count": 754 }
486
const UserGetter = require('../User/UserGetter') const UserUpdater = require('../User/UserUpdater') const AnalyticsManager = require('../Analytics/AnalyticsManager') const crypto = require('crypto') const _ = require('lodash') const { callbackify } = require('util') const splitTestCache = require('./SplitTestCache') c...
overleaf/web/app/src/Features/SplitTests/SplitTestV2Handler.js/0
{ "file_path": "overleaf/web/app/src/Features/SplitTests/SplitTestV2Handler.js", "repo_id": "overleaf", "token_count": 1908 }
487
/* 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 * DS103: Rewrite code...
overleaf/web/app/src/Features/Subscription/SubscriptionGroupHandler.js/0
{ "file_path": "overleaf/web/app/src/Features/Subscription/SubscriptionGroupHandler.js", "repo_id": "overleaf", "token_count": 1556 }
488
/* eslint-disable camelcase, 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 shorter variations of null checks...
overleaf/web/app/src/Features/Templates/TemplatesController.js/0
{ "file_path": "overleaf/web/app/src/Features/Templates/TemplatesController.js", "repo_id": "overleaf", "token_count": 826 }
489
const fs = require('fs') const Path = require('path') const isUtf8 = require('utf-8-validate') const { promisifyAll } = require('../../util/promises') const Settings = require('@overleaf/settings') const FileTypeManager = { TEXT_EXTENSIONS: Settings.textExtensions.map(ext => `.${ext}`), IGNORE_EXTENSIONS: [ '...
overleaf/web/app/src/Features/Uploads/FileTypeManager.js/0
{ "file_path": "overleaf/web/app/src/Features/Uploads/FileTypeManager.js", "repo_id": "overleaf", "token_count": 1465 }
490
const Features = require('../../infrastructure/Features') const Queues = require('../../infrastructure/Queues') const EmailHandler = require('../Email/EmailHandler') const UserUpdater = require('./UserUpdater') const UserGetter = require('./UserGetter') const ONE_DAY_MS = 24 * 60 * 60 * 1000 class UserOnboardingEmail...
overleaf/web/app/src/Features/User/UserOnboardingEmailManager.js/0
{ "file_path": "overleaf/web/app/src/Features/User/UserOnboardingEmailManager.js", "repo_id": "overleaf", "token_count": 440 }
491
/* 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 * DS103: Rewrite code...
overleaf/web/app/src/Features/V1/V1Handler.js/0
{ "file_path": "overleaf/web/app/src/Features/V1/V1Handler.js", "repo_id": "overleaf", "token_count": 1425 }
492