SadBoy1981 Posted December 10, 2014 Report Share Posted December 10, 2014 delete me Link to comment Share on other sites More sharing options...
oSoDirty Posted December 10, 2014 Author Report Share Posted December 10, 2014 Hey guys if im trying to add new tab what would i add here, trying to add the message tab i have it inserted into this text cant try test it yet...to many players online. also i notice the "-insertnumber ,false,true,"",""]; " keeps going higher what would i put for the message tab? P.S how do ya do the spoiler tabs for code? /////////////////////////////////////////////////////////////////// // Detailed scroll rules /////////////////////////////////////////// // By oSoDirty //////////////////////////////////////////////////// // rules initialization /////////////////////////////////////////// /////////////////////////////////////////////////////////////////// if(speed player <= 0) then { _isDirty = true; if(_isDirty) then { _rule_set1 = player addAction["PVP","custom\rules\pvp.sqf","",-5,false,true,"",""]; _rule_set2 = player addAction["mods","custom\rules\mods.sqf","",-6,false,true,"",""]; _rule_set3 = player addAction["Chat","custom\rules\chat.sqf","",-7,false,true,"",""]; _rule_set4 = player addAction["Building","custom\rules\building.sqf","",-8,false,true,"",""]; _rule_set5 = player addAction["Cheating","custom\rules\cheating.sqf","",-9,false,true,"",""]; _rule_set6 = player addAction["Thanks","custom\rules\thanks.sqf","",-9,false,true,"",""]; _rule_set7 = player addAction["message","custom\rules\message.sqf","",-9,false,true,"",""]; waitUntil { speed player > 0 }; player removeAction _rule_set1; player removeAction _rule_set2; player removeAction _rule_set3; player removeAction _rule_set4; player removeAction _rule_set5; player removeAction _rule_set6; player removeAction _rule_set7; _rule_set1 = -1; _rule_set2 = -1; _rule_set3 = -1; _rule_set4 = -1; _rule_set5 = -1; _rule_set6 = -1; _rule_set7 = -1; }; }; }; }; That will work fine. the -# is just the priority. higher number = higher on list. can be negative or positive [ spoiler ] and [ / spoiler ] no spaces Link to comment Share on other sites More sharing options...
downtime89 Posted December 10, 2014 Report Share Posted December 10, 2014 Thanks! Link to comment Share on other sites More sharing options...
downtime89 Posted December 28, 2014 Report Share Posted December 28, 2014 How would i go about making this script require a item to bring up the option? That way i can put the item example a unused document item into the default loadout if they dont want the menu showing they can drop the item on respawns. Link to comment Share on other sites More sharing options...
TNT Posted December 28, 2014 Report Share Posted December 28, 2014 Could I have permission to modify this script? I would like to make it where you can use Maca's right click for this instead :D hit me up when u release it =] thanks to all Link to comment Share on other sites More sharing options...
Gr8 Posted December 29, 2014 Report Share Posted December 29, 2014 Look at this post. Its not that hard Link to comment Share on other sites More sharing options...
oSoDirty Posted December 30, 2014 Author Report Share Posted December 30, 2014 OP updated with instructions for all!! Link to comment Share on other sites More sharing options...
illclint Posted February 16, 2015 Report Share Posted February 16, 2015 Hope it's alright to bump this ancient thread, but it's such a great and simple script. The script works for me, but when I activated it hintC doesn't do anything. titleText displays just fine. Here's an example of my edited script: // Chat private["_separator1","_txt"]; cutText ["HOLD LEFT-CLICK ON TEXT AND DRAG UP AND DOWN, PRESS ESCAPE TO CLEAR OR CONTINUE ON BOTTOM!", "PLAIN DOWN"]; sleep 1; "Hints & Tips" hintC [ "-Chat-", "Just don't be a redacted", "Voice on side results in a kick" Link to comment Share on other sites More sharing options...
ElDubya Posted February 16, 2015 Report Share Posted February 16, 2015 player removeAction s_rules; s_rules = 1; if(speed player <= 0) then { _isDirty = true; if(_isDirty) then { _rule_set1 = player addAction["PVP","custom\rules\pvp.sqf","",-5,false,false,"",""]; _rule_set2 = player addAction["Safezones","custom\rules\safezone.sqf","",-6,false,false,"",""]; _rule_set3 = player addAction["Chat","custom\rules\chat.sqf","",-7,false,false,"",""]; _rule_set4 = player addAction["Building","custom\rules\building.sqf","",-8,false,false,"",""]; _rule_set5 = player addAction["Cheating","custom\rules\cheating.sqf","",-9,false,false,"",""]; _rule_set6 = player addAction["Thanks","custom\rules\thanks.sqf","",-12,false,true,"",""]; waitUntil { speed player > 0 }; s_rules = -1; player removeAction _rule_set1; player removeAction _rule_set2; player removeAction _rule_set3; player removeAction _rule_set4; player removeAction _rule_set5; player removeAction _rule_set6; _rule_set1 = -1; _rule_set2 = -1; _rule_set3 = -1; _rule_set4 = -1; _rule_set5 = -1; _rule_set6 = -1; }; }; }; }; Are those 4 x }; at the bottom right? They don't all match up in Notepad++ Link to comment Share on other sites More sharing options...
ElDubya Posted February 16, 2015 Report Share Posted February 16, 2015 And this is the error it produces : File mpmissions\__CUR_MP.Napf\custom\rules\rules_init.sqf, line 35 Error in expression <_rule_set5 = -1; _rule_set6 = -1; }; }; }; };> Error position: <}; };> Error Missing { File mpmissions\__CUR_MP.Napf\custom\rules\rules_init.sqf, line 35 Error in expression <_rule_set5 = -1; _rule_set6 = -1; }; }; }; };> Error position: <}; };> Error Missing { File mpmissions\__CUR_MP.Napf\custom\rules\rules_init.sqf, line 35 Error in expression <_rule_set5 = -1; _rule_set6 = -1; }; }; }; };> Error position: <}; };> Error Missing { File mpmissions\__CUR_MP.Napf\custom\rules\rules_init.sqf, line 35 Link to comment Share on other sites More sharing options...
Webrene Posted July 26, 2015 Report Share Posted July 26, 2015 Delete the two last }; so that it looks like this player removeAction s_rules; s_rules = 1; if(speed player <= 0) then { _isDirty = true; if(_isDirty) then { _rule_set1 = player addAction["PVP","custom\rules\pvp.sqf","",-5,false,false,"",""]; _rule_set2 = player addAction["Safezones","custom\rules\safezone.sqf","",-6,false,false,"",""]; _rule_set3 = player addAction["Chat","custom\rules\chat.sqf","",-7,false,false,"",""]; _rule_set4 = player addAction["Building","custom\rules\building.sqf","",-8,false,false,"",""]; _rule_set5 = player addAction["Cheating","custom\rules\cheating.sqf","",-9,false,false,"",""]; _rule_set6 = player addAction["Thanks","custom\rules\thanks.sqf","",-12,false,true,"",""]; waitUntil { speed player > 0 }; s_rules = -1; player removeAction _rule_set1; player removeAction _rule_set2; player removeAction _rule_set3; player removeAction _rule_set4; player removeAction _rule_set5; player removeAction _rule_set6; _rule_set1 = -1; _rule_set2 = -1; _rule_set3 = -1; _rule_set4 = -1; _rule_set5 = -1; _rule_set6 = -1; }; }; and you're fine. Another question: Is it possible to add a background like in the debug monitor the half transparent brown background to the info boards? Link to comment Share on other sites More sharing options...
Cr0w Posted November 25, 2015 Report Share Posted November 25, 2015 I've tried the tab key option and it's not working, no errors in rpt or anything, I am using Infistar if that is a problem? Link to comment Share on other sites More sharing options...
Cr0w Posted November 30, 2015 Report Share Posted November 30, 2015 bump Link to comment Share on other sites More sharing options...