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

AddItem

Adds an Item to a Container.

[top]Declaration

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

[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
vaultmp::State - determines whether, in this case a Player, will get notified of the action

[top]Return value

None.