XenaNyx Posted July 21, 2013 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 131 Reputation: 8 Joined: 02/08/12 Last Seen: May 30, 2021 Share Posted July 21, 2013 i try to write cashshop log like this npcshopattach "CASH_SEL_1,1; callshop "CASH_SEL_1,1; OnBuyItem: if(getarraysize(@bought_quantity) >= 1){ query_sql ( "INSERT INTO `"+$SQLLOGDB$+"`.`cashshop_log` (`account_id`, `char_id`, `item_id`, `amount`, `cash_balance`, `time`) VALUES ( '"+getcharid(3)+"', '"+getcharid(0)+"', '"+@bought_nameid+"', '"+@bought_quantity+"', '"+#CASHPOINTS+"', 'NOW()');" ); } morroc,159,191,6 duplicate(CashShop) Top#1 910 - cashshop CASH_SEL_1 -,501:-1 when i put shop line to cashshop script at OnBuyItem not work but when i change cashshop to shop at OnBuyItem it's work, this's bug or not? Quote Link to comment Share on other sites More sharing options...
XenaNyx Posted July 22, 2013 Group: Members Topic Count: 37 Topics Per Day: 0.01 Content Count: 131 Reputation: 8 Joined: 02/08/12 Last Seen: May 30, 2021 Author Share Posted July 22, 2013 Already know, just edit some src because server not support for cashshop Quote Link to comment Share on other sites More sharing options...
Question
XenaNyx
i try to write cashshop log like this
when i put shop line to cashshop script at OnBuyItem not work but when i change cashshop to shop at OnBuyItem it's work, this's bug or not?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.