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

Drug effect not working #6

Open
c4gsavages opened this issue Aug 1, 2019 · 3 comments
Open

Drug effect not working #6

c4gsavages opened this issue Aug 1, 2019 · 3 comments
Labels
waiting for community Waiting for community update to fix.

Comments

@c4gsavages
Copy link

c4gsavages commented Aug 1, 2019

Hi, I extracted the files, edited it a bit by switching the effects/animation of coke and weed around. Then I tried starting the resource and pops up with an error saying. Also won't let me use any other drug, only lets me use weed since i didn't remove that line of code in the sv file

https://gyazo.com/6940c06e69cd93d7fb6f91f80c0066be

@c4gsavages
Copy link
Author

@mms84
Copy link

mms84 commented Aug 14, 2019

SetPedIsDrug is supposed to be SetPedIsDrunk. SetRunSprintMultiplierForPlayer can't go higher than 1.49. Anything higher than that will not be recognized. I don't know about the missing bytes. That is a new one.

Here is a link to FiveM Native Reference. It will help you understand Lua a bit more and help you with future errors. :)

https://runtime.fivem.net/doc/natives/#_0x6DB47AA77FD94E09

@DonKKijotE
Copy link

Hi, I haven't edited the script and I'm getting the same error regarding missing bytes... Since time has passed since previous posts do you have any idea why it happened/happens?

@ArkSeyonet ArkSeyonet added the waiting for community Waiting for community update to fix. label Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for community Waiting for community update to fix.
Development

No branches or pull requests

4 participants