Guest User

Untitled

a guest
May 14th, 2021
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. quest bon_cc begin
  2. state start begin
  3. when 80014.use begin
  4. nombre_gold = 100
  5. nom_coins = "Monnaies du Dragon"
  6. mysql_query("account", "UPDATE account SET coins = coins + "..nombre_gold.." WHERE id = "..pc.get_account_id())
  7. syschat(""..nombre_gold.." "..nom_coins.." ont été créditées sur votre compte.")
  8. pc.remove_item(80014,1)
  9. end
  10. when 80015.use begin
  11. nombre_gold = 500
  12. nom_coins = "Monnaies du Dragon"
  13. mysql_query("account", "UPDATE account SET coins = coins + "..nombre_gold.." WHERE id = "..pc.get_account_id())
  14. syschat(""..nombre_gold.." "..nom_coins.." ont été créditées sur votre compte.")
  15. pc.remove_item(80015,1)
  16. end
  17. when 80016.use begin
  18. nombre_gold = 1000
  19. nom_coins = "Monnaies du Dragon"
  20. mysql_query("account", "UPDATE account SET coins = coins + "..nombre_gold.." WHERE id = "..pc.get_account_id())
  21. syschat(""..nombre_gold.." "..nom_coins.." ont été créditées sur votre compte.")
  22. pc.remove_item(80016,1)
  23. end
  24. when 80017.use begin
  25. nombre_gold = 50
  26. nom_coins = "Monnaies du Dragon"
  27. mysql_query("account", "UPDATE account SET coins = coins + "..nombre_gold.." WHERE id = "..pc.get_account_id())
  28. syschat(""..nombre_gold.." "..nom_coins.." ont été créditées sur votre compte.")
  29. pc.remove_item(80017,1)
  30. end
  31. end
  32. end
Advertisement
Add Comment
Please, Sign In to add comment