View Single Post
Old 06-27-2007, 11:03 PM   #4 (permalink)
CEO
Forum Novice
 
CEO's Avatar
 
Join Date: Jun 2004
Age: 49
Posts: 808
Default

Quote:
Originally Posted by Pyro-Tech View Post
got an error for you...

Code:
 + Custom/New Scripts/Systems/Commands/playerwealth.cs:
    CS0029: Line 102: Cannot implicitly convert type 'System.Collections.ArrayLi
st' to 'System.Collections.Generic.List<Server.Multis.BaseHouse>'
    CS1502: Line 110: The best overloaded method match for 'System.Collections.G
eneric.List<Server.Multis.BaseHouse>.AddRange(System.Collections.Generic.IEnumer
able<Server.Multis.BaseHouse>)' has some invalid arguments
    CS1503: Line 110: Argument '1': cannot convert from 'System.Collections.Arra
yList' to 'System.Collections.Generic.IEnumerable<Server.Multis.BaseHouse>'
Um? 2.0? It compiles clean for me and works fine.... Don't see anything wrong with that. The line is defining a List<> type. I think there's something different with your system.

Hmm, Though that line shouldn't be there.. It looks like older testing stuff. I'll remove some things a repost...
__________________
If you PM me and ask me to write scripts for you I will add you to my ignore list.
Please don't add me to your friends list, I have enough friends. Thx

Last edited by CEO; 06-27-2007 at 11:10 PM.
CEO is offline   Reply With Quote