**BANNED The Man
2011-02-13 08:52:10
function R_EquipID(ID:integer): boolean;
begin
Result := IsEquippedID(ID);
for i := 1 to 28 do
if(GetItemIDAt(i) = ID)then
begin
TB := InvBox(i);
MouseBoxEx(TB.X1, TB.Y1, TB.X2, TB.Y2,14, 2);
if not R_ChooseOption('Wield') then
R_ChooseOption('Wear');
end;
Result := IsEquippedID(ID);
end;Will equip the selected ID.
I will make an R_UnEquip later :)
-Boom