I was making a Boothing AI to sell Sellected items.
i was having a error in it drive me crazy.
but i solved it
it was from the Booth.Base. UID. cuz i was giving a entity.uid > 7,000,000
but when i used 1,00,000 it worked fine
(SobNpc)
PHP Code:
this.Base = new SobNpcSpawn();
this.Base.Owner = this.Owner;
this.Base.UID = (this.Owner.Entity.UID % 1000000) + ((this.Owner.Entity.UID / 1000000) * 100000);
this.Base.Mesh = 0x196;
this.Base.Type = Enums.NpcType.Booth;
this.Base.ShowName = true;
this.Base.Name = this.Name;