Ellien 58 Posted April 22, 2013 Welcome Not know whether or not it was already but I see that you have problems the quest for Coupons will try to help you and make In 100% working quest that once met the some forum but it did not work properly and I took in August for its repair. Quest: quest kupon beginstate start beginwhen 80014.use beginkupon.daj(100)item.remove()endwhen 80015.use beginkupon.daj(500)item.remove()endwhen 80016.use beginkupon.daj(1000)item.remove()endwhen 80017.use beginkupon.daj(50)item.remove()endendstate _FUKCJE beginfunction daj(ilosc)query("UPDATE account.account SET coins=coins+"..ilosc.." WHERE login='"..pc.get_account().."';")chat("Added "..ilosc.." Dragon Coins. Welcome to (your website here) Item Shop")endendend How to write it unless everyone can Of course, with each voucher can be 100 sm such as the id Coupon for 50 sm, etc. Then, just at this point: kupon.daj(100)Change the value of how much is to give the voucher ID Also, each table can have a different account And here you have to change the coins into cash or to whatever you have given in the table SET coins=coins+"..ilosc.." Yours. 12 SINVAL o.O, Hue Br, Vitor Pinho ☮ and 9 others reacted to this Share this post Link to post Share on other sites
(-_-)Cocas(-_-) 126 Posted April 22, 2013 Grande testamento nem li , mas deve ser algo importante O.O Seja o que for obrigado por partilhares depois vou tentar ler isso tudo com ajuda do google http://cyber-gamers.org/public/style_emoticons/default/lol.gif Share this post Link to post Share on other sites
SINVAL o.O 728 Posted April 22, 2013 http://cyber-gamers.org/public/style_emoticons/default/451960.gif Share this post Link to post Share on other sites
Vitor Pinho ☮ 1,199 Posted April 22, 2013 good job. http://cyber-gamers.org/public/style_emoticons/default/451960.gif Share this post Link to post Share on other sites
'PACI 2,317 Posted April 22, 2013 Grande testamento nem li , mas deve ser algo importante O.O Seja o que for obrigado por partilhares depois vou tentar ler isso tudo com ajuda do google http://cyber-gamers.org/public/style_emoticons/default/lol.gif É o sistema de vouchers. Share this post Link to post Share on other sites
Razza 8 Posted April 23, 2013 Não vou precisar mas só pelo trabalho que deve ter tido, http://cyber-gamers.org/public/style_emoticons/default/451960.gif (: Share this post Link to post Share on other sites
fernando12 2 Posted August 22, 2013 em meu servidor ela da um problema na GET_ACOUNT não percebi como corrigir ainda... essa é a quest original do meu servidor: quest dr_gutschein begin state start begin when 80014.use begin give_dm(100) say_green("Recebeu 100 moedas.") item.remove() end when 80015.use begin give_dm(500) say_green("Recebeu 500 moedas.") item.remove() end when 80016.use begin give_dm(1000) say_green("Recebeu 1000 moedas.") item.remove() end endend Share this post Link to post Share on other sites
YonN 28 Posted October 20, 2013 rancoroso tem esses sistema so que cai em cash eh 1 ideia legal coins ;) tipo moedas da 1 ideia boa pra 1 servidor Share this post Link to post Share on other sites
sysjo 14 Posted November 12, 2013 Está fixe mas será que alguem sabe dizer como meter tempo em Type 18 ( neste caso nos vouchers) Share this post Link to post Share on other sites