mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-16 22:37:22 +08:00
refactor(Functions): Changed native with rage::joaat
This commit is contained in:
parent
b0e301a6f6
commit
eff1500fdc
@ -192,7 +192,7 @@ namespace big
|
|||||||
|
|
||||||
Entity func::spawn_vehicle(const char* model, Vector3 location, float heading)
|
Entity func::spawn_vehicle(const char* model, Vector3 location, float heading)
|
||||||
{
|
{
|
||||||
Hash hash = MISC::GET_HASH_KEY(model);
|
Hash hash = rage::joaat(model);
|
||||||
|
|
||||||
if (hash)
|
if (hash)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user