Jump to content
Skip to content

Feature Suggestions

Completed Voting closed

Lua API (x-shop)

Shanahan

By Shanahan

49 views 0 comments

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

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.