Jump to content
0 votes
Completed

Lua API (x-shop)

  • Views: 27
  • Submitted:

I would like to suggest adding a callback function for the x-shop.

-- Called when player buys item from x-shop shop (Sync - can prevent purchase)
function onXShopBuyItem(oPlayer, oItem)
    if (oPlayer ~= nil) then
        if (oItem ~= nil) then
        
        end 
    end
end

User Feedback

Recommended Comments

There are no comments to display.

×
×
  • Create New...

Important Information


We use technologies, such as cookies, to customize content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy.