武装突袭 Wiki
注册
Advertisement
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
/*
	File: fn_invAdd.sqf

	Description:
	Adds item to inventory - checks if there is room for it. Checks if add was done by engine.

	Parameter(s):
	1: <object> unit
	2: <string | config class> inventory item (weapon | magazine | other item) - name or class

	Returns:
	<bool> true if successfully added to inventory
	or
	when forcing add - <array> list of removed items (TODO: indicate fail to add)
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Example 1:
Example needed
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section

Advertisement