i keep getting this error when i try to execute a command, and i just don’t know how to fix it can someone please help me with this

F8 error

Code

1 Like

You likely meant to use backticks for a compile time hash `LOAD_WATER_FROM_PATH`. Though I’m not sure what you are doing since there seems to be no native with that name

The error say it all, you cant do any bit operation between a str and Hex Number (which seems logical ) otherwise, i think there is nothing called « LOAD_WATER_FROM_PATH »

okay thanks

Hey man, hope you enjoyed a super rare coding stream! :slight_smile: /s

This wont work for three reasons…

  1. As they’ve already mentioned, you’ve not used back-ticks (`) around the native name… `MyCoolString` is basically a GetHashKey(‘MyCoolString’)… So doing & 0xFFFFFFFF on a string wont do you much good. However, you can do either GetHashKey(‘LOAD_WATER_FROM_PATH’) or `LOAD_WATER_FROM_PATH`.
  2. You don’t have these natives as I am running my own compiled FiveM Client with changes from a gist provided by Disquse
  3. If you run >=2372 you will have to update the offsets in that Gist as they’ve changed from 160x or whatever Disquse used to research.

Enjoy :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.