Abysm Posted July 15, 2017 Posted July 15, 2017 10 minutes ago, Get Rekt said: getInventory().getCapacity() ? I think he is talking about the player he is trading with?
Redfr3sh Posted July 15, 2017 Author Posted July 15, 2017 Yes indeed, I am talking about the player I am trading with - The number appears in that box inside the middle of the trade.
Redfr3sh Posted July 15, 2017 Author Posted July 15, 2017 I do not think widgets work my man, thanks for the input tho
HeyImJamie Posted July 15, 2017 Posted July 15, 2017 (edited) There's a method in the Trade API I'm pretty sure to check the trade offer. Forgotten it tho Edit: Nvm, Thought you meant checking their offer. Grab the widget, should be grabbable via text and then parse the int removing all the letters and spaces minus the numbers you want Edited July 15, 2017 by HeyImJamie
godspower33 Posted July 15, 2017 Posted July 15, 2017 ya what @HeyImJamie said and LOL script 1. Grab interface, parse that shit and you got ur number
HeyImJamie Posted July 15, 2017 Posted July 15, 2017 13 minutes ago, godspower33 said: ya what @HeyImJamie said and LOL script 1. Grab interface, parse that shit and you got ur number I'll await the discord abuse
Juggles Posted July 15, 2017 Posted July 15, 2017 get widget and convert to text. Same as getting amount of absorbs in NMZ
HeyImJamie Posted July 15, 2017 Posted July 15, 2017 3 minutes ago, Juggles said: get widget and convert to text. Same as getting amount of absorbs in NMZ Why would you convert text to text
Eliot Posted July 15, 2017 Posted July 15, 2017 Something like getWidgets containing text "free" then parse the string and get the number.
Redfr3sh Posted July 15, 2017 Author Posted July 15, 2017 Dont mean to be a pain but can someone give me some example code pls.
Juggles Posted July 15, 2017 Posted July 15, 2017 1 hour ago, HeyImJamie said: Why would you convert text to text Wow brain fart. Meant. Convert to int 1