I added a new property to Guild.cs and am trying to read the property with another script
PlayerMobile pm = (PlayerMobile)m;
pm.Guild.NewProperty;
but i get this error
Why is it trying to read from BaseGuild when i'm referencing the player's guild?
PlayerMobile pm = (PlayerMobile)m;
pm.Guild.NewProperty;
but i get this error
Line 113: 'Server.Guilds.BaseGuild' does not contain a definition fo
r 'NewProperty' and no extension method 'NewProperty' accepting a first argument o
f type 'Server.Guilds.BaseGuild' could be found (are you missing a using directi
ve or an assembly reference?)
Why is it trying to read from BaseGuild when i'm referencing the player's guild?