Poppa Wallace

Poppa Wallace

  • NA
  • 189
  • 24.4k

Only assignment, call, increment, decrement, and new object

Dec 9 2016 3:06 PM
var PlayersID ="";
if (res = base.Interact(player))
{
TurnTo(player, 5000);
var getId = GameServer.Database.SelectObjects<DOLCharacters>("RealmPoints > 0 ORDER BY RealmPoints DESC LIMIT 1");
foreach (var t in getId)
{
PlayersID == t.Name;
}
 
 
 
Why am I getting  ?
Only assignment, call, increment, decrement, and new object expressions can be used as a statement

Answers (1)