Coder Social home page Coder Social logo

fivem-scenes's Introduction

Hi! ๐Ÿ‘‹

I'm Sam.

For enquiries, reach out to me at discord: Sam Shanks#0001.

Sam's metrics

fivem-scenes's People

Contributors

b0stra avatar github-actions[bot] avatar samshanks1 avatar scullyy 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fivem-scenes's Issues

admin bypass for scene creation

Hi There.

i've added
add_ace group.admin scene allow to server.cfg

i've then changed in fivem-scenes config
Config.AdminOnly = true
Config.AdminDeleteAll = true
Config.EnableKeybind = true

however with keybind enabled even when fivem-scenes is in admin only.
non-admins can still access the creation screen for scenes.

please could you suggest how to resolve this.

i have tried the following already
fivem-scenes/client/client.lua
Lines 82 - 92

    if Config.EnableKeybind and if Config.AdminOnly then
      lib.addKeybind({
        name = "Scenes",
        description = "Create/Delete scenes",
        defaultKey = Config.KeybindKey,
        onReleased = function(self)
          ToggleSceneLaser()
        end
      })
    end
end)

However this did not work. instead it disabled the menu from keybinds and the /scene command entirely. rather than IF both config.enablekeybind and config.adminonly are set to true. then proceed.

any help resolving this would be much appreciated

[Suggestion] Scene Copy + Scene Presets

dpscenes had really great functionality when it came to copying scenes - I could see a button on the Create/Delete state that says copy and then copying a targetted scene will replace the copy button with a paste (granted that another scene is not in the way).

This said, I think scene presets will also be very good and could be shouldered into the current UI (similar to ox-doorlocks even).

SUGGESTION

please add a logging system so we can keep track of who posts scene so if someone was to make one that says "hail hitler" we can find out who did it so we can ban them.

[object, Object] error in console.

Downloaded the built files fresh & tried to install to a server, but ended up getting this error.
[ 181281] [b2699_GTAProce] CrBrowserMain/ [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object] (@fivem-scenes/web/build/assets/index.c6985ead.js:47)

After this, I downloaded the source files & compiled them, and still get this error.

It doesn't bring up the menu at all, and no other errors (server) are present

[Suggestion]

  • adding configurable max font size (people in the server I'm working on tends to use scenes for pricelist and gang spray)

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.