candimods / fiveems_premium Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://discord.candimods.com
License: MIT License
Home Page: https://discord.candimods.com
License: MIT License
At the moment, FiveEMS only support the basic inventory system from ESX, i suggest to add a server file with global functions (global functions should be called in the main server file) peoples should be able to change the functions if they are using other inventory as ox_inventory, qs-inventory or a custom inventory for example.
Here is a example
function canCarryItem(id, data)
local player = ESX.GetPlayerFromId(id);
if not (player) then return end;
return player.canCarryItem(data.itemName, data.itemCount);
end
function addItem(id, data)
local player = ESX.GetPlayerFromId(id);
if not (player) then return end;
if canCarryItem(id, data) then
player.addInventoryItem(data.itemName, data.itemCount);
end
end
id correspond to the id player, and data is a array with informations of the item (itemname, itemcount, ..)
If i change the Keys for example door open/close, it doesnt change anything after restart. Only the menue does work
Hello, we do not have the possibility of deactivating the f7 menu or changing the key, also I would like to know the trigger which allows us to open the menu in order to put it in the job.
I also point out that in relation to the stretcher we choose, the translations are mixed.
This is my issue:
According to the ESX documentation, this is the suggested fix.
https://documentation.esx-framework.org/tutorials/tutorials-esx/sharedevent/
Client.lua & Main.lua files are encrypted so I can't try to apply the fix.
Thank you
For a good bug report you should probably include:
Before you submite a report do you have the most recent version in the config.lua
Client (production/canary) and FXServer version - Production fxversion FXServer 5540
What you expected to happen Only make 1 stretcher spawn
What actually happens people can spawn as many stretchers as they want, this must be restricted in the config as a value for example max 2 per player.
Category of bug (eg. client, server, weapons, peds, native) Script
Reproducible steps, preferably with example script(s) I mean just spawn the stretcher a many times as you want
ESX or NON ESX NON ESX
I can't put other players on a stretcher, even though the stretcher is close enough to them, I still lie on it every time, not them
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.