How to Calculate this

Can somone help me and say how to calculate this in min?

Moved to #development:scripts.

Also it’s already in minutes? I.e. 1000 milliseconds times 60 seconds is 60.000.

PaycheckInterval is 7 minutes because : 7 * 60 * 1000 (or 7 * 60000).
Same for RemoveInventory…

2 Likes

Thx bro now i understand and can continue my work :slight_smile:

1 Like

So basicly for 1 hour i need 3600000 millisconds

or how i can edit it?

1 hour = 1 * 60 * 60 * 1000 = 3600000

So yes, thats correct.

1 Like

is this correct like this or i made it wrong

Config.PaycheckInterval = 1 * 3600000

1 Like

If one hour is what you are aiming for, then yes it’s correct.

1 Like

thx bro for you help and have a nice day :slight_smile:

sry if im bored but i have a new question its about AdvancedFuel

how to config this if if you can just calculate me

2$ price per L
local percentToEs = (percent/100)*0.852

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.