Jump to content

Recommended Posts

Posted
  • Does any one know how to make this native run?

 

It's also available on RAGE database:
https://cdn.rage.mp/public/natives2/#native_0xCE5D0E5E315DB238

 

It simply doesn't work...

I've tried all these ways:

  • mp.game.invoke("0xCE5D0E5E315DB238", 1128792064, 1128792064, 0, 1120403456, 1120403456);
  • mp.game.ui.addBlipForArea(200, 200, 0, 100, 100)
  • mp.game.invoke("0xCE5D0E5E315DB238", 200, 200, 0, 100, 100);

 

Anyone ever had success trying to add an area to the map?

Posted (edited)

You have an example on how to use that in my other posts. Just read them and try to understand what I did. I will write down below an example on how to use that native.

var natives = {};

natives.ADD_BLIP_FOR_AREA = (x, y, z, scaleX, scaleY) => mp.game.invoke("0xCE5D0E5E315DB238", x, y, z, scaleX, scaleY);

Now you have an usage for it. Just call it inside one of your functions / events and it should work.

Edited by brosiden
Posted
9 hours ago, brosiden said:

You have an example on how to use that in my other posts. Just read them and try to understand what I did. I will write down below an example on how to use that native.


var natives = {};

natives.ADD_BLIP_FOR_AREA = (x, y, z, scaleX, scaleY) => mp.game.invoke("0xCE5D0E5E315DB238", x, y, z, scaleX, scaleY);

Now you have an usage for it. Just call it inside one of your functions / events and it should work.

Hi. I have already tried that, but it doesn't seem to work. Have you tried it? Did it work? I have no problems with other natives nor functions.

Posted
12 hours ago, Almeidowski said:

Hi. I have already tried that, but it doesn't seem to work. Have you tried it? Did it work? I have no problems with other natives nor functions.

Didn't try it because I don't use a native to create a blip.

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...