Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
2.2K
game_market Sell State #97
This allows you to see the state of your auctions from the in-game market.
File: market.lua | 407b | 15 lines.
 --[[
  Script made by Lee (Discord: l33_) - www.trainorcreations.com
  If you want to support my work, feel free to donate at https://trainorcreations.com/donate
  PS. Stop ripping off my work and selling it as your own.
 ]]--
local state = offer:getState()
local offerTypeName = "?"
if offerType == MarketAction.Buy then
    offerTypeName = "Buy"
elseif offerType == MarketAction.Sell then
    if state == 1 then
        offerTypeName = "Cancelled"
    elseif state == 2 then
        offerTypeName = "Expired"
    elseif state == 3 then
        offerTypeName = "Sold"
    else
        offerTypeName = "Sell"
    end
end
+ add | - remove

17 May 2022
Ads