Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the fxmanifest.lua file #60

Open
davis-hill opened this issue Feb 6, 2025 · 0 comments
Open

Problem with the fxmanifest.lua file #60

davis-hill opened this issue Feb 6, 2025 · 0 comments

Comments

@davis-hill
Copy link

Let me begin by saying I am not a programmer, I just couldn't find the answer so I figured it out.

As it stands, the fxmanifest.lua file has as follows:

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

fx_version "cerulean"
game(gameName)
rdr3_warning "I acknowledge that this is a prerelease build of RedM, and I am aware my resources will become incompatible once RedM ships."

With this, I kept getting an error: "Warning: Resource spooner is not using CitizenFXv2 manifest. This is not allowed for the current game (rdr3)."

With a bit of research, the problem was obviously not the

fx_version "cerulean"

line, so it had to have been something else. Looking at older manifests, they all had a line that said

games { 'rdr3' }

or, if the case happened to be,

games { 'rdr3', 'gtav' }

or something of the like.

The manifest that comes here states two lines:

local gameName = ""
game(gameName)

Of course, in the parentheses in line 1, rdr3 must go there--which I had done.

I switched it out for

games { "rdr3"}

and it worked. I do not know if it mattered but I used quotation marks instead of apostrophes because the rest of the file did and I assumed it was a protocol thing. In my very limited knowledge of programming, the original option wouldn't make sense, as the line would seem to be reversed, but what do I know; I am a liberal arts student lol.

Anywhilst, perhaps I did something wildly wrong, but it didn't work and now it does, so perhaps consider changing the lines

local gameName = ""
game(gameName)

to

games { "" }

Or not do whatever you want.
I also got rid of the first three informational lines but I assumed those were recognized as comments, but perhaps that was what fixed it--I doubt it, though.
I am not quite sure why it was recognized as an error regarding it not being a citizenfxv2 manifest problem when that was the only line I listed that worked lol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant