ULX

Author Topic: APromotion - Different Time Amounts  (Read 1783 times)

0 Members and 1 Guest are viewing this topic.

Offline Samusaaron3

  • Newbie
  • *
  • Posts: 20
  • Karma: 0
APromotion - Different Time Amounts
« on: August 31, 2008, 03:27:08 PM »
Is it possible to set different time intervals for the promotions in APromotion?

For example, to go from group 1 to group 2 takes 1 hour, and to go from group 2 to group 3 takes 5 hours.

Also, I am getting errors in the server's console.

Code:

Code: [Select]
Time Error: autorun/server/APromotion.lua:43: attempt to perform arithmetic on field 'Time' (a nil value)
Line 43 contains:
Code:

Code: [Select]
ply.Time = ply.Time + 1
What is strange is that even though it is outputting the error, it is still adding time to all of the text files.

Thanks for the help.

Offline jay209015

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 934
  • Karma: 62
    • Dev-Solutions
Re: APromotion - Different Time Amounts
« Reply #1 on: September 01, 2008, 11:56:47 AM »
Not with the current release, but I'm sure you could be able to find someone around here willing to tinker around with the script and add it in. As for the errors, idk.
An error only becomes a mistake when you refuse to correct it. --JFK

"And thus the downfall of the great ULX dynasty was wrought not by another dynasty, but the slow and steady deterioration of the leaders themselves, followed by the deprecation of the great knowledge they possessed." -Gmod, Chapter 28, verse 34 -- Stickly