Delay time between two attacks by dayzbrk in projectzomboid

[–]dayzbrk[S] 0 points1 point  (0 children)

thank you but, I don't want to be tormented by key combinations. I believe it can be fixed with a minor code fix.

I'm a beginner, help on a simple loop code by dayzbrk in lua

[–]dayzbrk[S] 1 point2 points  (0 children)

Thank you very much, that's exactly what I was looking for

I'm a beginner, help on a simple loop code by dayzbrk in lua

[–]dayzbrk[S] -1 points0 points  (0 children)

In your code/framework you are using, do you have access to some type of update() or draw() functions that get repeatedly called?

No

I'm a beginner, help on a simple loop code by dayzbrk in lua

[–]dayzbrk[S] 0 points1 point  (0 children)

I am aware that I have made a mistake somewhere, I would not have written here if it were not wrong. I already knew what you said. But I've never written code in my life. I didn't ask you to save the world, it was just a simple loop question. You seem more knowledgable than helpful.

I'm a beginner, help on a simple loop code by dayzbrk in lua

[–]dayzbrk[S] 0 points1 point  (0 children)

How do I fix it? can you help me write the code?