Jump to content

Recommended Posts

Posted (edited)

Hi,
First of all, my intention is not to use natives, but this is part of a testing process for a bigger problem of mine. 
Let's keep this very simple. In the end I WILL NOT use natives, It's a long story, I prefer to stay on this one small problem that I am at now.

So if I use the rage function for `setHeadOverlay` I can add eyebrows on my player, but when I use the same native, somehow nothing happens.
 

	mp.players.local.setHeadOverlay(2, 3, 1.0, 27, 27); //Works perfectly

	// PED::SET_PED_HEAD_OVERLAY
	mp.game.invoke("0x7EFCF07CD12475BD", mp.players.local.handle, 2, 3, 1.0); // Does nothing

	// PED::_SET_PED_HEAD_OVERLAY_COLOR
	//mp.game.invoke("0x147BB6F3C899F76B", mp.players.local.handle, 2, 1, 27, 27); I even tried to add this one after but it doesn't help


It's strange because it should just work if the rage function works.

There is obviously something I'm doing wrong but I cannot find it. And I haven't been able to talk to anyone who is using it at the moment.

This is where I found the hashes for the natives (Thanks McFloy!):
https://github.com/Mcfloy/natives/

Thank you,
rt-2

Edited by rt-2
added the source of my hashes
  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...