RSSy MYGO.pl Opublikowano Marzec 3, 2022 o 05:33 RSSy Udostępnij Opublikowano Marzec 3, 2022 o 05:33 Market System API Release: 03/02/2022 Last Update: 03/02/2022 - Description - With this plugin, you can register anything you want as an item to be purchased by others players. It supports everything you want to sell. It has also an option to delete the item if the owner press on the menu. - API System PHP Code: // Used to register an item native register_market_item(iSeller, szItemName[], iItemPrice) // used to get the item name by it's ID native get_market_itemname(iItemID, szItemName[], iLen) // the pre is used to add checks before the item get selected on the menu / show on the menu forward client_market_purchase_pre(iBuyer, iItemID, iSeller, iPrice) // the post is used when the user can buy the item. forward client_market_purchase_post(iBuyer, iItemID, iSeller, iPrice) - Change log Spoiler 03/02/2022 - First release Attached Files Get Plugin or Get Source (marketSystem.sma - 5.0 KB) Get Plugin or Get Source (market_example.sma - 1.4 KB) market.inc (407 Bytes) Przeczytaj cały wpis Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi