This site has been archived and made available for preservation purposes. No edits can be made.

AddItem

This is an old revision of this page, as edited 04-26-2012, 09:41 PM by foxtacles (contribs). It may differ significantly from the current revision.
Adds an Item to a Container.

[top]Declaration

Code cpp:
VAULTSCRIPT vaultmp::Void (*AddItem)(vaultmp::ID, vaultmp::Base, vaultmp::UCount, vaultmp::Value);
native AddItem(ID, base, count, Float:value);

[top]Parameters

vaultmp::ID - the ID of the Container
vaultmp::Base - the base ID of the Item to add
vaultmp::UCount - count to add
vaultmp::Value - the Item condition

[top]Return value

None.