natoed Posted December 30, 2016 Report Share Posted December 30, 2016 I know addactions and stock AH are two dirty words most people do not what to hear. I've tried and tried, some success but most fails. have done this Spoiler antihack_addActionCheck = false; Read all sorts of post on addactions to the point I'm so fucken confused. so where do i whitelist the addactions? Attach explosives script functioned once and once only. I can not give up on this, I can't let this script/stock AH win.... so I need some help to nut this out. any takers! cheers natoed Link to comment Share on other sites More sharing options...
1 He-Man Posted December 31, 2016 Report Share Posted December 31, 2016 You can put it direcly in your init.sqf for testing: Spoiler [] spawn { if (hasinterface) then { uisleep 30; player addAction ['Test Addaction', {hint (_this select 3); systemchat (_this select 3)},'Test Action works',1.5,false,true,'','true']; }; }; The uisleep 30 is only to make sure, that the action is not loaded before the player self is loaded in. If you get a scrolldown menu with this, it is not the Antihack! natoed 1 Link to comment Share on other sites More sharing options...
0 He-Man Posted December 30, 2016 Report Share Posted December 30, 2016 Are you sure, that the AH is the problem? Or could your addaction script have a problem? just try: player addAction ['Test Addaction', {hint (_this select 3); systemchat (_this select 3)},'Test Action works',1.5,false,true,'','true']; Link to comment Share on other sites More sharing options...
0 natoed Posted December 31, 2016 Author Report Share Posted December 31, 2016 thx for the reply He-Man, but as I am a complete Muppet where do i place what you suggested? player addAction ['Test Addaction', {hint (_this select 3); systemchat (_this select 3)},'Test Action works',1.5,false,true,'','true']; thx natoed Link to comment Share on other sites More sharing options...
0 natoed Posted January 1, 2017 Author Report Share Posted January 1, 2017 thx He-Man 'Test Addaction' worked just fine, so its the script then, you saved me a lot of time n pain thx agian. cheers natoed Link to comment Share on other sites More sharing options...
Question
natoed
I know addactions and stock AH are two dirty words most people do not what to hear.
I've tried and tried, some success but most fails.
have done this
Read all sorts of post on addactions to the point I'm so fucken confused.
so where do i whitelist the addactions?
Attach explosives script functioned once and once only.
I can not give up on this, I can't let this script/stock AH win.... so I need some help to nut this out.
any takers!
cheers
natoed
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now