Description
Remove element from variable from someone's variable space.
Syntax
[object,varName,element,global,inArray] call BIS_fnc_variableSpaceRemove
Parameters:
object: Object - owner of variable spacevarName: String - name of variableelement: Anything - element which will be removed (must be of same type as variable)global: Boolean - (Optional, default false) true to save modified variable globally]]
Returns: Anything - updated variable
Examples
Example 1
[player, "someVar", 1337, true] call BIS_fnc_variableSpaceRemove;