Jump to content

Recommended Posts

Hallo everyone, it`s me again, sorry.

 

I changed the ANIM of the crockpot, just that nothing else that I am aware of.

But every time I fill my new crockpot (slowcooker) now and klick on the cook botton I get an error. 

It seams that "attempt to perform arithmetic on local 'cooktime' is a nil value". I have no idea how that can come from the ANIM.

Anyone any idea?

 

Thanks to everyone.

Slow Cooker.zip

log.txt

I have the problem. It`s the name of the Prefab. Put

inst.components.stewer:SetCookerName("cookpot")

into the

local function fn(Sim)

and it works.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...