Skip to main content
Animal FarmDeprecated

FAQ

Frequently asked questions about animals, farm management, dimensions and resource restarts.

01

Do the animals move?

Animals currently remain in a randomly selected fixed position inside their paddocks.

Movement inside the paddocks was planned but is not currently implemented.

02

Can I delete a created farm with a command?

Created farms cannot currently be deleted through a command.

A farm can be repositioned, resold and otherwise managed without deleting it.

To delete a farm completely, remove the farm and all attached data directly from the database, then restart the server.

03

Players can hear each other in different farms

The dimension system uses the FiveM SetEntityRoutingBucket native, but the voice resource must also respect routing buckets.

If players in different farms can hear one another, update the voice resource to verify that both players have the same GetEntityRoutingBucket value.

SetEntityRoutingBucketGetEntityRoutingBucket
04

Object and ped dimensions

Objects and peds are handled by the resource's custom dimension manager instead of routing buckets.

They are created through the server-side API, and only the required data is sent to clients so the entities can be created and streamed for players inside the farm.

05

Restarting the resource crashes the game

This can happen because the stream folder is located inside the Animal Farm resource.

When restarting the resource frequently during development, move the stream folder into a separate resource.

Include the custom prop and model declarations below in that resource's fxmanifest.lua file so they can be loaded with RequestModel.

streamfxmanifest.luaRequestModel
Configuration

Custom model declarations

Add these lines to the fxmanifest.lua file of the separate stream resource.

fxmanifest.lua
file 'avp_farm_props_ytyp.ytyp'
data_file 'DLC_ITYP_REQUEST' 'avp_farm_props_ytyp.ytyp'