Jump to content
RAGE Multiplayer Community

[Native] Invisible ??


Loorenzos
 Share

Recommended Posts

Hey, i come from FiveM and i trying to convert my admin menu to RageMP and i have a problem with my invisibility native

SetEntityVisible(ped, false, false)

I didnt saw it in the Wiki ^^ someone know if there is the same on RageMP ?? :P

Edited by Loorenzos
Link to comment
Share on other sites

10 hours ago, Captien said:

For Entity visibility use the following:
 

entity.setAlpha(alpha) //alpha could be from (0-255) 0 means invisible

setAlpha

For your camera functions, I believe you're trying to find this:

 

mp.game.cam.setGameplayCamRelativePitch(x, Value2);
mp.game.cam.setGameplayCamRelativeHeading(heading);

setGameplayCamRelativeHeading
setGameplayCamRelativePitch

not this one.. i want GETGameplayCamRelativePitch/Heading

Link to comment
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
 Share

  • Recently Browsing   0 members

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