Giter Site home page Giter Site logo

openmultiplayer / web Goto Github PK

View Code? Open in Web Editor NEW
102.0 102.0 323.0 50.67 MB

The open.mp web services monorepo. Homepage, documentation, server index, and more! All in one place.

Home Page: https://open.mp/

Dockerfile 0.06% Go 14.34% TypeScript 43.25% CSS 0.94% HTML 0.08% JavaScript 0.33% MDX 41.01%

web's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web's Issues

Only use MDXProvider for pages that use MDX files

MDXProvider puts a wrapper around markdown content, but it shouldn't apply to next-mdx-remote content using hydrate, only .mdx files inside the pages/ directory.

This is because those pages style themselves using custom layout, but .mdx files need padding etc.

getLanguageName.ts need to be modified

In my submission, open.mp The language options on the home page need to be modified.

  "zh-TW": "正體中文/繁體中文",
  "zh-CN": "简化字",

For most other websites, the distinction between simplified and traditional characters is as follows

  "zh-TW": "繁体中文",
  "zh-CN": "简体中文",

Warnings & Tips Key Tag Translation?!

This is really a small and unimportant thing, but Warnings and Tips are only read on the wiki if they have the English key tag, which means that they cannot be translated. (Warnings, Tips, Caution etc.)

As I said, it is literally a small thing, but it is still an unusual part in the middle of a translated page.

Base typography styles

Some work needs to be done to style documents nicer. Currently it's just a font with defaults.

Quick overview of how styles work:

Inside frontend/styles/ there is a file named base.css and this is the base CSS that will be applied globally to the whole site. This is where to set styles for basic typographic elements such as h1, p, etc...

In the source code, there are two additional styling approaches:

  • Tachyons: this handles most of the layout via composable classes. The majority of layout and some basic styling is done with these classes. These should not really touch things like typography and colours. Since these are applied to specific layout elements, these are not global (unless its a widely used component). Avoid using Tachyons on widely used components, just use it for structure and layout.
  • styled-jsx: this does slightly more complex styling that Tachyons does not have classes for. Usually display: grid elements and other specific things. This is generally only used for complex layouts and again should not be used for typography and style.

base.css should not contain classes, or if it does, they should be bound to an element type. Generally you should only be styling typographic elements in this file.

Internationalisation

This is something quite important to the open.mp project: making it easy for communities around the world to access and use open.mp software and documentation.

The wiki site uses Docusaurus v2 and there is currently no internationalisation support: facebook/docusaurus#3317 so we can either wait for support to land or start to introduce translations for pages then migrate to whatever Docusaurus implements when it's ready.

Edit:

For now, use this: https://github.com/openmultiplayer/wiki/blob/master/docs/translations/README.md

Make docs wider for non-paragraph blocks

Paragraphs should be measure for readability, but other content can be full-bleed for clarity.

This definitely applies to tables.

Also h1 headings are stuck on the left:

image

Indonesia Translation Progress List

This issues will be updated everytime someone made ID translation updates on wiki.
I took lists from #196 migrating from openmultiplayer/wiki#263

Hallo semuanya, disini aku meminta bantuan kalian untuk membantu aku untuk menerjemahkan wiki ini dengan bahasa indonesia, namun sebelum memulai membantu ada hal yang harus di sampaikan terlebih dahulu agar nantinya tidak salah dan tidak asal-asalan.

  1. Usahakan jangan terlalu terpaku dengan google terjemahan, kalau tidak faham bisa tag @Se8870 atau @rsetiawan7 atau bahkan orang yang kamu kenal.
  2. Diperhatikan, diskusikan, dan cari tahu kata apa yang tepat untuk digunakan di dalam wiki ini.
  3. Selalu beritahu bagian mu agar kita bisa membaginya bersama, tidak seenaknya untuk menterjemahkan suatu hal yang padahal itu sedang dikerjakan oleh orag lain.

Oh iya, ini akan selalu di update setiap ada yang translate indonesia di wiki, mau siapapun itu.
Tinggal komentar aja dibagian mana yang di update atau mention nanti bakal di merge secepatnya.

Itu saja yang bisa aku kasih tau, terimakasih telah membantu memberdayakan wiki ini 👏

List Translation Pages:
client

  • Common Issues
  • Crash Addresses

meta

  • Contributing.md

scripting/callbacks

  • OnActorStreamIn.md
  • OnActorStreamOut.md
  • OnClientMessage.md
  • OnDialogResponse.md
  • OnEnterExitModShop.md
  • OnFilterScriptExit.md
  • OnFilterScriptInit.md
  • OnGameModeExit.md
  • OnGameModeInit.md
  • OnIncomingConnection.md
  • OnObjectMoved.md
  • OnPlayerClickMap.md
  • OnPlayerClickPlayer.md
  • OnPlayerClickPlayerTextDraw.md
  • OnPlayerClickTextDraw.md
  • OnPlayerCommandText.md
  • OnPlayerConnect.md
  • OnPlayerDeath.md
  • OnPlayerDisconnect.md
  • OnPlayerEditAttachedObject.md
  • OnPlayerEditObject.md
  • OnPlayerEnterCheckpoint.md
  • OnPlayerEnterRaceCheckpoint.md
  • OnPlayerEnterVehicle.md
  • OnPlayerExitVehicle.md
  • OnPlayerExitedMenu.md
  • OnPlayerFinishedDownloading.md
  • OnPlayerGiveDamage.md
  • OnPlayerGiveDamageActor.md
  • OnPlayerInteriorChange.md
  • OnPlayerKeyStateChange.md
  • OnPlayerLeaveCheckpoint.md
  • OnPlayerLeaveRaceCheckpoint.md
  • OnPlayerObjectMoved.md
  • OnPlayerPickUpPickup.md
  • OnPlayerRequestClass.md
  • OnPlayerRequestDownload.md
  • OnPlayerRequestSpawn.md
  • OnPlayerSelectObject.md
  • OnPlayerSelectedMenuRow.md
  • OnPlayerSpawn.md
  • OnPlayerStateChange.md
  • OnPlayerStreamIn.md
  • OnPlayerStreamOut.md
  • OnPlayerTakeDamage.md
  • OnPlayerText.md
  • OnPlayerUpdate.md
  • OnPlayerWeaponShot.md
  • OnRconCommand.md
  • OnRconLoginAttempt.md
  • OnRecordingPlaybackEnd.md
  • OnTrailerUpdate.md
  • OnUnoccupiedVehicleUpdate.md
  • OnVehicleDamageStatusUpdate.md
  • OnVehicleDeath.md
  • OnVehicleMod.md
  • OnVehiclePaintjob.md
  • OnVehicleRespray.md
  • OnVehicleSirenStateChange.md
  • OnVehicleSpawn.md
  • OnVehicleStreamIn.md
  • OnVehicleStreamOut.md

scripting/functions

  • AddMenuItem.md
  • AddPlayerClass.md
  • AddPlayerClassEx.md
  • AddSimpleModel.md
  • AddSimpleModelTimed.md
  • AddStaticPickup.md
  • AddStaticVehicle.md
  • AddStaticVehicleEx.md
  • AddVehicleComponent.md
  • AllowAdminTeleport.md
  • AllowInteriorWeapons.md
  • AllowPlayerTeleport.md
  • ApplyActorAnimation.md
  • ApplyAnimation.md
  • Attach3DTextLabelToPlayer.md
  • Attach3DTextLabelToVehicle.md
  • AttachCameraToObject.md
  • AttachCameraToPlayerObject.md
  • AttachObjectToObject.md
  • AttachObjectToPlayer.md
  • AttachObjectToVehicle.md
  • AttachPlayerObjectToPlayer.md
  • AttachPlayerObjectToVehicle.md
  • AttachTrailerToVehicle.md
  • Ban.md
  • BanEx.md
  • BlockIpAddress.md
  • CallLocalFunction.md
  • CallRemoteFunction.md
  • CancelEdit.md
  • CancelSelectTextDraw.md
  • ChangeVehicleColor.md
  • ChangeVehiclePaintjob.md
  • ClearActorAnimations.md
  • ClearAnimations.md
  • ConnectNPC.md
  • Create3DTextLabel.md
  • CreateActor.md
  • CreateExplosion.md
  • CreateExplosionForPlayer.md
  • CreateMenu.md
  • CreateObject.md
  • CreatePickup.md
  • CreatePlayer3DTextLabel.md
  • CreatePlayerObject.md
  • CreatePlayerTextDraw.md
  • CreateVehicle.md
  • Delete3DTextLabel.md
  • DeletePVar.md
  • DeletePlayer3DTextLabel.md
  • DeleteSVar.md
  • DestroyActor.md
  • DestroyMenu.md
  • DestroyObject.md
  • DestroyPickup.md
  • DestroyPlayerObject.md
  • DestroyVehicle.md
  • DetachTrailerFromVehicle.md
  • DisableInteriorEnterExits.md
  • DisableMenu.md
  • DisableMenuRow.md
  • DisableNameTagLOS.md
  • DisablePlayerCheckpoint.md
  • DisablePlayerRaceCheckpoint.md
  • DisableRemoteVehicleCollisions.md
  • EditAttachedObject.md
  • EditObject.md
  • EditPlayerObject.md
  • EnablePlayerCameraTarget.md
  • EnableStuntBonusForAll.md
  • EnableStuntBonusForPlayer.md
  • EnableTirePopping.md
  • EnableVehicleFriendlyFire.md
  • EnableZoneNames.md
  • FindModelFileNameFromCRC.md
  • FindTextureFileNameFromCRC.md
  • ForceClassSelection.md
  • GameModeExit.md
  • GameTextForAll.md
  • GameTextForPlayer.md
  • GangZoneCreate.md
  • GangZoneDestroy.md
  • GangZoneFlashForAll.md
  • GangZoneFlashForPlayer.md
  • GangZoneHideForAll.md
  • GangZoneHideForPlayer.md
  • GangZoneShowForAll.md
  • GangZoneShowForPlayer.md
  • GangZoneStopFlashForAll.md
  • GangZoneStopFlashForPlayer.md
  • GetActorFacingAngle.md
  • GetActorHealth.md
  • GetActorPoolSize.md
  • GetActorPos.md
  • GetActorVirtualWorld.md
  • GetAnimationName.md
  • GetConsoleVarAsBool.md
  • GetConsoleVarAsInt.md
  • GetConsoleVarAsString.md
  • GetGravity.md
  • GetGravity_FR.md
  • GetMaxPlayers.md
  • GetNetworkStats.md
  • GetObjectModel.md
  • GetObjectPos.md
  • GetObjectRot.md
  • GetPVarFloat.md
  • GetPVarInt.md
  • GetPVarNameAtIndex.md
  • GetPVarString.md
  • GetPVarType.md
  • GetPVarsUpperIndex.md
  • GetPlayerAmmo.md
  • GetPlayerAmmo_DE.md
  • GetPlayerAnimationIndex.md
  • GetPlayerArmour.md
  • GetPlayerCameraAspectRatio.md
  • GetPlayerCameraFrontVector.md
  • GetPlayerCameraMode.md
  • GetPlayerCameraPos.md
  • GetPlayerCameraTargetActor.md
  • GetPlayerCameraTargetObject.md
  • GetPlayerCameraTargetPlayer.md
  • GetPlayerCameraTargetVehicle.md
  • GetPlayerCameraUpVector.md
  • GetPlayerCameraZoom.md
  • GetPlayerColor.md
  • GetPlayerCustomSkin.md
  • GetPlayerDistanceFromPoint.md
  • GetPlayerDrunkLevel.md
  • GetPlayerFacingAngle.md
  • GetPlayerFightingStyle.md
  • GetPlayerHealth.md
  • GetPlayerInterior.md
  • GetPlayerIp.md
  • GetPlayerKeys.md
  • GetPlayerKeys_FR.md
  • GetPlayerLastShotVectors.md
  • GetPlayerMenu.md
  • GetPlayerMoney.md
  • GetPlayerName.md
  • GetPlayerNetworkStats.md
  • GetPlayerObjectModel.md
  • GetPlayerObjectPos.md
  • GetPlayerObjectRot.md
  • GetPlayerPing.md
  • GetPlayerPoolSize.md
  • GetPlayerPos.md
  • GetPlayerScore.md
  • GetPlayerSkin.md
  • GetPlayerSpecialAction.md
  • GetPlayerState.md
  • GetPlayerSurfingObjectID.md
  • GetPlayerSurfingVehicleID.md
  • GetPlayerTargetActor.md
  • GetPlayerTargetPlayer.md
  • GetPlayerTeam.md
  • GetPlayerTime.md
  • GetPlayerVehicleID.md
  • GetPlayerVehicleSeat.md
  • GetPlayerVelocity.md
  • GetPlayerVersion.md
  • GetPlayerVirtualWorld.md
  • GetPlayerWantedLevel.md
  • GetPlayerWeapon.md
  • GetPlayerWeaponData.md
  • GetPlayerWeaponState.md
  • GetSVarFloat.md
  • GetSVarInt.md
  • GetSVarNameAtIndex.md
  • GetSVarString.md
  • GetSVarType.md
  • GetSVarsUpperIndex.md
  • GetServerTickRate.md
  • GetServerVarAsBool.md
  • GetServerVarAsInt.md
  • GetServerVarAsString.md
  • GetTickCount.md
  • GetVehicleComponentInSlot.md
  • GetVehicleComponentType.md
  • GetVehicleDamageStatus.md
  • GetVehicleDistanceFromPoint.md
  • GetVehicleHealth.md
  • GetVehicleModel.md
  • GetVehicleModelInfo.md
  • GetVehicleParamsCarDoors.md
  • GetVehicleParamsCarWindows.md
  • GetVehicleParamsEx.md
  • GetVehicleParamsSirenState.md
  • GetVehiclePoolSize.md
  • GetVehiclePos.md
  • GetVehicleRotationQuat.md
  • GetVehicleTrailer.md
  • GetVehicleVelocity.md
  • GetVehicleVirtualWorld.md
  • GetVehicleZAngle.md
  • GetWeaponName.md
  • GivePlayerMoney.md
  • GivePlayerWeapon.md
  • HTTP.md
  • HideMenuForPlayer.md
  • InterpolateCameraLookAt.md
  • InterpolateCameraPos.md
  • IsActorInvulnerable.md
  • IsActorStreamedIn.md
  • IsObjectMoving.md
  • IsPlayerAdmin.md
  • IsPlayerAttachedObjectSlotUsed.md
  • IsPlayerConnected.md
  • IsPlayerInAnyVehicle.md
  • IsPlayerInCheckpoint.md
  • IsPlayerInRaceCheckpoint.md
  • IsPlayerInRangeOfPoint.md
  • IsPlayerInVehicle.md
  • IsPlayerNPC.md
  • IsPlayerObjectMoving.md
  • IsPlayerStreamedIn.md
  • IsTrailerAttachedToVehicle.md
  • IsValidActor.md
  • IsValidMenu.md
  • IsValidObject.md
  • IsValidPlayerObject.md
  • IsValidVehicle.md
  • IsVehicleStreamedIn.md
  • Kick.md
  • KillTimer.md
  • LimitGlobalChatRadius.md
  • LimitPlayerMarkerRadius.md
  • LinkVehicleToInterior.md
  • ManualVehicleEngineAndLights.md
  • MoveObject.md
  • MovePlayerObject.md
  • NetStats_BytesReceived.md
  • NetStats_BytesSent.md
  • NetStats_ConnectionStatus.md
  • NetStats_GetConnectedTime.md
  • NetStats_GetIpPort.md
  • NetStats_MessagesReceived.md
  • NetStats_MessagesRecvPerSecond.md
  • NetStats_MessagesSent.md
  • NetStats_PacketLossPercent.md
  • PlayAudioStreamForPlayer.md
  • PlayCrimeReportForPlayer.md
  • PlayerPlaySound.md
  • PlayerSpectatePlayer.md
  • PlayerSpectateVehicle.md
  • PlayerTextDrawAlignment.md
  • PlayerTextDrawBackgroundColor.md
  • PlayerTextDrawBoxColor.md
  • PlayerTextDrawColor.md
  • PlayerTextDrawDestroy.md
  • PlayerTextDrawFont.md
  • PlayerTextDrawHide.md
  • PlayerTextDrawLetterSize.md
  • PlayerTextDrawSetOutline.md
  • PlayerTextDrawSetPreviewModel.md
  • PlayerTextDrawSetPreviewRot.md
  • PlayerTextDrawSetPreviewVehCol.md
  • PlayerTextDrawSetProportional.md
  • PlayerTextDrawSetSelectable.md
  • PlayerTextDrawSetShadow.md
  • PlayerTextDrawSetString.md
  • PlayerTextDrawShow.md
  • PlayerTextDrawTextSize.md
  • PlayerTextDrawUseBox.md
  • PutPlayerInVehicle.md
  • RedirectDownload.md
  • RemoveBuildingForPlayer.md
  • RemovePlayerAttachedObject.md
  • RemovePlayerFromVehicle.md
  • RemovePlayerMapIcon.md
  • RemoveVehicleComponent.md
  • RepairVehicle.md
  • ResetPlayerMoney.md
  • ResetPlayerWeapons.md
  • SHA256_PassHash.md
  • SelectObject.md
  • SelectTextDraw.md
  • SendClientMessage.md
  • SendClientMessageToAll.md
  • SendDeathMessage.md
  • SendDeathMessageToPlayer.md
  • SendPlayerMessageToAll.md
  • SendPlayerMessageToPlayer.md
  • SendRconCommand.md
  • SetActorFacingAngle.md
  • SetActorHealth.md
  • SetActorInvulnerable.md
  • SetActorPos.md
  • SetActorVirtualWorld.md
  • SetCameraBehindPlayer.md
  • SetDeathDropAmount.md
  • SetGameModeText.md
  • SetGravity.md
  • SetMenuColumnHeader.md
  • SetNameTagDrawDistance.md
  • SetObjectMaterial.md
  • SetObjectMaterialText.md
  • SetObjectNoCameraCol.md
  • SetObjectPos.md
  • SetObjectRot.md
  • SetObjectsDefaultCameraCol.md
  • SetPVarFloat.md
  • SetPVarInt.md
  • SetPVarString.md
  • SetPlayerAmmo.md
  • SetPlayerArmedWeapon.md
  • SetPlayerArmour.md
  • SetPlayerAttachedObject.md
  • SetPlayerCameraLookAt.md
  • SetPlayerCameraPos.md
  • SetPlayerChatBubble.md
  • SetPlayerCheckpoint.md
  • SetPlayerColor.md
  • SetPlayerDrunkLevel.md
  • SetPlayerFacingAngle.md
  • SetPlayerFightingStyle.md
  • SetPlayerHealth.md
  • SetPlayerHoldingObject.md
  • SetPlayerInterior.md
  • SetPlayerMapIcon.md
  • SetPlayerMarkerForPlayer.md
  • SetPlayerName.md
  • SetPlayerObjectMaterial.md
  • SetPlayerObjectMaterialText.md
  • SetPlayerObjectNoCameraCol.md
  • SetPlayerObjectPos.md
  • SetPlayerObjectRot.md
  • SetPlayerPos.md
  • SetPlayerPosFindZ.md
  • SetPlayerRaceCheckpoint.md
  • SetPlayerScore.md
  • SetPlayerShopName.md
  • SetPlayerSkillLevel.md
  • SetPlayerSkin.md
  • SetPlayerSpecialAction.md
  • SetPlayerTeam.md
  • SetPlayerTime.md
  • SetPlayerVelocity.md
  • SetPlayerVirtualWorld.md
  • SetPlayerWantedLevel.md
  • SetPlayerWeather.md
  • SetPlayerWorldBounds.md
  • SetSVarFloat.md
  • SetSVarInt.md
  • SetSVarString.md
  • SetSpawnInfo.md
  • SetTeamCount.md
  • SetTimer.md
  • SetTimerEx.md
  • SetVehicleAngularVelocity.md
  • SetVehicleHealth.md
  • SetVehicleNumberPlate.md
  • SetVehicleParamsCarDoors.md
  • SetVehicleParamsCarWindows.md
  • SetVehicleParamsEx.md
  • SetVehicleParamsForPlayer.md
  • SetVehiclePos.md
  • SetVehicleToRespawn.md
  • SetVehicleVelocity.md
  • SetVehicleVirtualWorld.md
  • SetVehicleZAngle.md
  • SetWeather.md
  • SetWorldTime.md
  • ShowMenuForPlayer.md
  • ShowNameTags.md
  • ShowPlayerDialog.md
  • ShowPlayerMarkers.md
  • ShowPlayerNameTagForPlayer.md
  • SpawnPlayer.md
  • StartRecordingPlayerData.md
  • StopAudioStreamForPlayer.md
  • StopObject.md
  • StopPlayerHoldingObject.md
  • StopPlayerObject.md
  • StopRecordingPlayerData.md
  • TextDrawAlignment.md
  • TextDrawBackgroundColor.md
  • TextDrawBoxColor.md
  • TextDrawColor.md
  • TextDrawCreate.md
  • TextDrawDestroy.md
  • TextDrawFont.md
  • TextDrawHideForAll.md
  • TextDrawHideForPlayer.md
  • TextDrawLetterSize.md
  • TextDrawSetOutline.md
  • TextDrawSetPreviewModel.md
  • TextDrawSetPreviewRot.md
  • TextDrawSetPreviewVehCol.md
  • TextDrawSetProportional.md
  • TextDrawSetSelectable.md
  • TextDrawSetShadow.md
  • TextDrawSetString.md
  • TextDrawShowForAll.md
  • TextDrawShowForPlayer.md
  • TextDrawTextSize.md
  • TextDrawUseBox.md
  • Tickcount.md
  • TogglePlayerClock.md
  • TogglePlayerControllable.md
  • TogglePlayerSpectating.md
  • UnBlockIpAddress.md
  • Update3DTextLabelText.md
  • UpdatePlayer3DTextLabelText.md
  • UpdateVehicleDamageStatus.md
  • UsePlayerPedAnims.md
  • VectorSize.md
  • acos.md
  • asin.md
  • atan.md
  • atan2.md
  • clamp.md
  • db_close.md
  • db_debug_openfiles.md
  • db_debug_openresults.md
  • db_field_name.md
  • db_free_result.md
  • db_get_field.md
  • db_get_field_assoc.md
  • db_get_field_assoc_float.md
  • db_get_field_assoc_int.md
  • db_get_field_float.md
  • db_get_field_int.md
  • db_get_mem_handle.md
  • db_get_result_mem_handle.md
  • db_next_row.md
  • db_num_fields.md
  • db_num_rows.md
  • db_open.md
  • db_query.md
  • deleteproperty.md
  • existproperty.md
  • fblockread.md
  • fblockwrite.md
  • fclose.md
  • fexist.md
  • fgetchar.md
  • flength.md
  • float.md
  • floatabs.md
  • floatadd.md
  • floatcmp.md
  • floatcos.md
  • floatdiv.md
  • floatfract.md
  • floatlog.md
  • floatmul.md
  • floatpower.md
  • floatround.md
  • floatsin.md
  • floatsqroot.md
  • floatstr.md
  • floatsub.md
  • floattan.md
  • fmatch.md
  • fopen.md
  • format.md
  • fputchar.md
  • fread.md
  • fremove.md
  • fseek.md
  • ftemp.md
  • funcidx.md
  • fwrite.md
  • getarg.md
  • getdate.md
  • getproperty.md
  • gettime.md
  • gpci.md
  • heapspace.md
  • index.md
  • ispacked.md
  • listenport.md
  • max.md
  • memcpy.md
  • min.md
  • numargs.md
  • print.md
  • printf.md
  • random.md
  • sendpacket.md
  • sendstring.md
  • setarg.md
  • setproperty.md
  • strcat.md
  • strcmp.md
  • strdel.md
  • strfind.md
  • strins.md
  • strlen.md
  • strmid.md
  • strpack.md
  • strunpack.md
  • strval.md
  • swapchars.md
  • tolower.md
  • toupper.md
  • uudecode.md
  • uuencode.md
  • valstr.md

scripting/language

  • ControlStructures.md
  • Directives.md
  • Initialisers.md
  • Operators.md
  • Statements.md
  • Style.md
  • Tags.md

scripting/resources

  • anglemodes.md
  • animations.md
  • bodyparts.md
  • boneid.md
  • bullethittypes.md
  • cameracutstyles.md
  • cameramodes.md
  • carcomponentid.md
  • clicksources.md
  • colorslist.md
  • connectionstatus.md
  • crimelist.md
  • damagestatus.md
  • dialogstyles.md
  • doorstates.md
  • escapecodes.md
  • explosionlist.md
  • fightingstyles.md
  • gametextstyles.md
  • glossary.md
  • hexcolors.md
  • interiorids.md
  • keys.md
  • lightstates.md
  • limits.md
  • mapicons.md
  • mapiconstyles.md
  • markermodes.md
  • materialtextalignment.md
  • materialtextsizes.md
  • networkstats.md
  • objecteditionresponsetypes.md
  • colors.md
  • pickupids.md
  • pickuptypes.md
  • playerstates.md
  • pvartypes.md
  • recordtypes.md
  • samp_objects.md
  • selectobjecttypes.md
  • shopnames.md
  • skins.md
  • ids.md
  • specialactions.md
  • spectatemodes.md
  • start.md
  • startingids.md
  • textalignments.md
  • textdraws.md
  • textdrawsprites.md
  • tirestates.md
  • vehiclecolorid.md
  • vehiclehealth.md
  • vehicleid.md
  • vehicleinformationtypes.md
  • vendingmachines.md
  • weaponids.md
  • weaponskills.md
  • weaponstates.md
  • weatherid.md

scripting/resources/_server

  • controllingaserver.md
  • lagcompensation.md
  • remoteconsole.md
  • server.cfg.md

tutorials

  • AdvancedStructures.md
  • Binary.md
  • _tutorials.md
  • colorfix.md
  • cooldowns.md
  • MenuGuide.md
  • perplayervariablesystem.md
  • servervariablesystem.md
  • stringmanipulation.md

Internationalized routing support for docs

Currently the language select causes a 404 on docs pages.

What needs to happen is the language select should be based on what translations are available for the current page. Then, when the page is navigated to, grab the locale from context and read the translated file on getStaticProps.

During build, we can probably also build a list of all possible translations of each page by trying to walk the same tree with docs/translations/... prefixing the path.

Move blog posts to ./frontend/content and remove next-mdx plugin

These pages are the only thing that use next-mdx and it would simplify everything by just removing it and using our existing MDX infrastructure for rendering.

So, the blog posts need to be moved to content/en/blog and then we can either make the index renderer [...].tsx so it matches any path or make a new [slug].tsx in pages/blog/

The latter would be simplest and only touch blog code. The former will be slightly more complex but more future proof.

The benefit of doing this is that blog posts can then be translated simply by writing the translated version into the same directory structure in another language directory. We should also add a fallback warning just like docs.

Essentially, all the static content of the site will now be rendered the same way - using the mdx-helpers functions.

Authentication

Potential auth methods:

I'd rather not store passwords tbh, email magic link would be a good first implementation, and github login isn't too difficult to implement.

Would like some feedback on this from users regarding their preferred methods of authenticating.

Case insensitivity

Docs pages are currently case sensitive - because the site is run on a linux environment which is case sensitive.

Not entirely sure how to solve this one. Probably just lowercase everything or do a glob search at build time...

TextDrawCreate canvas

The x,y coordinate is the top left coordinate for the text draw area based on a 640x448 "canvas" (irrespective of screen resolution).

I think it should be 640x480.

Add more pages to nav

Nav currently just has Home, Servers and Docs - which is nice and minimal, but there's also some temporary links to add:

  • missing-sites
  • progress
  • blog

Render newly added pages in pull requests at build-time

Currently, most pages are pulled from the API at render time in order to reduce build times. Unfortunately, this means that pages added via pull request don't get built and are missing when previewed - this kind of defeats the purpose of using Vercel now, at least for documentation contributors. The preview tool is vital for catching formatting errors for documentation markdown.

So, the solution for this that doesn't involve 20+ minute build times is to pass a set of pages to getStaticPaths which are any files modified in the current diff against master branch inside the docs/ directory.

Hopefully this won't be too hard:

  • Detect if the build is preview and not prod by using VERCEL_ENV
  • Run git diff master HEAD --name-only -- docs to get a list of files that this current PR touched in docs/
  • Pass those paths to getStaticPaths

Polish translation checklist

This issue contains a checklist of Polish translations, so everyone who wants to contribute can check which pages are missing. You can also discuss here about translation quality or notify me, if I haven't updated the list with your contribution yet.

Tutaj znajdziesz listę kontrolną polskiego tłumaczenia, więc każdy kto chce pomóc może sprawdzić, których stron brakuje. Można tutaj także dyskutować o jakości tłumaczenia lub powiadomić mnie, jeżeli jeszcze nie zaktualizowałem listy z Waszymi zmianami.

meta

  • Contributing.md

scripting/callbacks

  • OnActorStreamIn.md
  • OnActorStreamOut.md
  • OnClientMessage.md
  • OnDialogResponse.md
  • OnEnterExitModShop.md
  • OnFilterScriptExit.md
  • OnFilterScriptInit.md
  • OnGameModeExit.md
  • OnGameModeInit.md
  • OnIncomingConnection.md
  • OnObjectMoved.md
  • OnPlayerClickMap.md
  • OnPlayerClickPlayer.md
  • OnPlayerClickPlayerTextDraw.md
  • OnPlayerClickTextDraw.md
  • OnPlayerCommandText.md
  • OnPlayerConnect.md
  • OnPlayerDeath.md
  • OnPlayerDisconnect.md
  • OnPlayerEditAttachedObject.md
  • OnPlayerEditObject.md
  • OnPlayerEnterCheckpoint.md
  • OnPlayerEnterRaceCheckpoint.md
  • OnPlayerEnterVehicle.md
  • OnPlayerExitVehicle.md
  • OnPlayerExitedMenu.md
  • OnPlayerFinishedDownloading.md
  • OnPlayerGiveDamage.md
  • OnPlayerGiveDamageActor.md
  • OnPlayerInteriorChange.md
  • OnPlayerKeyStateChange.md
  • OnPlayerLeaveCheckpoint.md
  • OnPlayerLeaveRaceCheckpoint.md
  • OnPlayerObjectMoved.md
  • OnPlayerPickUpPickup.md
  • OnPlayerRequestClass.md
  • OnPlayerRequestDownload.md
  • OnPlayerRequestSpawn.md
  • OnPlayerSelectObject.md
  • OnPlayerSelectedMenuRow.md
  • OnPlayerSpawn.md
  • OnPlayerStateChange.md
  • OnPlayerStreamIn.md
  • OnPlayerStreamOut.md
  • OnPlayerTakeDamage.md
  • OnPlayerText.md
  • OnPlayerUpdate.md
  • OnPlayerWeaponShot.md
  • OnRconCommand.md
  • OnRconLoginAttempt.md
  • OnRecordingPlaybackEnd.md
  • OnTrailerUpdate.md
  • OnUnoccupiedVehicleUpdate.md
  • OnVehicleDamageStatusUpdate.md
  • OnVehicleDeath.md
  • OnVehicleMod.md
  • OnVehiclePaintjob.md
  • OnVehicleRespray.md
  • OnVehicleSirenStateChange.md
  • OnVehicleSpawn.md
  • OnVehicleStreamIn.md
  • OnVehicleStreamOut.md

scripting/functions

  • AddCharModel.md
  • AddMenuItem.md
  • AddPlayerClass.md
  • AddPlayerClassEx.md
  • AddSimpleModel.md
  • AddSimpleModelTimed.md
  • AddStaticPickup.md
  • AddStaticVehicle.md
  • AddStaticVehicleEx.md
  • AddVehicleComponent.md
  • AllowAdminTeleport.md
  • AllowInteriorWeapons.md
  • AllowPlayerTeleport.md
  • ApplyActorAnimation.md
  • ApplyAnimation.md
  • Attach3DTextLabelToPlayer.md
  • Attach3DTextLabelToVehicle.md
  • AttachCameraToObject.md
  • AttachCameraToPlayerObject.md
  • AttachObjectToObject.md
  • AttachObjectToPlayer.md
  • AttachObjectToVehicle.md
  • AttachPlayerObjectToPlayer.md
  • AttachPlayerObjectToVehicle.md
  • AttachTrailerToVehicle.md
  • Ban.md
  • BanEx.md
  • BlockIpAddress.md
  • CallLocalFunction.md
  • CallRemoteFunction.md
  • CancelEdit.md
  • CancelSelectTextDraw.md
  • ChangeVehicleColor.md
  • ChangeVehiclePaintjob.md
  • ClearActorAnimations.md
  • ClearAnimations.md
  • ConnectNPC.md
  • Create3DTextLabel.md
  • CreateActor.md
  • CreateExplosion.md
  • CreateExplosionForPlayer.md
  • CreateMenu.md
  • CreateObject.md
  • CreatePickup.md
  • CreatePlayer3DTextLabel.md
  • CreatePlayerObject.md
  • CreatePlayerTextDraw.md
  • CreateVehicle.md
  • Delete3DTextLabel.md
  • DeletePVar.md
  • DeletePlayer3DTextLabel.md
  • DeleteSVar.md
  • DestroyActor.md
  • DestroyMenu.md
  • DestroyObject.md
  • DestroyPickup.md
  • DestroyPlayerObject.md
  • DestroyVehicle.md
  • DetachTrailerFromVehicle.md
  • DisableInteriorEnterExits.md
  • DisableMenu.md
  • DisableMenuRow.md
  • DisableNameTagLOS.md
  • DisablePlayerCheckpoint.md
  • DisablePlayerRaceCheckpoint.md
  • DisableRemoteVehicleCollisions.md
  • EditAttachedObject.md
  • EditObject.md
  • EditPlayerObject.md
  • EnablePlayerCameraTarget.md
  • EnableStuntBonusForAll.md
  • EnableStuntBonusForPlayer.md
  • EnableTirePopping.md
  • EnableVehicleFriendlyFire.md
  • EnableZoneNames.md
  • FindModelFileNameFromCRC.md
  • FindTextureFileNameFromCRC.md
  • ForceClassSelection.md
  • GameModeExit.md
  • GameTextForAll.md
  • GameTextForPlayer.md
  • GangZoneCreate.md
  • GangZoneDestroy.md
  • GangZoneFlashForAll.md
  • GangZoneFlashForPlayer.md
  • GangZoneHideForAll.md
  • GangZoneHideForPlayer.md
  • GangZoneShowForAll.md
  • GangZoneShowForPlayer.md
  • GangZoneStopFlashForAll.md
  • GangZoneStopFlashForPlayer.md
  • GetActorFacingAngle.md
  • GetActorHealth.md
  • GetActorPoolSize.md
  • GetActorPos.md
  • GetActorVirtualWorld.md
  • GetAnimationName.md
  • GetConsoleVarAsBool.md
  • GetConsoleVarAsInt.md
  • GetConsoleVarAsString.md
  • GetGravity.md
  • GetMaxPlayers.md
  • GetNetworkStats.md
  • GetObjectModel.md
  • GetObjectPos.md
  • GetObjectRot.md
  • GetPVarFloat.md
  • GetPVarInt.md
  • GetPVarNameAtIndex.md
  • GetPVarString.md
  • GetPVarType.md
  • GetPVarsUpperIndex.md
  • GetPlayerAmmo.md
  • GetPlayerAnimationIndex.md
  • GetPlayerArmour.md
  • GetPlayerCameraAspectRatio.md
  • GetPlayerCameraFrontVector.md
  • GetPlayerCameraMode.md
  • GetPlayerCameraPos.md
  • GetPlayerCameraTargetActor.md
  • GetPlayerCameraTargetObject.md
  • GetPlayerCameraTargetPlayer.md
  • GetPlayerCameraTargetVehicle.md
  • GetPlayerCameraUpVector.md
  • GetPlayerCameraZoom.md
  • GetPlayerColor.md
  • GetPlayerCustomSkin.md
  • GetPlayerDistanceFromPoint.md
  • GetPlayerDrunkLevel.md
  • GetPlayerFacingAngle.md
  • GetPlayerFightingStyle.md
  • GetPlayerHealth.md
  • GetPlayerInterior.md
  • GetPlayerIp.md
  • GetPlayerKeys.md
  • GetPlayerLastShotVectors.md
  • GetPlayerMenu.md
  • GetPlayerMoney.md
  • GetPlayerName.md
  • GetPlayerNetworkStats.md
  • GetPlayerObjectModel.md
  • GetPlayerObjectPos.md
  • GetPlayerObjectRot.md
  • GetPlayerPing.md
  • GetPlayerPoolSize.md
  • GetPlayerPos.md
  • GetPlayerScore.md
  • GetPlayerSkin.md
  • GetPlayerSpecialAction.md
  • GetPlayerState.md
  • GetPlayerSurfingObjectID.md
  • GetPlayerSurfingVehicleID.md
  • GetPlayerTargetActor.md
  • GetPlayerTargetPlayer.md
  • GetPlayerTeam.md
  • GetPlayerTime.md
  • GetPlayerVehicleID.md
  • GetPlayerVehicleSeat.md
  • GetPlayerVelocity.md
  • GetPlayerVersion.md
  • GetPlayerVirtualWorld.md
  • GetPlayerWantedLevel.md
  • GetPlayerWeapon.md
  • GetPlayerWeaponData.md
  • GetPlayerWeaponState.md
  • GetSVarFloat.md
  • GetSVarInt.md
  • GetSVarNameAtIndex.md
  • GetSVarString.md
  • GetSVarType.md
  • GetSVarsUpperIndex.md
  • GetServerTickRate.md
  • GetServerVarAsBool.md
  • GetServerVarAsInt.md
  • GetServerVarAsString.md
  • GetTickCount.md
  • GetVehicleComponentInSlot.md
  • GetVehicleComponentType.md
  • GetVehicleDamageStatus.md
  • GetVehicleDistanceFromPoint.md
  • GetVehicleHealth.md
  • GetVehicleModel.md
  • GetVehicleModelInfo.md
  • GetVehicleParamsCarDoors.md
  • GetVehicleParamsCarWindows.md
  • GetVehicleParamsEx.md
  • GetVehicleParamsSirenState.md
  • GetVehiclePoolSize.md
  • GetVehiclePos.md
  • GetVehicleRotationQuat.md
  • GetVehicleTrailer.md
  • GetVehicleVelocity.md
  • GetVehicleVirtualWorld.md
  • GetVehicleZAngle.md
  • GetWeaponName.md
  • GivePlayerMoney.md
  • GivePlayerWeapon.md
  • HTTP.md
  • HideMenuForPlayer.md
  • InterpolateCameraLookAt.md
  • InterpolateCameraPos.md
  • IsActorInvulnerable.md
  • IsActorStreamedIn.md
  • IsObjectMoving.md
  • IsPlayerAdmin.md
  • IsPlayerAttachedObjectSlotUsed.md
  • IsPlayerConnected.md
  • IsPlayerInAnyVehicle.md
  • IsPlayerInCheckpoint.md
  • IsPlayerInRaceCheckpoint.md
  • IsPlayerInRangeOfPoint.md
  • IsPlayerInVehicle.md
  • IsPlayerNPC.md
  • IsPlayerObjectMoving.md
  • IsPlayerStreamedIn.md
  • IsTrailerAttachedToVehicle.md
  • IsValidActor.md
  • IsValidMenu.md
  • IsValidObject.md
  • IsValidPlayerObject.md
  • IsValidVehicle.md
  • IsVehicleStreamedIn.md
  • Kick.md
  • KillTimer.md
  • LimitGlobalChatRadius.md
  • LimitPlayerMarkerRadius.md
  • LinkVehicleToInterior.md
  • ManualVehicleEngineAndLights.md
  • MoveObject.md
  • MovePlayerObject.md
  • NetStats_BytesReceived.md
  • NetStats_BytesSent.md
  • NetStats_ConnectionStatus.md
  • NetStats_GetConnectedTime.md
  • NetStats_GetIpPort.md
  • NetStats_MessagesReceived.md
  • NetStats_MessagesRecvPerSecond.md
  • NetStats_MessagesSent.md
  • NetStats_PacketLossPercent.md
  • PlayAudioStreamForPlayer.md
  • PlayCrimeReportForPlayer.md
  • PlayerPlaySound.md
  • PlayerSpectatePlayer.md
  • PlayerSpectateVehicle.md
  • PlayerTextDrawAlignment.md
  • PlayerTextDrawBackgroundColor.md
  • PlayerTextDrawBoxColor.md
  • PlayerTextDrawColor.md
  • PlayerTextDrawDestroy.md
  • PlayerTextDrawFont.md
  • PlayerTextDrawHide.md
  • PlayerTextDrawLetterSize.md
  • PlayerTextDrawSetOutline.md
  • PlayerTextDrawSetPreviewModel.md
  • PlayerTextDrawSetPreviewRot.md
  • PlayerTextDrawSetPreviewVehCol.md
  • PlayerTextDrawSetProportional.md
  • PlayerTextDrawSetSelectable.md
  • PlayerTextDrawSetShadow.md
  • PlayerTextDrawSetString.md
  • PlayerTextDrawShow.md
  • PlayerTextDrawTextSize.md
  • PlayerTextDrawUseBox.md
  • PutPlayerInVehicle.md
  • RedirectDownload.md
  • RemoveBuildingForPlayer.md
  • RemovePlayerAttachedObject.md
  • RemovePlayerFromVehicle.md
  • RemovePlayerMapIcon.md
  • RemoveVehicleComponent.md
  • RepairVehicle.md
  • ResetPlayerMoney.md
  • ResetPlayerWeapons.md
  • SHA256_PassHash.md
  • SelectObject.md
  • SelectTextDraw.md
  • SendClientMessage.md
  • SendClientMessageToAll.md
  • SendDeathMessage.md
  • SendDeathMessageToPlayer.md
  • SendPlayerMessageToAll.md
  • SendPlayerMessageToPlayer.md
  • SendRconCommand.md
  • SetActorFacingAngle.md
  • SetActorHealth.md
  • SetActorInvulnerable.md
  • SetActorPos.md
  • SetActorVirtualWorld.md
  • SetCameraBehindPlayer.md
  • SetDeathDropAmount.md
  • SetGameModeText.md
  • SetGravity.md
  • SetMenuColumnHeader.md
  • SetNameTagDrawDistance.md
  • SetObjectMaterial.md
  • SetObjectMaterialText.md
  • SetObjectNoCameraCol.md
  • SetObjectPos.md
  • SetObjectRot.md
  • SetObjectsDefaultCameraCol.md
  • SetPVarFloat.md
  • SetPVarInt.md
  • SetPVarString.md
  • SetPlayerAmmo.md
  • SetPlayerArmedWeapon.md
  • SetPlayerArmour.md
  • SetPlayerAttachedObject.md
  • SetPlayerCameraLookAt.md
  • SetPlayerCameraPos.md
  • SetPlayerChatBubble.md
  • SetPlayerCheckpoint.md
  • SetPlayerColor.md
  • SetPlayerDrunkLevel.md
  • SetPlayerFacingAngle.md
  • SetPlayerFightingStyle.md
  • SetPlayerHealth.md
  • SetPlayerHoldingObject.md
  • SetPlayerInterior.md
  • SetPlayerMapIcon.md
  • SetPlayerMarkerForPlayer.md
  • SetPlayerName.md
  • SetPlayerObjectMaterial.md
  • SetPlayerObjectMaterialText.md
  • SetPlayerObjectNoCameraCol.md
  • SetPlayerObjectPos.md
  • SetPlayerObjectRot.md
  • SetPlayerPos.md
  • SetPlayerPosFindZ.md
  • SetPlayerRaceCheckpoint.md
  • SetPlayerScore.md
  • SetPlayerShopName.md
  • SetPlayerSkillLevel.md
  • SetPlayerSkin.md
  • SetPlayerSpecialAction.md
  • SetPlayerTeam.md
  • SetPlayerTime.md
  • SetPlayerVelocity.md
  • SetPlayerVirtualWorld.md
  • SetPlayerWantedLevel.md
  • SetPlayerWeather.md
  • SetPlayerWorldBounds.md
  • SetSVarFloat.md
  • SetSVarInt.md
  • SetSVarString.md
  • SetSpawnInfo.md
  • SetTeamCount.md
  • SetTimer.md
  • SetTimerEx.md
  • SetVehicleAngularVelocity.md
  • SetVehicleHealth.md
  • SetVehicleNumberPlate.md
  • SetVehicleParamsCarDoors.md
  • SetVehicleParamsCarWindows.md
  • SetVehicleParamsEx.md
  • SetVehicleParamsForPlayer.md
  • SetVehiclePos.md
  • SetVehicleToRespawn.md
  • SetVehicleVelocity.md
  • SetVehicleVirtualWorld.md
  • SetVehicleZAngle.md
  • SetWeather.md
  • SetWorldTime.md
  • ShowMenuForPlayer.md
  • ShowNameTags.md
  • ShowPlayerDialog.md
  • ShowPlayerMarkers.md
  • ShowPlayerNameTagForPlayer.md
  • SpawnPlayer.md
  • StartRecordingPlayerData.md
  • StopAudioStreamForPlayer.md
  • StopObject.md
  • StopPlayerHoldingObject.md
  • StopPlayerObject.md
  • StopRecordingPlayerData.md
  • TextDrawAlignment.md
  • TextDrawBackgroundColor.md
  • TextDrawBoxColor.md
  • TextDrawColor.md
  • TextDrawCreate.md
  • TextDrawDestroy.md
  • TextDrawFont.md
  • TextDrawHideForAll.md
  • TextDrawHideForPlayer.md
  • TextDrawLetterSize.md
  • TextDrawSetOutline.md
  • TextDrawSetPreviewModel.md
  • TextDrawSetPreviewRot.md
  • TextDrawSetPreviewVehCol.md
  • TextDrawSetProportional.md
  • TextDrawSetSelectable.md
  • TextDrawSetShadow.md
  • TextDrawSetString.md
  • TextDrawShowForAll.md
  • TextDrawShowForPlayer.md
  • TextDrawTextSize.md
  • TextDrawUseBox.md
  • Tickcount.md
  • TogglePlayerClock.md
  • TogglePlayerControllable.md
  • TogglePlayerSpectating.md
  • UnBlockIpAddress.md
  • Update3DTextLabelText.md
  • UpdatePlayer3DTextLabelText.md
  • UpdateVehicleDamageStatus.md
  • UsePlayerPedAnims.md
  • VectorSize.md
  • acos.md
  • asin.md
  • atan.md
  • atan2.md
  • clamp.md
  • db_close.md
  • db_debug_openfiles.md
  • db_debug_openresults.md
  • db_field_name.md
  • db_free_result.md
  • db_get_field.md
  • db_get_field_assoc.md
  • db_get_field_assoc_float.md
  • db_get_field_assoc_int.md
  • db_get_field_float.md
  • db_get_field_int.md
  • db_get_mem_handle.md
  • db_get_result_mem_handle.md
  • db_next_row.md
  • db_num_fields.md
  • db_num_rows.md
  • db_open.md
  • db_query.md
  • deleteproperty.md
  • existproperty.md
  • fblockread.md
  • fblockwrite.md
  • fclose.md
  • fexist.md
  • fgetchar.md
  • flength.md
  • float.md
  • floatabs.md
  • floatadd.md
  • floatcmp.md
  • floatcos.md
  • floatdiv.md
  • floatfract.md
  • floatlog.md
  • floatmul.md
  • floatpower.md
  • floatround.md
  • floatsin.md
  • floatsqroot.md
  • floatstr.md
  • floatsub.md
  • floattan.md
  • fmatch.md
  • fopen.md
  • format.md
  • fputchar.md
  • fread.md
  • fremove.md
  • fseek.md
  • ftemp.md
  • funcidx.md
  • fwrite.md
  • getarg.md
  • getdate.md
  • getproperty.md
  • gettime.md
  • gpci.md
  • heapspace.md
  • index.md
  • ispacked.md
  • listenport.md
  • max.md
  • memcpy.md
  • min.md
  • numargs.md
  • print.md
  • printf.md
  • random.md
  • sendpacket.md
  • sendstring.md
  • setarg.md
  • setproperty.md
  • strcat.md
  • strcmp.md
  • strdel.md
  • strfind.md
  • strins.md
  • strlen.md
  • strmid.md
  • strpack.md
  • strunpack.md
  • strval.md
  • swapchars.md
  • tolower.md
  • toupper.md
  • uudecode.md
  • uuencode.md
  • valstr.md

scripting/language

  • ControlStructures.md
  • Directives.md
  • Initialisers.md
  • Operators.md
  • Statements.md
  • Style.md
  • Tags.md
  • Variables.md

scripting/resources

  • anglemodes.md
  • animations.md
  • bodyparts.md
  • boneid.md
  • bullethittypes.md
  • cameracutstyles.md
  • cameramodes.md
  • carcomponentid.md
  • clicksources.md
  • colorslist.md
  • connectionstatus.md
  • crimelist.md
  • damagestatus.md
  • dialogstyles.md
  • doorstates.md
  • escapecodes.md
  • explosionlist.md
  • fightingstyles.md
  • gametextstyles.md
  • glossary.md
  • hexcolors.md
  • interiorids.md
  • keys.md
  • lightstates.md
  • limits.md
  • mapicons.md
  • mapiconstyles.md
  • markermodes.md
  • materialtextalignment.md
  • materialtextsizes.md
  • networkstats.md
  • objecteditionresponsetypes.md
  • original-car-colors.md
  • panelstates.md
  • pickupids.md
  • pickuptypes.md
  • playerstates.md
  • pvartypes.md
  • recordtypes.md
  • samp_objects.md
  • selectobjecttypes.md
  • shopnames.md
  • skins.md
  • sound-ids.md
  • specialactions.md
  • spectatemodes.md
  • start.md
  • startingids.md
  • textalignments.md
  • textdraws.md
  • textdrawsprites.md
  • tirestates.md
  • vehiclecolorid.md
  • vehiclehealth.md
  • vehicleid.md
  • vehicleinformationtypes.md
  • vendingmachines.md
  • weaponids.md
  • weaponskills.md
  • weaponstates.md
  • weatherid.md

scripting/resources/_server

  • controllingaserver.md
  • lagcompensation.md
  • remoteconsole.md
  • server.cfg.md

tutorials

  • AdvancedStructures.md
  • Binary.md
  • MenuGuide.md
  • PickupGuide.md
  • _tutorials.md
  • colorfix.md
  • cooldowns.md
  • perplayervariablesystem.md
  • servervariablesystem.md
  • stringmanipulation.md

Meta tags for embeds/previews/SEO

These need to be ported from the old homepage, as well as for docs, but that's a little more complicated so it deserves its own issue.

Contents for docs pages

Would be neat to replicate this:

image

Can be done at static build time using MDX to walk the AST and find all the heading nodes.

Fix VersionWarn templates

These originally were using remark admonitions but this doesn't work any more because the plugins run before the elements are executed so this means it just results in the raw :::warning text instead of the actual typographic elements.

Possible solution: finish #7 so they have styles, then just make the VersionWarn component ouput a raw HTML (JSX) admonition.

Open.mp masterlist issue.

I noticed a odd issue with the masterlist on the website.

My server recently moved to a new ip. I added the new ip to the masterlist via the ip/domain add feature. My old ip that is no longer used shows the server as online, and the new ip seems to have been removed.

Old Ip:167.114.104.51:7777
New: 149.56.185.92:7777

Portuguese (PT) translation progress

OBS: Alguns arquivos serão marcados como NDA (Necessita de Atualização) mesmo após serem marcados como traduzidos.
Caso deseje contribuir, verifique-os também!

client

  • CommonIssues.md
  • CrashAddresses.md
  • ClientCommands.md

meta

  • Contributing.md

server

  • CommonIssues.md
  • ControllingServer.md
  • LagCompensation.md
  • RemoteConsole.md
  • server.cfg.md

scripting/callbacks

  • OnActorStreamIn.md
  • OnActorStreamOut.md
  • OnClientMessage.md
  • OnDialogResponse.md NDA
  • OnEnterExitModShop.md
  • OnFilterScriptExit.md
  • OnFilterScriptInit.md
  • OnGameModeExit.md
  • OnGameModeInit.md
  • OnIncomingConnection.md
  • OnNPCConnect.md
  • OnNPCDisconnect.md
  • OnNPCEnterVehicle.md
  • OnNPCExitVehicle.md
  • OnNPCModeExit.md
  • OnNPCModeInit.md
  • OnNPCSpawn.md
  • OnObjectMoved.md
  • OnPlayerClickMap.md
  • OnPlayerClickPlayer.md
  • OnPlayerClickPlayerTextDraw.md
  • OnPlayerClickTextDraw.md
  • OnPlayerCommandText.md
  • OnPlayerConnect.md
  • OnPlayerDeath.md
  • OnPlayerDisconnect.md
  • OnPlayerEditAttachedObject.md
  • OnPlayerEditObject.md
  • OnPlayerEnterCheckpoint.md
  • OnPlayerEnterRaceCheckpoint.md
  • OnPlayerEnterVehicle.md
  • OnPlayerExitVehicle.md
  • OnPlayerExitedMenu.md
  • OnPlayerFinishedDownloading.md
  • OnPlayerGiveDamage.md
  • OnPlayerGiveDamageActor.md
  • OnPlayerInteriorChange.md
  • OnPlayerKeyStateChange.md
  • OnPlayerLeaveCheckpoint.md
  • OnPlayerLeaveRaceCheckpoint.md
  • OnPlayerObjectMoved.md
  • OnPlayerPickUpPickup.md
  • OnPlayerRequestClass.md
  • OnPlayerRequestDownload.md
  • OnPlayerRequestSpawn.md
  • OnPlayerSelectObject.md
  • OnPlayerSelectedMenuRow.md
  • OnPlayerSpawn.md
  • OnPlayerStateChange.md
  • OnPlayerStreamIn.md
  • OnPlayerStreamOut.md
  • OnPlayerTakeDamage.md
  • OnPlayerText.md
  • OnPlayerUpdate.md
  • OnPlayerWeaponShot.md
  • OnRconCommand.md
  • OnRconLoginAttempt.md
  • OnRecordingPlaybackEnd.md
  • OnTrailerUpdate.md
  • OnUnoccupiedVehicleUpdate.md
  • OnVehicleDamageStatusUpdate.md
  • OnVehicleDeath.md
  • OnVehicleMod.md
  • OnVehiclePaintjob.md
  • OnVehicleRespray.md
  • OnVehicleSirenStateChange.md
  • OnVehicleSpawn.md
  • OnVehicleStreamIn.md
  • OnVehicleStreamOut.md
  • OnClientCheckResponse.md

scripting/functions

  • AddCharModel.md
  • AddMenuItem.md
  • AddPlayerClass.md
  • AddPlayerClassEx.md
  • AddSimpleModel.md
  • AddSimpleModelTimed.md
  • AddStaticPickup.md
  • AddStaticVehicle.md
  • AddStaticVehicleEx.md
  • AddVehicleComponent.md
  • AllowAdminTeleport.md
  • AllowInteriorWeapons.md
  • AllowPlayerTeleport.md
  • ApplyActorAnimation.md
  • ApplyAnimation.md
  • Attach3DTextLabelToPlayer.md
  • Attach3DTextLabelToVehicle.md
  • AttachCameraToObject.md
  • AttachCameraToPlayerObject.md
  • AttachObjectToObject.md
  • AttachObjectToPlayer.md
  • AttachObjectToVehicle.md
  • AttachPlayerObjectToPlayer.md
  • AttachPlayerObjectToVehicle.md
  • AttachTrailerToVehicle.md
  • Ban.md
  • BanEx.md
  • BlockIpAddress.md
  • CallLocalFunction.md
  • CallRemoteFunction.md
  • CancelEdit.md
  • CancelSelectTextDraw.md
  • ChangeVehicleColor.md
  • ChangeVehiclePaintjob.md
  • ClearActorAnimations.md
  • ClearAnimations.md
  • ConnectNPC.md
  • Create3DTextLabel.md
  • CreateActor.md
  • CreateExplosion.md
  • CreateExplosionForPlayer.md
  • CreateMenu.md
  • CreateObject.md
  • CreatePickup.md
  • CreatePlayer3DTextLabel.md
  • CreatePlayerObject.md
  • CreatePlayerTextDraw.md
  • CreateVehicle.md
  • Delete3DTextLabel.md
  • DeletePVar.md
  • DeletePlayer3DTextLabel.md
  • DeleteSVar.md
  • DestroyActor.md
  • DestroyMenu.md
  • DestroyObject.md
  • DestroyPickup.md
  • DestroyPlayerObject.md
  • DestroyVehicle.md
  • DetachTrailerFromVehicle.md
  • DisableInteriorEnterExits.md
  • DisableMenu.md
  • DisableMenuRow.md
  • DisableNameTagLOS.md
  • DisablePlayerCheckpoint.md
  • DisablePlayerRaceCheckpoint.md
  • DisableRemoteVehicleCollisions.md
  • EditAttachedObject.md
  • EditObject.md
  • EditPlayerObject.md
  • EnablePlayerCameraTarget.md
  • EnableStuntBonusForAll.md
  • EnableStuntBonusForPlayer.md
  • EnableTirePopping.md
  • EnableVehicleFriendlyFire.md
  • EnableZoneNames.md
  • FindModelFileNameFromCRC.md
  • FindTextureFileNameFromCRC.md
  • ForceClassSelection.md
  • GameModeExit.md
  • GameTextForAll.md
  • GameTextForPlayer.md
  • GangZoneCreate.md
  • GangZoneDestroy.md
  • GangZoneFlashForAll.md
  • GangZoneFlashForPlayer.md
  • GangZoneHideForAll.md
  • GangZoneHideForPlayer.md
  • GangZoneShowForAll.md
  • GangZoneShowForPlayer.md
  • GangZoneStopFlashForAll.md
  • GangZoneStopFlashForPlayer.md
  • GetActorFacingAngle.md
  • GetActorHealth.md
  • GetActorPoolSize.md
  • GetActorPos.md
  • GetActorVirtualWorld.md
  • GetAnimationName.md
  • GetConsoleVarAsBool.md
  • GetConsoleVarAsInt.md
  • GetConsoleVarAsString.md
  • GetGravity.md
  • GetGravity_FR.md
  • GetMaxPlayers.md
  • GetNetworkStats.md
  • GetObjectModel.md
  • GetObjectPos.md
  • GetObjectRot.md
  • GetPVarFloat.md
  • GetPVarInt.md
  • GetPVarNameAtIndex.md
  • GetPVarString.md
  • GetPVarType.md
  • GetPVarsUpperIndex.md
  • GetPlayerAmmo.md
  • GetPlayerAmmo_DE.md
  • GetPlayerAnimationIndex.md
  • GetPlayerArmour.md
  • GetPlayerCameraAspectRatio.md
  • GetPlayerCameraFrontVector.md
  • GetPlayerCameraMode.md
  • GetPlayerCameraPos.md
  • GetPlayerCameraTargetActor.md
  • GetPlayerCameraTargetObject.md
  • GetPlayerCameraTargetPlayer.md
  • GetPlayerCameraTargetVehicle.md
  • GetPlayerCameraUpVector.md
  • GetPlayerCameraZoom.md
  • GetPlayerColor.md
  • GetPlayerCustomSkin.md
  • GetPlayerDistanceFromPoint.md
  • GetPlayerDrunkLevel.md
  • GetPlayerFacingAngle.md
  • GetPlayerFightingStyle.md
  • GetPlayerHealth.md
  • GetPlayerInterior.md
  • GetPlayerIp.md
  • GetPlayerKeys.md
  • GetPlayerKeys_FR.md
  • GetPlayerLastShotVectors.md
  • GetPlayerMenu.md
  • GetPlayerMoney.md
  • GetPlayerName.md
  • GetPlayerNetworkStats.md
  • GetPlayerObjectModel.md
  • GetPlayerObjectPos.md
  • GetPlayerObjectRot.md
  • GetPlayerPing.md
  • GetPlayerPoolSize.md
  • GetPlayerPos.md
  • GetPlayerScore.md
  • GetPlayerSkin.md
  • GetPlayerSpecialAction.md
  • GetPlayerState.md
  • GetPlayerSurfingObjectID.md
  • GetPlayerSurfingVehicleID.md
  • GetPlayerTargetActor.md
  • GetPlayerTargetPlayer.md
  • GetPlayerTeam.md
  • GetPlayerTime.md
  • GetPlayerVehicleID.md
  • GetPlayerVehicleSeat.md
  • GetPlayerVelocity.md
  • GetPlayerVersion.md
  • GetPlayerVirtualWorld.md
  • GetPlayerWantedLevel.md
  • GetPlayerWeapon.md
  • GetPlayerWeaponData.md
  • GetPlayerWeaponState.md
  • GetSVarFloat.md
  • GetSVarInt.md
  • GetSVarNameAtIndex.md
  • GetSVarString.md
  • GetSVarType.md
  • GetSVarsUpperIndex.md
  • GetServerTickRate.md
  • GetServerVarAsBool.md
  • GetServerVarAsInt.md
  • GetServerVarAsString.md
  • GetTickCount.md
  • GetVehicleComponentInSlot.md
  • GetVehicleComponentType.md
  • GetVehicleDamageStatus.md
  • GetVehicleDistanceFromPoint.md
  • GetVehicleHealth.md
  • GetVehicleModel.md
  • GetVehicleModelInfo.md
  • GetVehicleParamsCarDoors.md
  • GetVehicleParamsCarWindows.md
  • GetVehicleParamsEx.md
  • GetVehicleParamsSirenState.md
  • GetVehiclePoolSize.md
  • GetVehiclePos.md
  • GetVehicleRotationQuat.md
  • GetVehicleTrailer.md
  • GetVehicleVelocity.md
  • GetVehicleVirtualWorld.md
  • GetVehicleZAngle.md
  • GetWeaponName.md
  • GivePlayerMoney.md
  • GivePlayerWeapon.md
  • HTTP.md
  • HideMenuForPlayer.md
  • InterpolateCameraLookAt.md
  • InterpolateCameraPos.md
  • IsActorInvulnerable.md
  • IsActorStreamedIn.md
  • IsObjectMoving.md
  • IsPlayerAdmin.md
  • IsPlayerAttachedObjectSlotUsed.md
  • IsPlayerConnected.md
  • IsPlayerInAnyVehicle.md
  • IsPlayerInCheckpoint.md
  • IsPlayerInRaceCheckpoint.md
  • IsPlayerInRangeOfPoint.md
  • IsPlayerInVehicle.md
  • IsPlayerNPC.md
  • IsPlayerObjectMoving.md
  • IsPlayerStreamedIn.md
  • IsTrailerAttachedToVehicle.md
  • IsValidActor.md
  • IsValidMenu.md
  • IsValidObject.md
  • IsValidPlayerObject.md
  • IsValidVehicle.md
  • IsVehicleStreamedIn.md
  • Kick.md
  • KillTimer.md
  • LimitGlobalChatRadius.md
  • LimitPlayerMarkerRadius.md
  • LinkVehicleToInterior.md
  • ManualVehicleEngineAndLights.md
  • MoveObject.md
  • MovePlayerObject.md
  • NetStats_BytesReceived.md
  • NetStats_BytesSent.md
  • NetStats_ConnectionStatus.md
  • NetStats_GetConnectedTime.md
  • NetStats_GetIpPort.md
  • NetStats_MessagesReceived.md
  • NetStats_MessagesRecvPerSecond.md
  • NetStats_MessagesSent.md
  • NetStats_PacketLossPercent.md
  • PlayAudioStreamForPlayer.md
  • PlayCrimeReportForPlayer.md
  • PlayerPlaySound.md
  • PlayerSpectatePlayer.md
  • PlayerSpectateVehicle.md
  • PlayerTextDrawAlignment.md
  • PlayerTextDrawBackgroundColor.md
  • PlayerTextDrawBoxColor.md
  • PlayerTextDrawColor.md
  • PlayerTextDrawDestroy.md
  • PlayerTextDrawFont.md
  • PlayerTextDrawHide.md
  • PlayerTextDrawLetterSize.md
  • PlayerTextDrawSetOutline.md
  • PlayerTextDrawSetPreviewModel.md
  • PlayerTextDrawSetPreviewRot.md
  • PlayerTextDrawSetPreviewVehCol.md
  • PlayerTextDrawSetProportional.md
  • PlayerTextDrawSetSelectable.md
  • PlayerTextDrawSetShadow.md
  • PlayerTextDrawSetString.md
  • PlayerTextDrawShow.md
  • PlayerTextDrawTextSize.md
  • PlayerTextDrawUseBox.md
  • PutPlayerInVehicle.md
  • RedirectDownload.md
  • RemoveBuildingForPlayer.md
  • RemovePlayerAttachedObject.md
  • RemovePlayerFromVehicle.md
  • RemovePlayerMapIcon.md
  • RemoveVehicleComponent.md
  • RepairVehicle.md
  • ResetPlayerMoney.md
  • ResetPlayerWeapons.md
  • SHA256_PassHash.md
  • SelectObject.md
  • SelectTextDraw.md
  • SendClientMessage.md
  • SendClientMessageToAll.md
  • SendDeathMessage.md
  • SendDeathMessageToPlayer.md
  • SendPlayerMessageToAll.md
  • SendPlayerMessageToPlayer.md
  • SendRconCommand.md
  • SetActorFacingAngle.md
  • SetActorHealth.md
  • SetActorInvulnerable.md
  • SetActorPos.md
  • SetActorVirtualWorld.md
  • SetCameraBehindPlayer.md
  • SetDeathDropAmount.md
  • SetGameModeText.md
  • SetGravity.md
  • SetMenuColumnHeader.md
  • SetNameTagDrawDistance.md
  • SetObjectMaterial.md
  • SetObjectMaterialText.md
  • SetObjectNoCameraCol.md
  • SetObjectPos.md
  • SetObjectRot.md
  • SetObjectsDefaultCameraCol.md
  • SetPVarFloat.md
  • SetPVarInt.md
  • SetPVarString.md
  • SetPlayerAmmo.md
  • SetPlayerArmedWeapon.md
  • SetPlayerArmour.md
  • SetPlayerAttachedObject.md
  • SetPlayerCameraLookAt.md
  • SetPlayerCameraPos.md
  • SetPlayerChatBubble.md
  • SetPlayerCheckpoint.md
  • SetPlayerColor.md
  • SetPlayerDrunkLevel.md
  • SetPlayerFacingAngle.md
  • SetPlayerFightingStyle.md
  • SetPlayerHealth.md
  • SetPlayerHoldingObject.md
  • SetPlayerInterior.md
  • SetPlayerMapIcon.md
  • SetPlayerMarkerForPlayer.md
  • SetPlayerName.md
  • SetPlayerObjectMaterial.md
  • SetPlayerObjectMaterialText.md
  • SetPlayerObjectNoCameraCol.md
  • SetPlayerObjectPos.md
  • SetPlayerObjectRot.md
  • SetPlayerPos.md
  • SetPlayerPosFindZ.md
  • SetPlayerRaceCheckpoint.md
  • SetPlayerScore.md
  • SetPlayerShopName.md
  • SetPlayerSkillLevel.md
  • SetPlayerSkin.md
  • SetPlayerSpecialAction.md
  • SetPlayerTeam.md
  • SetPlayerTime.md
  • SetPlayerVelocity.md
  • SetPlayerVirtualWorld.md
  • SetPlayerWantedLevel.md
  • SetPlayerWeather.md
  • SetPlayerWorldBounds.md
  • SetSVarFloat.md
  • SetSVarInt.md
  • SetSVarString.md
  • SetSpawnInfo.md
  • SetTeamCount.md
  • SetTimer.md
  • SetTimerEx.md
  • SetVehicleAngularVelocity.md
  • SetVehicleHealth.md
  • SetVehicleNumberPlate.md
  • SetVehicleParamsCarDoors.md
  • SetVehicleParamsCarWindows.md
  • SetVehicleParamsEx.md
  • SetVehicleParamsForPlayer.md
  • SetVehiclePos.md
  • SetVehicleToRespawn.md
  • SetVehicleVelocity.md
  • SetVehicleVirtualWorld.md
  • SetVehicleZAngle.md
  • SetWeather.md
  • SetWorldTime.md
  • ShowMenuForPlayer.md
  • ShowNameTags.md
  • ShowPlayerDialog.md (precisa de algumas atualizações)
  • ShowPlayerMarkers.md
  • ShowPlayerNameTagForPlayer.md
  • SpawnPlayer.md
  • StartRecordingPlayerData.md
  • StopAudioStreamForPlayer.md
  • StopObject.md
  • StopPlayerHoldingObject.md
  • StopPlayerObject.md
  • StopRecordingPlayerData.md
  • TextDrawAlignment.md
  • TextDrawBackgroundColor.md
  • TextDrawBoxColor.md
  • TextDrawColor.md
  • TextDrawCreate.md
  • TextDrawDestroy.md
  • TextDrawFont.md
  • TextDrawHideForAll.md
  • TextDrawHideForPlayer.md
  • TextDrawLetterSize.md
  • TextDrawSetOutline.md
  • TextDrawSetPreviewModel.md
  • TextDrawSetPreviewRot.md
  • TextDrawSetPreviewVehCol.md
  • TextDrawSetProportional.md
  • TextDrawSetSelectable.md
  • TextDrawSetShadow.md
  • TextDrawSetString.md
  • TextDrawShowForAll.md
  • TextDrawShowForPlayer.md
  • TextDrawTextSize.md
  • TextDrawUseBox.md
  • Tickcount.md
  • TogglePlayerClock.md
  • TogglePlayerControllable.md
  • TogglePlayerSpectating.md
  • UnBlockIpAddress.md
  • Update3DTextLabelText.md
  • UpdatePlayer3DTextLabelText.md
  • UpdateVehicleDamageStatus.md
  • UsePlayerPedAnims.md
  • VectorSize.md
  • acos.md
  • asin.md
  • atan.md
  • atan2.md
  • clamp.md
  • db_close.md
  • db_debug_openfiles.md
  • db_debug_openresults.md
  • db_field_name.md
  • db_free_result.md
  • db_get_field.md
  • db_get_field_assoc.md
  • db_get_field_assoc_float.md
  • db_get_field_assoc_int.md
  • db_get_field_float.md
  • db_get_field_int.md
  • db_get_mem_handle.md
  • db_get_result_mem_handle.md
  • db_next_row.md
  • db_num_fields.md
  • db_num_rows.md
  • db_open.md
  • db_query.md
  • deleteproperty.md
  • existproperty.md
  • fblockread.md
  • fblockwrite.md
  • fclose.md
  • fexist.md
  • fgetchar.md
  • flength.md
  • float.md
  • floatabs.md
  • floatadd.md
  • floatcmp.md
  • floatcos.md
  • floatdiv.md
  • floatfract.md
  • floatlog.md
  • floatmul.md
  • floatpower.md
  • floatround.md
  • floatsin.md
  • floatsqroot.md
  • floatstr.md
  • floatsub.md
  • floattan.md
  • fmatch.md
  • fopen.md
  • format.md
  • fputchar.md
  • fread.md
  • fremove.md
  • fseek.md
  • ftemp.md
  • funcidx.md
  • fwrite.md
  • getarg.md
  • getdate.md
  • getproperty.md
  • gettime.md
  • gpci.md
  • heapspace.md
  • index.md
  • ispacked.md
  • listenport.md
  • max.md
  • memcpy.md
  • min.md
  • numargs.md
  • print.md
  • printf.md
  • random.md
  • sendpacket.md
  • sendstring.md
  • setarg.md
  • setproperty.md
  • strcat.md
  • strcmp.md
  • strdel.md
  • strfind.md
  • strins.md
  • strlen.md
  • strmid.md
  • strpack.md
  • strunpack.md
  • strval.md
  • swapchars.md
  • tolower.md
  • toupper.md
  • uudecode.md
  • uuencode.md
  • valstr.md

scripting/reference

  • 00-Contents.md
  • 01-Foreword.md
  • 02-A-tutorial-introduction.md
  • 03-Data-and-declarations.md
  • 04-Functions.md
  • 05-The-preprocessor.md
  • 06-General-syntax.md
  • 07-Operators-and-expressions.md
  • 08-Statements.md
  • 09-Directives.md
  • 10-Proposed-function-library.md
  • 11-Pitfalls-differences-from-C.md
  • 12-Assorted-tips.md
  • 13-Appendices.md

scripting/language

  • ControlStructures.md
  • Directives.md
  • Initialisers.md
  • Operators.md
  • Statements.md
  • Style.md
  • Tags.md

scripting/resources

  • Componentslots.md
  • anglemodes.md
  • animations.md
  • bodyparts.md
  • boneid.md
  • bullethittypes.md
  • cameracutstyles.md
  • cameramodes.md [NDA]
  • carcomponentid.md
  • clicksources.md
  • colorslist.md [NDA]
  • connectionstatus.md
  • crimelist.md
  • damagestatus.md
  • dialogstyles.md
  • doorstates.md
  • escapecodes.md
  • explosionlist.md
  • fightingstyles.md
  • gametextstyles.md
  • glossary.md
  • hexcolors.md
  • interiorids.md
  • keys.md
  • lightstates.md
  • limits.md
  • mapicons.md
  • mapiconstyles.md
  • markermodes.md
  • materialtextalignment.md
  • materialtextsizes.md
  • networkstats.md
  • objecteditionresponsetypes.md
  • objecteditionresponsetypes.md
  • colors.md
  • pickupids.md
  • pickuptypes.md
  • playerstates.md
  • pvartypes.md
  • recordtypes.md
  • samp_objects.md
  • selectobjecttypes.md
  • shopnames.md
  • skins.md
  • ids.md
  • specialactions.md
  • spectatemodes.md
  • start.md
  • startingids.md
  • textalignments.md
  • textdraws.md
  • textdrawsprites.md
  • tirestates.md
  • vehiclecolorid.md
  • vehiclehealth.md
  • vehicleid.md
  • vehicleinformationtypes.md
  • vendingmachines.md
  • weaponids.md
  • weaponskills.md
  • weaponstates.md
  • weatherid.md

tutorials

  • AdvancedStructures.md
  • Binary.md
  • MenuGuide.md
  • PickupGuide.md
  • PluginDevelopmentGuide.md
  • _tutorials.md
  • colorfix.md
  • cooldowns.md
  • perplayervariablesystem.md
  • servervariablesystem.md
  • stringmanipulation.md

Mobile friendly nav

The current nav is fine on mobile, but it won't fit any more buttons on it so we need a mobile friendly nav for more options.

Server listing verification

For users to edit their listing and augment it with additional information like a description, images, graphs, etc.

That verification process must be as simple as possible and cover as many users' skill levels.

Here are some ideas:

  • Generate a curl/wget/Invoke-WebRequest command that the user calls from their server that includes a unique token to prove they own it
  • Build a simple announce.exe binary
  • Put some unique token in the gamemode/hostname/map just once
  • Procedurally generate an .amx filterscript that can be loaded once - it would make a HTTP call with the token built into the binary

Unified language dialect (Colour vs Color!)

A lot of our files use English and a lot use American-English.

Consistency is important and it seems American-English is winning in terms of numbers. Also the natives themselves use AE.

Functions and Events: NPC API

The NPC API has been missing from the wiki for a while.

I don't think it deserves its own section, but definitely needs admonitions on each page to indicate the APIs are only for use within NPC scripts.

https://web.archive.org/web/20190808191615/https://wiki.sa-mp.com/wiki/Category:NPC

The NPCs (Non-Player Characters, also known as 'bots') are a feature introduced since SA-MP 0.3. This new feature allows you to add one or more NPCs inside your server who will work like 'virtual players'. They use a server slot, just like a player would do. What the NPCs do inside your server is scripted using PAWN scripts. The scripts with the 'artificial inteligence' of each NPC isn't scripted inside the gamemode file, nor in a filterscript. They use their own compiled scripts for this task, which have to stay inside the npcmodes directory. That is, if you want to have 20 different NPCs doing different things, you will most likely have to have 20 pawn compiled scripts inside the npcmodes directory. This doesn't mean that you can't use the normal player functions applied to your NPCs (like SetPlayerPos, for example) from inside a gamemode or filterscript.

Each NPC runs in its own process. This can make better use for multi-core proccesors. The new NPC feature adds some more callbacks and functions which can be used just inside NPC scripts. Normally, these scripts just include the a_npc include file, and not the a_samp one as most gamemodes and filterscripts do. There are also a couple of added functions which work in gamemodes and filterscripts to make easier the NPC handling.

The following resources are exclusive for NPC scripts, unless otherwise is stated:

Add notes to GetVehicleTrailer

Add below 'This function does not work for train' also 'This function will return 0 if a player isn't near (10mt or less) the vehicleid specified'.

Landing page design

I know a lot of people didn't expect or understand the reason for the sudden website change, so I'll quickly explain that here as I don't think it's written down all in one place:

There were primarily two problems:

  1. Docusaurus is slow as heck to build and to use. We saw performance issues on high end machines so it doesn't deal well with over 1000 pages.
  2. There was some serious HTTP redirect/rewrite spaghetti happening behind the scenes to make the docs site work properly! The main site sat on the open.mp domain. The wiki was not hosted on a domain, but we had to make it work on open.mp/docs so it used HTTP rewrites to achieve that. All 404s were rewritten to wiki.openmultiplayer.vercel.app which ran the wiki in order for assets on / on both sites worked. This meant 404s on the main site were confusing. It also meant that page loads resulted in at least one HTTP rewrite and maybe two HTTP redirects. Also wiki.open.mp introduced more complexity. It was a big mess that just so happened to work!

So the new site was built very quickly in order to serve those of the community who wanted to browse the documentation without a supercomputer and those who wanted to contribute to the wiki without waiting 20 minutes for a preview to build.

As a result, it's quite plain looking. Functionality comes first! And yes I'm working on search.


End of explanation

So with that out of the way...

This is a good opportunity to get the community involved. Post your design idea/inspiration here and we can open a discussion about what the new site can look like!

Here's a list of assets:

English language button doesn't redirect to the correct route

My browser language is set to Italian, so if I go on open.mp/ it'll redirects me to open.mp/it.

When I click the language selection button to select the English language, it won't redirect to open.mp/en but instead it redirects to open.mp/

Steps to reproduce the bug:

  1. Set your browser language to one that isn't English;
  2. Click the button to select the language;
  3. Select English.

Category pages - with a list of sub-pages

Cloudflare's docs site does this:

image

Basically, each category heading also needs its own page. So you can link to a collection of pages easily, like /functions or /callbacks.

But, as a bonus, it would be really neat to be able to write custom content for these pages too. So maybe introduce a special page that can exist inside each directory named _index.mdx or something where you can write text and then underneath this text is an automatically generated list of pages.

Add Urdu (ur) Translations

Urdu translation progress:

Client:

  • CommonIssues.md
  • CrashAddresses.md
  • ClientCommands.md

Meta:

  • Contributing.md

Server:

  • CommonIssues.md
  • ControllingServer.md
  • LagCompensation.md
  • RemoteConsole.md
  • server.cfg.md

Callbacks:

  • OnActorStreamIn.md
  • OnActorStreamOut.md
  • OnClientMessage.md
  • OnDialogResponse.md (precisa de algumas atualizações)
  • OnEnterExitModShop.md
  • OnFilterScriptExit.md
  • OnFilterScriptInit.md
  • OnGameModeExit.md
  • OnGameModeInit.md
  • OnIncomingConnection.md
  • OnObjectMoved.md
  • OnPlayerClickMap.md
  • OnPlayerClickPlayer.md
  • OnPlayerClickPlayerTextDraw.md
  • OnPlayerClickTextDraw.md
  • OnPlayerCommandText.md
  • OnPlayerConnect.md
  • OnPlayerDeath.md
  • OnPlayerDisconnect.md
  • OnPlayerEditAttachedObject.md
  • OnPlayerEditObject.md
  • OnPlayerEnterCheckpoint.md
  • OnPlayerEnterRaceCheckpoint.md
  • OnPlayerEnterVehicle.md
  • OnPlayerExitVehicle.md
  • OnPlayerExitedMenu.md
  • OnPlayerFinishedDownloading.md
  • OnPlayerGiveDamage.md
  • OnPlayerGiveDamageActor.md
  • OnPlayerInteriorChange.md
  • OnPlayerKeyStateChange.md
  • OnPlayerLeaveCheckpoint.md
  • OnPlayerLeaveRaceCheckpoint.md
  • OnPlayerObjectMoved.md
  • OnPlayerPickUpPickup.md
  • OnPlayerRequestClass.md
  • OnPlayerRequestDownload.md
  • OnPlayerRequestSpawn.md
  • OnPlayerSelectObject.md
  • OnPlayerSelectedMenuRow.md
  • OnPlayerSpawn.md
  • OnPlayerStateChange.md
  • OnPlayerStreamIn.md
  • OnPlayerStreamOut.md
  • OnPlayerTakeDamage.md
  • OnPlayerText.md
  • OnPlayerUpdate.md
  • OnPlayerWeaponShot.md
  • OnRconCommand.md
  • OnRconLoginAttempt.md
  • OnRecordingPlaybackEnd.md
  • OnTrailerUpdate.md
  • OnUnoccupiedVehicleUpdate.md
  • OnVehicleDamageStatusUpdate.md
  • OnVehicleDeath.md
  • OnVehicleMod.md
  • OnVehiclePaintjob.md
  • OnVehicleRespray.md
  • OnVehicleSirenStateChange.md
  • OnVehicleSpawn.md
  • OnVehicleStreamIn.md
  • OnVehicleStreamOut.md

Functions:

  • AddCharModel.md
  • AddMenuItem.md
  • AddPlayerClass.md
  • AddPlayerClassEx.md
  • AddSimpleModel.md
  • AddSimpleModelTimed.md
  • AddStaticPickup.md
  • AddStaticVehicle.md
  • AddStaticVehicleEx.md
  • AddVehicleComponent.md
  • AllowAdminTeleport.md
  • AllowInteriorWeapons.md
  • AllowPlayerTeleport.md
  • ApplyActorAnimation.md
  • ApplyAnimation.md
  • Attach3DTextLabelToPlayer.md
  • Attach3DTextLabelToVehicle.md
  • AttachCameraToObject.md
  • AttachCameraToPlayerObject.md
  • AttachObjectToObject.md
  • AttachObjectToPlayer.md
  • AttachObjectToVehicle.md
  • AttachPlayerObjectToPlayer.md
  • AttachPlayerObjectToVehicle.md
  • AttachTrailerToVehicle.md
  • Ban.md
  • BanEx.md
  • BlockIpAddress.md
  • CallLocalFunction.md
  • CallRemoteFunction.md
  • CancelEdit.md
  • CancelSelectTextDraw.md
  • ChangeVehicleColor.md
  • ChangeVehiclePaintjob.md
  • ClearActorAnimations.md
  • ClearAnimations.md
  • ConnectNPC.md
  • Create3DTextLabel.md
  • CreateActor.md
  • CreateExplosion.md
  • CreateExplosionForPlayer.md
  • CreateMenu.md
  • CreateObject.md
  • CreatePickup.md
  • CreatePlayer3DTextLabel.md
  • CreatePlayerObject.md
  • CreatePlayerTextDraw.md
  • CreateVehicle.md
  • Delete3DTextLabel.md
  • DeletePVar.md
  • DeletePlayer3DTextLabel.md
  • DeleteSVar.md
  • DestroyActor.md
  • DestroyMenu.md
  • DestroyObject.md
  • DestroyPickup.md
  • DestroyPlayerObject.md
  • DestroyVehicle.md
  • DetachTrailerFromVehicle.md
  • DisableInteriorEnterExits.md
  • DisableMenu.md
  • DisableMenuRow.md
  • DisableNameTagLOS.md
  • DisablePlayerCheckpoint.md
  • DisablePlayerRaceCheckpoint.md
  • DisableRemoteVehicleCollisions.md
  • EditAttachedObject.md
  • EditObject.md
  • EditPlayerObject.md
  • EnablePlayerCameraTarget.md
  • EnableStuntBonusForAll.md
  • EnableStuntBonusForPlayer.md
  • EnableTirePopping.md
  • EnableVehicleFriendlyFire.md
  • EnableZoneNames.md
  • FindModelFileNameFromCRC.md
  • FindTextureFileNameFromCRC.md
  • ForceClassSelection.md
  • GameModeExit.md
  • GameTextForAll.md
  • GameTextForPlayer.md
  • GangZoneCreate.md
  • GangZoneDestroy.md
  • GangZoneFlashForAll.md
  • GangZoneFlashForPlayer.md
  • GangZoneHideForAll.md
  • GangZoneHideForPlayer.md
  • GangZoneShowForAll.md
  • GangZoneShowForPlayer.md
  • GangZoneStopFlashForAll.md
  • GangZoneStopFlashForPlayer.md
  • GetActorFacingAngle.md
  • GetActorHealth.md
  • GetActorPoolSize.md
  • GetActorPos.md
  • GetActorVirtualWorld.md
  • GetAnimationName.md
  • GetConsoleVarAsBool.md
  • GetConsoleVarAsInt.md
  • GetConsoleVarAsString.md
  • GetGravity.md
  • GetGravity_FR.md
  • GetMaxPlayers.md
  • GetNetworkStats.md
  • GetObjectModel.md
  • GetObjectPos.md
  • GetObjectRot.md
  • GetPVarFloat.md
  • GetPVarInt.md
  • GetPVarNameAtIndex.md
  • GetPVarString.md
  • GetPVarType.md
  • GetPVarsUpperIndex.md
  • GetPlayerAmmo.md
  • GetPlayerAmmo_DE.md
  • GetPlayerAnimationIndex.md
  • GetPlayerArmour.md
  • GetPlayerCameraAspectRatio.md
  • GetPlayerCameraFrontVector.md
  • GetPlayerCameraMode.md
  • GetPlayerCameraPos.md
  • GetPlayerCameraTargetActor.md
  • GetPlayerCameraTargetObject.md
  • GetPlayerCameraTargetPlayer.md
  • GetPlayerCameraTargetVehicle.md
  • GetPlayerCameraUpVector.md
  • GetPlayerCameraZoom.md
  • GetPlayerColor.md
  • GetPlayerCustomSkin.md
  • GetPlayerDistanceFromPoint.md
  • GetPlayerDrunkLevel.md
  • GetPlayerFacingAngle.md
  • GetPlayerFightingStyle.md
  • GetPlayerHealth.md
  • GetPlayerInterior.md
  • GetPlayerIp.md
  • GetPlayerKeys.md
  • GetPlayerKeys_FR.md
  • GetPlayerLastShotVectors.md
  • GetPlayerMenu.md
  • GetPlayerMoney.md
  • GetPlayerName.md
  • GetPlayerNetworkStats.md
  • GetPlayerObjectModel.md
  • GetPlayerObjectPos.md
  • GetPlayerObjectRot.md
  • GetPlayerPing.md
  • GetPlayerPoolSize.md
  • GetPlayerPos.md
  • GetPlayerScore.md
  • GetPlayerSkin.md
  • GetPlayerSpecialAction.md
  • GetPlayerState.md
  • GetPlayerSurfingObjectID.md
  • GetPlayerSurfingVehicleID.md
  • GetPlayerTargetActor.md
  • GetPlayerTargetPlayer.md
  • GetPlayerTeam.md
  • GetPlayerTime.md
  • GetPlayerVehicleID.md
  • GetPlayerVehicleSeat.md
  • GetPlayerVelocity.md
  • GetPlayerVersion.md
  • GetPlayerVirtualWorld.md
  • GetPlayerWantedLevel.md
  • GetPlayerWeapon.md
  • GetPlayerWeaponData.md
  • GetPlayerWeaponState.md
  • GetSVarFloat.md
  • GetSVarInt.md
  • GetSVarNameAtIndex.md
  • GetSVarString.md
  • GetSVarType.md
  • GetSVarsUpperIndex.md
  • GetServerTickRate.md
  • GetServerVarAsBool.md
  • GetServerVarAsInt.md
  • GetServerVarAsString.md
  • GetTickCount.md
  • GetVehicleComponentInSlot.md
  • GetVehicleComponentType.md
  • GetVehicleDamageStatus.md
  • GetVehicleDistanceFromPoint.md
  • GetVehicleHealth.md
  • GetVehicleModel.md
  • GetVehicleModelInfo.md
  • GetVehicleParamsCarDoors.md
  • GetVehicleParamsCarWindows.md
  • GetVehicleParamsEx.md
  • GetVehicleParamsSirenState.md
  • GetVehiclePoolSize.md
  • GetVehiclePos.md
  • GetVehicleRotationQuat.md
  • GetVehicleTrailer.md
  • GetVehicleVelocity.md
  • GetVehicleVirtualWorld.md
  • GetVehicleZAngle.md
  • GetWeaponName.md
  • GivePlayerMoney.md
  • GivePlayerWeapon.md
  • HTTP.md
  • HideMenuForPlayer.md
  • InterpolateCameraLookAt.md
  • InterpolateCameraPos.md
  • IsActorInvulnerable.md
  • IsActorStreamedIn.md
  • IsObjectMoving.md
  • IsPlayerAdmin.md
  • IsPlayerAttachedObjectSlotUsed.md
  • IsPlayerConnected.md
  • IsPlayerInAnyVehicle.md
  • IsPlayerInCheckpoint.md
  • IsPlayerInRaceCheckpoint.md
  • IsPlayerInRangeOfPoint.md
  • IsPlayerInVehicle.md
  • IsPlayerNPC.md
  • IsPlayerObjectMoving.md
  • IsPlayerStreamedIn.md
  • IsTrailerAttachedToVehicle.md
  • IsValidActor.md
  • IsValidMenu.md
  • IsValidObject.md
  • IsValidPlayerObject.md
  • IsValidVehicle.md
  • IsVehicleStreamedIn.md
  • Kick.md
  • KillTimer.md
  • LimitGlobalChatRadius.md
  • LimitPlayerMarkerRadius.md
  • LinkVehicleToInterior.md
  • ManualVehicleEngineAndLights.md
  • MoveObject.md
  • MovePlayerObject.md
  • NetStats_BytesReceived.md
  • NetStats_BytesSent.md
  • NetStats_ConnectionStatus.md
  • NetStats_GetConnectedTime.md
  • NetStats_GetIpPort.md
  • NetStats_MessagesReceived.md
  • NetStats_MessagesRecvPerSecond.md
  • NetStats_MessagesSent.md
  • NetStats_PacketLossPercent.md
  • PlayAudioStreamForPlayer.md
  • PlayCrimeReportForPlayer.md
  • PlayerPlaySound.md
  • PlayerSpectatePlayer.md
  • PlayerSpectateVehicle.md
  • PlayerTextDrawAlignment.md
  • PlayerTextDrawBackgroundColor.md
  • PlayerTextDrawBoxColor.md
  • PlayerTextDrawColor.md
  • PlayerTextDrawDestroy.md
  • PlayerTextDrawFont.md
  • PlayerTextDrawHide.md
  • PlayerTextDrawLetterSize.md
  • PlayerTextDrawSetOutline.md
  • PlayerTextDrawSetPreviewModel.md
  • PlayerTextDrawSetPreviewRot.md
  • PlayerTextDrawSetPreviewVehCol.md
  • PlayerTextDrawSetProportional.md
  • PlayerTextDrawSetSelectable.md
  • PlayerTextDrawSetShadow.md
  • PlayerTextDrawSetString.md
  • PlayerTextDrawShow.md
  • PlayerTextDrawTextSize.md
  • PlayerTextDrawUseBox.md
  • PutPlayerInVehicle.md
  • RedirectDownload.md
  • RemoveBuildingForPlayer.md
  • RemovePlayerAttachedObject.md
  • RemovePlayerFromVehicle.md
  • RemovePlayerMapIcon.md
  • RemoveVehicleComponent.md
  • RepairVehicle.md
  • ResetPlayerMoney.md
  • ResetPlayerWeapons.md
  • SHA256_PassHash.md
  • SelectObject.md
  • SelectTextDraw.md
  • SendClientMessage.md
  • SendClientMessageToAll.md
  • SendDeathMessage.md
  • SendDeathMessageToPlayer.md
  • SendPlayerMessageToAll.md
  • SendPlayerMessageToPlayer.md
  • SendRconCommand.md
  • SetActorFacingAngle.md
  • SetActorHealth.md
  • SetActorInvulnerable.md
  • SetActorPos.md
  • SetActorVirtualWorld.md
  • SetCameraBehindPlayer.md
  • SetDeathDropAmount.md
  • SetGameModeText.md
  • SetGravity.md
  • SetMenuColumnHeader.md
  • SetNameTagDrawDistance.md
  • SetObjectMaterial.md
  • SetObjectMaterialText.md
  • SetObjectNoCameraCol.md
  • SetObjectPos.md
  • SetObjectRot.md
  • SetObjectsDefaultCameraCol.md
  • SetPVarFloat.md
  • SetPVarInt.md
  • SetPVarString.md
  • SetPlayerAmmo.md
  • SetPlayerArmedWeapon.md
  • SetPlayerArmour.md
  • SetPlayerAttachedObject.md
  • SetPlayerCameraLookAt.md
  • SetPlayerCameraPos.md
  • SetPlayerChatBubble.md
  • SetPlayerCheckpoint.md
  • SetPlayerColor.md
  • SetPlayerDrunkLevel.md
  • SetPlayerFacingAngle.md
  • SetPlayerFightingStyle.md
  • SetPlayerHealth.md
  • SetPlayerHoldingObject.md
  • SetPlayerInterior.md
  • SetPlayerMapIcon.md
  • SetPlayerMarkerForPlayer.md
  • SetPlayerName.md
  • SetPlayerObjectMaterial.md
  • SetPlayerObjectMaterialText.md
  • SetPlayerObjectNoCameraCol.md
  • SetPlayerObjectPos.md
  • SetPlayerObjectRot.md
  • SetPlayerPos.md
  • SetPlayerPosFindZ.md
  • SetPlayerRaceCheckpoint.md
  • SetPlayerScore.md
  • SetPlayerShopName.md
  • SetPlayerSkillLevel.md
  • SetPlayerSkin.md
  • SetPlayerSpecialAction.md
  • SetPlayerTeam.md
  • SetPlayerTime.md
  • SetPlayerVelocity.md
  • SetPlayerVirtualWorld.md
  • SetPlayerWantedLevel.md
  • SetPlayerWeather.md
  • SetPlayerWorldBounds.md
  • SetSVarFloat.md
  • SetSVarInt.md
  • SetSVarString.md
  • SetSpawnInfo.md
  • SetTeamCount.md
  • SetTimer.md
  • SetTimerEx.md
  • SetVehicleAngularVelocity.md
  • SetVehicleHealth.md
  • SetVehicleNumberPlate.md
  • SetVehicleParamsCarDoors.md
  • SetVehicleParamsCarWindows.md
  • SetVehicleParamsEx.md
  • SetVehicleParamsForPlayer.md
  • SetVehiclePos.md
  • SetVehicleToRespawn.md
  • SetVehicleVelocity.md
  • SetVehicleVirtualWorld.md
  • SetVehicleZAngle.md
  • SetWeather.md
  • SetWorldTime.md
  • ShowMenuForPlayer.md
  • ShowNameTags.md
  • ShowPlayerDialog.md (precisa de algumas atualizações)
  • ShowPlayerMarkers.md
  • ShowPlayerNameTagForPlayer.md
  • SpawnPlayer.md
  • StartRecordingPlayerData.md
  • StopAudioStreamForPlayer.md
  • StopObject.md
  • StopPlayerHoldingObject.md
  • StopPlayerObject.md
  • StopRecordingPlayerData.md
  • TextDrawAlignment.md
  • TextDrawBackgroundColor.md
  • TextDrawBoxColor.md
  • TextDrawColor.md
  • TextDrawCreate.md
  • TextDrawDestroy.md
  • TextDrawFont.md
  • TextDrawHideForAll.md
  • TextDrawHideForPlayer.md
  • TextDrawLetterSize.md
  • TextDrawSetOutline.md
  • TextDrawSetPreviewModel.md
  • TextDrawSetPreviewRot.md
  • TextDrawSetPreviewVehCol.md
  • TextDrawSetProportional.md
  • TextDrawSetSelectable.md
  • TextDrawSetShadow.md
  • TextDrawSetString.md
  • TextDrawShowForAll.md
  • TextDrawShowForPlayer.md
  • TextDrawTextSize.md
  • TextDrawUseBox.md
  • Tickcount.md
  • TogglePlayerClock.md
  • TogglePlayerControllable.md
  • TogglePlayerSpectating.md
  • UnBlockIpAddress.md
  • Update3DTextLabelText.md
  • UpdatePlayer3DTextLabelText.md
  • UpdateVehicleDamageStatus.md
  • UsePlayerPedAnims.md
  • VectorSize.md
  • acos.md
  • asin.md
  • atan.md
  • atan2.md
  • clamp.md
  • db_close.md
  • db_debug_openfiles.md
  • db_debug_openresults.md
  • db_field_name.md
  • db_free_result.md
  • db_get_field.md
  • db_get_field_assoc.md
  • db_get_field_assoc_float.md
  • db_get_field_assoc_int.md
  • db_get_field_float.md
  • db_get_field_int.md
  • db_get_mem_handle.md
  • db_get_result_mem_handle.md
  • db_next_row.md
  • db_num_fields.md
  • db_num_rows.md
  • db_open.md
  • db_query.md
  • deleteproperty.md
  • existproperty.md
  • fblockread.md
  • fblockwrite.md
  • fclose.md
  • fexist.md
  • fgetchar.md
  • flength.md
  • float.md
  • floatabs.md
  • floatadd.md
  • floatcmp.md
  • floatcos.md
  • floatdiv.md
  • floatfract.md
  • floatlog.md
  • floatmul.md
  • floatpower.md
  • floatround.md
  • floatsin.md
  • floatsqroot.md
  • floatstr.md
  • floatsub.md
  • floattan.md
  • fmatch.md
  • fopen.md
  • format.md
  • fputchar.md
  • fread.md
  • fremove.md
  • fseek.md
  • ftemp.md
  • funcidx.md
  • fwrite.md
  • getarg.md
  • getdate.md
  • getproperty.md
  • gettime.md
  • gpci.md
  • heapspace.md
  • index.md
  • ispacked.md
  • listenport.md
  • max.md
  • memcpy.md
  • min.md
  • numargs.md
  • print.md
  • printf.md
  • random.md
  • sendpacket.md
  • sendstring.md
  • setarg.md
  • setproperty.md
  • strcat.md
  • strcmp.md
  • strdel.md
  • strfind.md
  • strins.md
  • strlen.md
  • strmid.md
  • strpack.md
  • strunpack.md
  • strval.md
  • swapchars.md
  • tolower.md
  • toupper.md
  • uudecode.md
  • uuencode.md
  • valstr.md
  • ControlStructures.md
  • Directives.md
  • Initialisers.md
  • Operators.md
  • Statements.md
  • Style.md
  • Tags.md
  • Componentslots.md
  • anglemodes.md
  • animations.md
  • bodyparts.md
  • boneid.md
  • bullethittypes.md
  • cameracutstyles.md
  • cameramodes.md [NDA]
  • carcomponentid.md
  • clicksources.md
  • colorslist.md [NDA]
  • connectionstatus.md
  • crimelist.md
  • damagestatus.md
  • dialogstyles.md
  • doorstates.md
  • escapecodes.md
  • explosionlist.md
  • fightingstyles.md
  • gametextstyles.md
  • glossary.md
  • hexcolors.md
  • interiorids.md
  • keys.md
  • lightstates.md
  • limits.md
  • mapicons.md
  • mapiconstyles.md
  • markermodes.md
  • materialtextalignment.md
  • materialtextsizes.md
  • networkstats.md
  • objecteditionresponsetypes.md
  • objecteditionresponsetypes.md
  • colors.md
  • pickupids.md
  • pickuptypes.md
  • playerstates.md
  • pvartypes.md
  • recordtypes.md
  • samp_objects.md
  • selectobjecttypes.md
  • shopnames.md
  • skins.md
  • ids.md
  • specialactions.md
  • spectatemodes.md
  • start.md
  • startingids.md
  • textalignments.md
  • textdraws.md
  • textdrawsprites.md
  • tirestates.md
  • vehiclecolorid.md
  • vehiclehealth.md
  • vehicleid.md
  • vehicleinformationtypes.md
  • vendingmachines.md
  • weaponids.md
  • weaponskills.md
  • weaponstates.md
  • weatherid.md

Language:

  • AdvancedStructures.md
  • Binary.md
  • MenuGuide.md
  • PickupGuide.md

Tutorials:

  • _tutorials.md
  • colorfix.md
  • cooldowns.md
  • perplayervariablesystem.md
  • servervariablesystem.md
  • stringmanipulation.md

Fix admonitions

I think this just needs styling, there are classes that admonitions are given so you just need to style those.

Don't put this in base.css, make a new file and import it into _app.tsx

This won't affect admonitions done via though, that needs another solution... #8

Improving tutorial effectiveness

What
3 ideas to help with making the tutorials more effective. Some of these may apply to the rest of the docs as well.

  1. Links to fiddles/potentially embedding fiddles in docs
  2. Subdivision of topics into 2 categories: Theory and Application
  3. Small "Check your understanding" sections at the end

I don't believe the capability to embed pawn fiddles exists as of now. In any case, links to tutorial fiddles can be helpful in providing a faster feedback loop when reading about a subject.

Check your understanding sections would be simple multiple choice/fill in the blanks questions that serve the same purpose as the fiddles. Could be done simply by putting the correct answers within a spoiler tag or by adding some functionality into the docs that would check for right answer, etc. Practically, the spoiler seems to be the winner but the built-in docs option would, in my opinion, lead to more engagement/better results.

Topics in tutorials can always, if not for the most part, be classified into those two categories. There would be no restriction for a topic to have both theory and application, but for the most part you're always applying some concept that you can link back to. Here too, I can think of two ways of supporting it:

  • Simple notice at the top of each post redirecting to the other one: "This is the theoretical foundation for X. For application(s), see: [1 or more links]." and "This is an application of X. If you need to go over the concepts, see: [1 or more links].".
  • Tags/groups/some way of linking one post to the other. This has the added benefit of grouping all theory posts together, and all applications together, allowing people to either do all theory first then applications, or theory-application and so on.

The first one is the easier to put in place, but the benefit of grouping these can prove useful as more tutorials are added.

Why
The better readers of a tutorial grasp the concepts at play, the better. I believe I have offered some good arguments above as to how these additions would improve the effectiveness of tutorials. I have also tried to include different ways that they could be implemented, with their advantages/disadvantages.

Curious to see your feedback on this: eager to see additions/modifications/removals, or comments.

Search

The site needs search support.

Docsearch doesn't seem to work so we can just build our own index at build time.

Meta tags for documentation pages

#22 is for the site itself, but docs pages also need to generate their own title/description meta tags.

This can be done by parsing the frontmatter.

Not sure where to do this yet. Probably at build time.

Port over progress page

This wasn't added because it requires a github token, but I want to keep build logs public so contributors can debug things.

So, I think we should move the actual GitHub query to the backend - just to simplify the frontend so it doesn't have an API component.

Or move it to a simple cloudflare worker or something.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.