Git Product home page Git Product logo

angelicxs-elevators's People

Contributors

dracemisanthrope avatar duboiss avatar gouveiaxs avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

angelicxs-elevators's Issues

floor menu

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

couldnt start resource

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

Queation

If Iโ€™m Escorting Another Player Will The Come With Me In The Elevator Or Do They Have To Do So Manually?

Nothing happens after pushing the button.

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

bad code

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

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.