convert ticks to minutes

Discussion in 'Plugin Development' started by nitrousspark, Jun 4, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    nitrousspark

    i need to convert ticks to minutes. can somebody tell me how
     
  2. Offline

    Bone008

    20 ticks = 1 second
    You should know how many seconds a minute has ;)
     
  3. Offline

    nitrousspark

    i meant in the plugin
     
  4. Offline

    Bone008

    ... What exactly is your problem?
    Code:
    int minutes = ticks / 60 / 20;
     
Thread Status:
Not open for further replies.

Share This Page