Loorenzos Posted November 24, 2018 Posted November 24, 2018 (edited) 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 ?? Edited November 24, 2018 by Loorenzos
Loorenzos Posted November 24, 2018 Author Posted November 24, 2018 and same for these native : var heading = GetGameplayCamRelativeHeading()+GetEntityHeading(GetPlayerPed(-1)) var pitch = GetGameplayCamRelativePitch()
Loorenzos Posted November 24, 2018 Author Posted November 24, 2018 Ok i tried this one : mp.game.invoke('0xB5024B946329EB6A', entity, false, false); // SetEntityVisible and it didnt work, it said me that the native is incorrect (i tried both 1.36 and 1.39)
Captien Posted November 24, 2018 Posted November 24, 2018 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); setGameplayCamRelativeHeadingsetGameplayCamRelativePitch
Loorenzos Posted November 24, 2018 Author Posted November 24, 2018 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); setGameplayCamRelativeHeadingsetGameplayCamRelativePitch not this one.. i want GETGameplayCamRelativePitch/Heading
Flow Posted November 24, 2018 Posted November 24, 2018 Better to join discord so you can get quicker help i guess. Discord is far more active than board
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now