Jump to content

Using Scraps does not work

Not a Bug 0.35

papi
papi

Posted

In your code you have commented out the transaction to remove the scrap from the players inventory?  Has nobody else noticed this and can you please fix.

                            /*var itemScrap = player.inventory.FindItemID("scrap");
                            if (itemScrap != null && itemScrap.amount >= costInt)
                            {
                                itemScrap.UseItem(costInt);
                                success = true;
                            }*/

Nod Js

Posted

It's commented out for a reason, scraps work fine.

Nod Js

Posted

Changed Status from Pending to Not a Bug

papi

Posted

Only took 4 months to reply. It didnt work with this commented.

Nod Js

Posted

I believe you've a developer and you know what you're doing, I won't be arguing about it but here's the thing the code commented out is supposed to be like that, it was replaced by something else for scrap consumption, now please try downloading the file again and confirm if you've messed with line 1557, responsible for scrap consumption, old code doesn't work correctly and I apologize for the delayed response, I was mia and you won't be seeing this again.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.