live4evil
08-17-2010, 07:56 PM
{ type TInvenItem;
Description: Holds data regarding an inventory item }
type
TInvenItem = record
Width, Height : Integer; // the width and height of the item
Count : Integer; // the count of the item
ItemBox : TBox; // the exact box around the item
CenterPoint: TPoint; // the center point inside the item
ExistsItem : Boolean; // to define the item Exists
end;
TInvenItemArr = array of TInvenItem;
Failed when compiling
Line 35: [Error] (22626:1): Duplicate identifier 'TInvenItem' in script C:\Documents and Settings\Irmuun\Desktop\SCAR 3.23 Beta\includes\SRL\SRL\Core\Inventory.scar
It keeps failing and saying Duplicate identifier even though SRL made it and i should work
Description: Holds data regarding an inventory item }
type
TInvenItem = record
Width, Height : Integer; // the width and height of the item
Count : Integer; // the count of the item
ItemBox : TBox; // the exact box around the item
CenterPoint: TPoint; // the center point inside the item
ExistsItem : Boolean; // to define the item Exists
end;
TInvenItemArr = array of TInvenItem;
Failed when compiling
Line 35: [Error] (22626:1): Duplicate identifier 'TInvenItem' in script C:\Documents and Settings\Irmuun\Desktop\SCAR 3.23 Beta\includes\SRL\SRL\Core\Inventory.scar
It keeps failing and saying Duplicate identifier even though SRL made it and i should work