rt-2

Not able to use native PED::SET_PED_HEAD_OVERLAY

Recommended Posts

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.