Coder Social home page Coder Social logo

Error loading script about spooner HOT 4 CLOSED

kibook avatar kibook commented on August 23, 2024
Error loading script

from spooner.

Comments (4)

kibook avatar kibook commented on August 23, 2024

Is this for RedM or FiveM?

Did you modify anything in fxmanifest.lua aside from setting the gameName variable?

Are there any errors in the server console (not the in-game one) when uiprompt starts?

from spooner.

BBDMAC avatar BBDMAC commented on August 23, 2024

no errors in console

fx

REDM

from spooner.

kibook avatar kibook commented on August 23, 2024

You need to set the gameName variable, not the game metadata directly:

-- Set this to one of the following:
-- FiveM: "gta5"
-- RedM: "rdr3"
local gameName = ""

Inside the quotes, add either gta5 (for FiveM) or rdr3 (for RedM):

local gameName = "rdr3"

The gameName variable is used in a few places inside fxmanifest.lua to load different things for FiveM vs. RedM. Leaving it unset or removing it will cause issues like this. Unfortunately, this is the best method I've been able to find so far to have a single resource that loads different scripts for both games. There doesn't appear to be any way to automatically detect which game a resource is being used on within fxmanifest.lua.

from spooner.

nickwayman1068 avatar nickwayman1068 commented on August 23, 2024

Hello I have spooner installed and It will not open even when I have the dependency and spooner both started on the console any reason this might not be working?

from spooner.

Related Issues (20)

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.