kylemcqueen75 Posted January 21, 2015 Report Share Posted January 21, 2015 Well, to keep it simple. I added group manager and deploy bike. I make a extra_rc.hpp and make the proper class. (btw never have had an issue like this.) Bottom of Description.ext I add #include "extra_rc.hpp" its located in the root of my mission folder. I spend forever looking for spelling mistake or class ExtraRc being defined already. Find nothing. There is almost nothing installed on the server....wtf?This is the bottom of my description.ext//Custom #include "extra_rc.hpp" #include "custom\snap_pro\snappoints.hpp" #include "dzgm\groupManagement.hpp"extra_rc.hppclass ExtraRc { class ItemRadio { class GroupManagement { text = "Group Management"; script = "execVM 'dzgm\loadGroupManagement.sqf'"; }; }; };I removed the deploy bike part of it for testing. Link to comment Share on other sites More sharing options...
rossco5378 Posted January 21, 2015 Report Share Posted January 21, 2015 make sure its in the custom folder and inset this code in your description.ext #include "custom\extra_rc.hpp" Link to comment Share on other sites More sharing options...
kylemcqueen75 Posted January 21, 2015 Author Report Share Posted January 21, 2015 Sorry wrong section guys xI(Admin move?)And I have tried every location in my PBO. Just isn't loading I guess? Link to comment Share on other sites More sharing options...
Psyfer Posted January 21, 2015 Report Share Posted January 21, 2015 Hi, Just checking, have you created a custom ui_selectSlot.sqf and put this section? // Add extra context menus _erc_cfgActions = (missionConfigFile >> "ExtraRc" >> _item); _erc_numActions = (count _erc_cfgActions); if (isClass _erc_cfgActions) then { for "_j" from 0 to (_erc_numActions - 1) do { _menu = _parent displayCtrl (1600 + _j + _numActions); _menu ctrlShow true; _config = (_erc_cfgActions select _j); _text = getText (_config >> "text"); _script = getText (_config >> "script"); _height = _height + (0.025 * safezoneH); uiNamespace setVariable ['uiControl', _control]; _menu ctrlSetText _text; _menu ctrlSetEventHandler ["ButtonClick",_script]; }; }; _pos set [3,_height]; near the bottom, just above: _group ctrlShow true; ctrlSetFocus _group; _group ctrlSetPosition _pos; _group ctrlCommit 0; Link to comment Share on other sites More sharing options...
kylemcqueen75 Posted January 21, 2015 Author Report Share Posted January 21, 2015 I have indeed sir.BUT i did not change the compiles sqf to read my custom file! Thanks for pointing that out! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now