Wdoyle Posted June 7, 2022 Posted June 7, 2022 Hey there! We have been building an online panel that can manage our vehicles directly within Laravel. To ensure our code is backwards compatiable with our current server which requires Uint32 ID for the Vehicle (Hash), we thought we would try and find the best way to ensure we can generate the correct Hex Code and Uint32 reference for the vehicle which would match with the RageMP Wikis. So to save you having to search How to convert into JOAAT for RageMP - check out the code below: hexdec(hash('JOAAT', strtolower("entityname"))); // Outputs the Uint32 of the entity name (Hash) hash('JOAAT', strtolower("entityname")); //Outputs the Hex reference of the entity name Before you ask - there isn't a way to reverse a Hex or Uint back to it's original name.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now