Delete me 3

If you are having the same problem as KSA01 then it has to do with another resource. I’m not going to try and figure out which of your X resources are conflicting with mine. If my resource is not working with the latest FXServer and JUST this resource installed then I will look into it, but I just tested and it is working as expected. EDIT: By JUST RPDeath i mean no other custom resources, the default resources should still be enabled.

Try turning every resource off but RPDeath and keep adding 1 resource until it breaks, then look into that resource.

just tried a complete reinstall of the server and only installed rpdeath and the problem persists thankyou for your quick reply though

When you login do you see any errors in the F8 console or do you see RPDeath: Disabling autospawn... then RPDeath: Autospawn disabled!?

Also, can you give me the snippet of your server.cfg

its working now after i restated the resource manually via rcon even after a server restart so not sure what the problem was but its all good now thank you for your time, patience, hard work and dedication to the community, you are very much appreciated

I have not been able to pin it down to 1 resource, but 5, it seems that these 5 resources alone and together cause the RP Death script to not work, the commands still work but autospawn doesn’t seem to be disabled.
The scripts are:
cuff-handsup
drag
carhud
pv-tow
wk_vehdamage
This is my server.cfg:

Just downloaded wk_vehdamage and have my server with just that resource & my RPDeath and I can’t recreate the issue.

Also, you don’t even have that resource started.

EDIT: Looks like cuff-handsup is causing an issue…No idea why.

Hm… Its causing an issue? Its very small thats really odd.

I’m like 95% sure it has nothing to do with your script.

1 Like

Its still weird though :joy:

Oh yeah it is, i think it has something to do with the fivem game mode.

Added a 15 second wait into my onClientMapStart and it seems to have fixed the issue…

Yep, it was the FiveM resource calling setAutoSpawn(true) after mine.
(Didn’t really wait 5 seconds)
http://puu.sh/xeypk/7935f3368b.jpg

@KSA01 @RowDog Try redownloading RPDeath now, I’ve pushed some updates that seem to have resolved the issue.

Honestly I was suprised that fivem resource had those spawn exports in there. I noticed it yesterday but when I would change it. It would break so idk.

Would there be any way to whitelist this? I think I know how but I’m asking anyways in case someone has a sure fire way to do it. Thanks

Whitelist what? The ability to use certain scripts/certain commands within the scripts?

@TheStonedTurtle Thank you for fixing the script, I just tested it and it works right off the start of the server. Glad I could help out to find a solution because I noticed that others had the same problem. Also btw I did have the resource started in the picture you just have to click it to see the rest, for some reason it cut them out. I just included it to show my resources anyway. It took me a while to figure out which scripts it was, because each test I had to reload the cache folder and join the server to test each script.

1 Like

Thank you for fixing this plugin. it works perfect now.

Yeah, sorry. The ability to use all commands within the RP death script

@eltuis10 Add a check in the server.lua file where the commands are. you’d need to create your own way of checking for admins depending on your setup.

I’'d be okay with just ip whitelisting but i’m sure there’s a way to connect it to the admin level of ES Admin which would be ideal. I’ll look into it but I doubt I’ll figure it out haha. Thanks though

@thestonedturtle not sure if it is anything todo with your script or the latest fivem updates but my npc models keep reverting to michael when i die any ideas what could be causing this? the used to be o.k with lambda npc’s