FrenchCat

is Blip rotation broken ?

Recommended Posts

Hello, does anyone knows how the blip rotation works ? I'm having troubles understanding it. Here are different rotations and their result :

BLUE : 0 ; PINK : 90 ; RED : 180 ; YELLOW : 270 ; GREEN : 360

lX0fFcp.png

Someone told me that it must be between -180 and 180, but this doesn't fix the problem :

BLUE : -180 ; PINK : -90 ; RED : 0 ; YELLOW : 90 ; GREEN : 180

YggLqY1.png

So my question is simple, what rotation do I have to set if I want the boat to point to the right ? 😟

Edited by FrenchCat

Share this post


Link to post
Share on other sites

-180 to 180.

 

Never-mind.....


Try this.

mp.game.invoke("0xF87683CDF73C3F6E", blip.handle, mp.game.invoke("0x11E019C8F43ACC8A", heading));

Client-sided of course.

Edited by notsosmart

Share this post


Link to post
Share on other sites

Hello @notsosmart and thank you for your help, you were right, even though the 0x11E019C8F43ACC8A part wasn't necessary and didn't work.

mp.game.invoke("0xF87683CDF73C3F6E", blipTest.handle, 330);

This works perfectly ! 

@ragempdev JFYI this guy found the problem :

cZn9tB5.png

unknown.png

Edited by FrenchCat

Share this post


Link to post
Share on other sites

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.