inv_has_item(item_name[, char_name])

Parameters:
item_name (string) name of the item
char_name (string, optional) name of the character (defaults to "#PLAYER1#")
 
Returns:
(boolean) true if the character has the item, else false

Description:
Check if a character has a particular item in inventory.
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:15