Jump to content
McKay Development

Different auto cancel times for certain trades


Recommended Posts

Posted (edited)

Hello,

currently I've set the trade offer cancel time to 90 sec when creating an instance of the steam-tradeoffer-manager. But there are some cases where I need to change the cancel time to a different one on certain trade offers. Is there a way to override the 90 sec cancel time on certain trade offers?

EDIT: Nvm, figured it out when I took a better look at the documentation. If anyone is struggling with this too,  you can modify the cancelTime of any offer by using offer.data('cancelTime', some value)

Edited by Simple

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...