Urban is right. Actually had time to sit down and look at the complete script. What you want can easily be done with if statements. Checking for each case you have. You almost got it. Hint for the cases to check for air, land, bicycle. Good luck and update if you get it working. :)
It depends on what type of scripts you want to run from within the menu. And if they effect the anticheat via battle eye. Look at the admin tools and just tweak it to your needs. And if you get kicked or banned from battle eye look for where it kicks or bans you and add an exception for your...
Forgot about that. Edited my post.
That would be nice in theory, but I'm not sure what variable heli's and such are. You have to look into the cfg files and find what there defined as. If it is defined as air then go for it and try it out. But you would still need an exclusion for bicycles. So...
I didn't say use the cheats per se. Use the menu system as a template. I don't think you have the know how to make a menu from scratch correct? Just use the admin tools menu as a template. And just take out all the cheats. From there you can code whatever you want into the empty menu.
Also you...
if (_vehicle != _currentVehicle) then {
if (!isNull _vehicle) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
};
if (_currentVehicle != player && _isNearFeed && !(_currentVehicle isKindof "Land")) then...
Honestly stating ideas is great, but exactly as you said you don't know how to code. First learn at least the basics of coding. If you do you wouldn't be asking these questions. Spend some of your personal time learning to code instead of asking for help to code something. People more than often...
I understand what your doing. Honestly your doing it the hard way and wrong way. The UID isn't passed through the init file. It can be, but would required recording which is probably out of your scope. Easiest way for you to do it is to write that check within your admin panel script then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.