Tarackgame Posted May 6, 2016 Share Posted May 6, 2016 Hy. How can i disable the Special Ability meter in the radar? For example:gta online? Any natives? Anyone can help me? Link to comment Share on other sites More sharing options...
mockba.the.borg Posted May 6, 2016 Share Posted May 6, 2016 Hi Tarackgame, There are a few Special Ability related natives under the namespace PLAYER, however I have played with them a little bit before replying to you and was not able to make the yellow meter appear/disappear. I was able to fill iy up and empty it, but couldn't enable/disable it. What is your intent? To make it appear while online? Or disappear while offline? I think the only option would be to try and find something related to it on the decompiled scripts. Cheers, Mockba. Link to comment Share on other sites More sharing options...
Tarackgame Posted May 7, 2016 Author Share Posted May 7, 2016 (edited) Hmm,okay i think SPECIAL_ABILITY_DEACTIVATE() but this native is not working for me Example: I get on the lectro motorbike and i leave the motorbike,the special ability meter disappear like gta online Edited May 7, 2016 by Tarackgame Link to comment Share on other sites More sharing options...
Zumorio Posted May 7, 2016 Share Posted May 7, 2016 Ped playerEntity = PLAYER::PLAYER_PED_ID(); // retrieve the player's entity.PLAYER::ENABLE_SPECIAL_ABILITY(playerEntity, false); // turn off the special ability. This should work. Link to comment Share on other sites More sharing options...
Tarackgame Posted May 7, 2016 Author Share Posted May 7, 2016 (edited) Not working Nothing happened Edited May 7, 2016 by Tarackgame Link to comment Share on other sites More sharing options...
mockba.the.borg Posted May 7, 2016 Share Posted May 7, 2016 Hi Zumorio, Did those natives work for you in that situation? If so, please share the code with us. Thanks, Mockba. Link to comment Share on other sites More sharing options...
ins1de Posted May 7, 2016 Share Posted May 7, 2016 To make it unavailable for the current player : C# : Function.Call(Hash.ENABLE_SPECIAL_ABILITY, Game.Player.Character.Model, false); This function doesn't allow you to use the special ability for the current model. Link to comment Share on other sites More sharing options...
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