Files
overextended.github.io/docs/ox_doorlock/index.md
T
2023-02-22 15:16:00 +11:00

1.6 KiB

title, sidebar_position
title sidebar_position
Getting started 1

Installation

We always recommend using Git so you can track changes and update easily, however this requires building the UI.
Otherwise, download the latest release.

Building

You can ignore this if you downloaded a release build.

  • Download and install the LTS version of Node.js.
  • Open a terminal, command prompt, etc. and navigate to your resources folder.
  • Execute the following commands
npm install --location=global pnpm
git clone https://github.com/overextended/ox_core.git
cd web
pnpm i
pnpm build

Dependencies

Optional Dependencies

Supported Frameworks

These aren't necessary to run ox_doorlock, but they will add additional features.

Opening the UI

Assuming you've installed the resource and it has started, you can use /doorlock to open the UI.

  • If the cursor is displayed but nothing appeared, the UI hasn't been built.
  • Check you are authorised to use the command.
    • Type test_ace player.1 command.doorlock in the server console (replace 1 with your server id).