Vendor NPC not spawning
Hello, i have problem if i restart my server. Vending npc not spawned
1.CopterVendor
2.Boat Vendor
And other vendors, guards spawned
Vendor
Guard spawned, vendor no

Merged post

Hello, how fix it?

same issue -.-
thank you very much for the very helpfull answers! tzz...

Save it as SpawnVendor.cs and as an admin use /svendor. Just position yourself exactly as you want the vendor to spawn in. This plugin spawns the bandit camp npc.

namespace Oxide.Plugins
{
    [Info("Vendor Spawn", "PaiN", "0.1.0")]
    class SpawnVendor : RustPlugin
    {
        [ChatCommand("svendor")]
        void cmdSpawn(BasePlayer player, string command, string[] args)
        {
            if (!player.IsAdmin) return;
            var vendor = GameManager.server.CreateEntity("assets/prefabs/npc/bandit/shopkeepers/bandit_conversationalist.prefab", player.transform.position, player.eyes.rotation, true);
            vendor.Spawn();
        }
    }
}
​

Bro, thanks for help :)