Well i made Public class Called Lottery Then i add Made public Field of this Lottery Class like that
Code:
publi class Lottery
{
public uint WonID;
}
Code:
Public Lottery LotteryInformations;
Then when i Assign Value to this Instance i Receive Null Reference exception although its not Null As i Assigned value to it for example this code
Code:
if (client.Entity.Level == 140)
{
client.LotteryInformations.WonID = 711524;
}
What did i do wrong ...i think i've everything Right :@