Cows [RSG]

I apologize in advance for incorrect translations in any places, I used a translator.

This resource will allow you to have cows and take care of them. You will have access to the following actions:

• Check the status
• Lead
• Milking
• Graze
• Lead into the cowshed

Cow’s Condition:
All cows have their own condition, ranging from 0 to 100. The condition worsens from 100 to 0 during a day. To improve it, you need to take the cow away from the ranch and choose “Graze”. While the cow grazes, its condition will improve after a random amount of time (between 5 to 10 minutes) by a random percentage (between 1 to 20). The time is configurable in the config file. You can lead the cow while it grazes, and the improvement time won’t change.

Milking:
You can milk a cow once every two hours (this time can be changed in the config). The milking time is stored in the database. The amount of milk depends on the cow’s condition.

To open the cowshed, you need a key. This can be disabled in the config. The key works for all cowsheds! You can take cows from your neighbor and either take care of them or steal them. The cow is not bound to the player who bought it. Any player with the key can take a cow from the cowshed, take care of it, and even move it to another cowshed, changing its coordinates in the database.

When opening the cowshed, you can:
• Release a cow
• Bring all the cows into the cowshed

Interaction with a cow is possible only for the player who released it.
The following is stored in the database:
• Name
• Outfit
• Coordinates
• Time until next milking
• Condition

For more details, check out the video.

tebex https://kerry.tebex.io/package/5866458

P.S. My somewhat awkward translation can be corrected in the localization file.

Code is accessible | Yes
Subscription-based | No
Lines (approximately) | ~1000
Requirements | RSG
Support | Yes

1 Like

That’s not a FiveM script
use Releases - Cfx.re Community

oh you’re right, I’m sorry, I was not careful

Would love to see other animals with this. Goats for milk, sheeps for wool, Cows/bulls for meat? etc. It does look really well planned though! Good job!

Thank you. This is in my plans for the near future :wink:

1 Like