Giter Club home page Giter Club logo

fiveems_premium's People

Contributors

candimods avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fiveems_premium's Issues

(Request): Add a server file to allow compatibility with other inventories

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, ..)

Problem important

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.

bug Report template

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

  1. Client (production/canary) and FXServer version
  2. What you expected to happen
  3. What actually happens
  4. Category of bug (eg. client, server, weapons, peds, native)
  5. Reproducible steps, preferably with example script(s)
  6. ESX or NON ESX

Missing config value.

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.
image

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

fivemEMS peoblem

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

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.