gouveiaxs / angelicxs-elevators Goto Github PK
View Code? Open in Web Editor NEWelevator script for fivem
elevator script for fivem
Can you add option for vehicles??
hey running esx, have dependencies qtarget works brings up option but when i click no floor menu any ideas thanks in advanced
all good sorted had to get the right version of nh-context
The Menu Doesent open.
Could you change the nh-contex with the qb-menu pls?
hello i set up the elevator i wanted to use in the config, enabled qb core, set esx to false, but everytime i try to start the live console it will not start the elevator script
If Iโm Escorting Another Player Will The Come With Me In The Elevator Or Do They Have To Do So Manually?
Hey you can use the Elevator from endless distance so you can be out of the building and still use the Elevator.
Hello,
I have a issue where no menu appears after using the option with qb-target.
I have edited my xfmanifest depencies
I have changed the line in the client.lua to qb-target instead of qtarget
I have configured my config.lua
https://prnt.sc/ROcnZCqn_fL5
But still after i use qb-target my option on the elevator appears.
But after i click on the option no menu appears nothing. even no error codes.
I am using the latest nh-context
hi, I wanted to say that this part of the code needs to be rewritten
(line 127)
CreateThread(function()
if Config.Use3DText then
for elevatorName, elevatorFloors in pairs(Config.Elevators) do
for index, floor in pairs(elevatorFloors) do
CreateThread(function()
while true do
local sleep = 2000
local playerCoords = GetEntityCoords(PlayerPedId())
local distance = #(playerCoords - floor.coords)
if distance <= 3.0 then
sleep = 0
DrawText3Ds(floor.coords.x,floor.coords.y,floor.coords.z, "Press ~r~E~w~ to use Elevator From " .. floor.level)
if distance <= 1.5 and IsControlJustReleased(0, 38) then
local data = {}
data.elevator = elevatorName
data.level = index
TriggerEvent('angelicxs_elevator:showFloors', data)
end
end
Wait(sleep)
end
end)
end
end
end
end)
you can't create a thread for each position, not to mention calculating the local player's position consecutively to obtain the same result, and the same goes for key detection
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.