1. I would like to add a cooldown timer to the Hurtworld SafeTrade feature, but I have not been able to figure out exactly how to add a timer to using its commands. Can anyone help me?
     
  2. Wulf

    Wulf Community Admin

    Take a look at my Slap (universal) or Robbery (for Rust), they both use cooldowns.
     
  3. so you have anything in .lua?
     
  4. Wulf

    Wulf Community Admin

    No, I don't develop plugins in Lua anymore.
     
  5. ok thanks.. just having problem with the cooldown reading it from the data file always tells me its a its trying to match a number to a string
     
  6. Wulf

    Wulf Community Admin

    Sounds like you having it stored as a string and trying to compare it as a number (int) later, so you'd either need to store as an int or compare as a string.

    Comparing as a string = "number" == "othernumber"