Jump to content
Sign in to follow this  
BullyBoii

BIS_fnc_addCommMenuItem help with returned value "ItemID"

Recommended Posts

my problem is trying to get the returned value of the BIS_fnc_addCommMenuItem function so that i can remove the item as and when i please

i was hoping that some one here knew how to get this returned value and if it is a complicated process

here is the script, (not as though you really need it though)

[player,"101UAV"] call BIS_fnc_addCommMenuItem;

any help is greatly appreciated

thank you

Adam

EDIT: SOLVED

I have found a solution to the problem use instead:

personlUAVadd = [player,"101UAV"] call BIS_fnc_addCommMenuItem;

and to remove the menu action use

[player, personlUAVadd] call bis_fnc_removeCommMenuItem;

Tip: always use variables :D

Moderators may close or lock this thread.

Edited by BullyBoii
SOLVED

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×