On Pre Purchase

Economy
Server Side
Both Mobile and PC
Owner:
Shop

Triggered before purchasing goods in the store

Declaration

event OnPrePurchase(player entity<Player>, shopItem entity<ShopItem>)
go

Parameters

Name Type Description
Player Player Players who purchased goods
Shop Item ShopItem Goods