Discord Silly Scripts

Silly Cattle

Silly Cattle

โ‚ฌ16.80

Add to Basket

๐Ÿ„ Silly Cattle โ€“ Herding & Selling System (RedM / VORP / RSGCore)

A complete herding loop for RedM. Use a herd item near the herd farm, drive your cows / sheep / goats / pigs to a market, and sell them for cash + meat / wool / milk. Keep an eye on the horizon โ€” wolf packs may come for your livestock.

โœจ Features

  • ๐Ÿ„ 4 herd types by default: cows, sheep, goats, pigs (fully configurable)
  • ๐Ÿ›’ Use a herd item near the farm โ†’ animals spawn, follow you in formation, and a route appears on the map
  • ๐Ÿ—บ๏ธ Random sell point out of a configurable list
  • ๐Ÿ’ฐ Per-animal reward โ€” money + multiple item drops, scaled by how many animals you deliver
  • ๐Ÿบ Wolf pack event โ€” random pack spawns to attack your herd / you (config: size, radius, timing, targets)
  • โฑ๏ธ Herd lifetime timer โ€” herd despawns after X seconds if not delivered (with on-screen countdown)
  • ๐Ÿšช Sell prompt with [G] press, server-validated ownership before payout
  • ๐Ÿงน Cleanup โ€” leftover animals are wiped on resource start/stop, character switch and respawn
  • ๐Ÿ” Cooldown per herd item to prevent spam
  • ๐ŸŒ Multi-Framework: VORP or RSGCore (auto-detected)
  • ๐Ÿ“ฆ Escrow-friendly: config.lua is ignored by escrow so you can fully tweak it

โœ… Dependencies

  • RedM
  • VORP Core or RSGCore (auto-detected)
  • VORP Inventory (when using VORP) / RSGCore inventory (when using RSGCore)

๐Ÿ“ฆ Installation

  1. Place Silly_Cattle in your server resources folder.

  2. Ensure it in your server.cfg:

    ensure Silly_Cattle
    
  3. Add the herd items to your inventory database (cowherd, goatherd, sheepherd, pigherd by default โ€” names can be changed in config.lua).

  4. Adjust farm coordinates, sell points, rewards and wolf pack settings in config.lua.

โš™๏ธ Configuration (config.lua)

Framework

  • Config.Framework โ€” 'auto' / 'vorp' / 'rsgcore' / 'standalone'
  • Config.RewardAccount โ€” VORP: money / gold / rol โ€” RSGCore: cash / bank

Herd setup

  • Config.Herds โ€” table of herds: { label, model, coords } (key = item name)
  • Config.AnimalAmount โ€” number of animals spawned per use
  • Config.SpawnDistance / Config.FollowDistance โ€” formation around the player
  • Config.UseRadius โ€” how close to the farm coords the player must be
  • Config.CooldownSeconds โ€” per-item cooldown
  • Config.HerdLifetime โ€” seconds before the herd runs off if not delivered

Sell

  • Config.SellPoints โ€” list of vector3 drop-off coordinates (random one is picked)
  • Config.SellRadius โ€” radius for the sell prompt
  • Config.Rewards[itemName] = { money = 60, items = { { name = "beef", amount = 2 }, ... } }

Wolf pack event

  • Config.WolfPack.Enabled
  • Config.WolfPack.SpawnTimeMin / SpawnTimeMax (minutes after herding starts)
  • Config.WolfPack.SpawnRadius, PackSize, Model
  • Config.WolfPack.AttackPlayer / AttackAnimals
  • Config.WolfPack.DeleteOnHerdEnd

๐ŸŽฎ In-Game Flow

  1. Player buys a herd item (e.g. cowherd) and stands near the farm coords.
  2. They use the item โ†’ animals spawn and follow them.
  3. A blip + GPS route shows the random sell point.
  4. (Optional) A wolf pack attacks the herd somewhere along the way.
  5. Player reaches the sell point โ†’ press [G] to deliver.
  6. Server validates the herd, removes the animals, and pays out money + items based on how many animals survived.

๐ŸŒ Multi-Framework Support

| Feature | VORP | RSGCore | |---|---|---| | Usable item | โœ… vorp_inventory:registerUsableItem | โœ… RSGCore.Functions.CreateUseableItem | | Remove / add item | โœ… vorp_inventory:subItem/addItem | โœ… Player.Functions.RemoveItem/AddItem | | Money | โœ… Character.addCurrency | โœ… Player.Functions.AddMoney | | Notifications | โœ… vorp:TipBottom | โœ… RSGCore:Notify |

๐Ÿ“ Notes

  • All triggers use the silly_cattle:* namespace so it can run side-by-side with other Silly resources without conflicts.
  • Server-side validation: only the player who started the herd can sell it, amount is capped at Config.AnimalAmount, money/items are based on delivered animals.
  • The resource is fully escrow-friendly โ€” config.lua is in the escrow_ignore list of fxmanifest.lua.
Back to category