Stuyk / altv-athena

A Roleplay Framework for alt:V by Stuyk
https://athenaframework.com/
228 stars 149 forks source link

hash lookup utility, vehicle repair command and vehicleInfo update #398

Closed Dav-Renz closed 1 year ago

Dav-Renz commented 1 year ago

This PR adds a hash lookup utility to the Framework. It works both client and serverside.

Currently it can provide information about vehicles, peds, and props by providing any version of the JOAAT hash.

An example of this utility can be found in the vehicle repair command, which tells the user the displayname of the vehicle that got repaired.

Also included are 3 test commands to get a name from a hash. One for each category described earlier.

In the process of integrating the necesarry information into the vehicleInfo file, I reworked the types and classes to reflect the ones used in GTA V. Also all the new vehicles got added.

github-actions[bot] commented 1 year ago

Click on command line instructions below for checkout information of this PR.