View File
Daily Raffle / Sorteio Diário
How does it work?
It gives a random ticket to a player (between 1 ~ 10000).
Como Funciona?
Ele dá um ticket para o jogador (entre 1 ~ 10000)
14. set #evento, rand(1,10000);
At 20:00 o'clock it triggers the biggest value and sets as the winner ticket.
Às 20:00h ele configura o maior valor como valor do vencedor.
45. OnClock2000:
46. query_sql("select `value` from acc_reg_num where `key` = '#evento' order by `value` desc",.@winner);
// IF YOU WANT TO TRIGGER RANDOMLY, NOT THE BIGGEST VALUE, USE THIS
// SE VOCÊ QUER QUE ELE SELECIONE ALEATÓRIAMENTE, NÃO O MAIOR VALOR, USE ISTO
query_sql("select `value` from acc_reg_num where `key` = '#evento' and `value` != 0 order by rand()",.@winner);
And it will give 5~10 Yggdrasil Berry
E ele vai dar entre 5~ 10 Frutos de Yggdrasil
33. getitem 607,rand(5,10);
Any Question?
Qualquer dúvida fale comigo
fb.com/JoaoMarcoA
discord: LordJasz#2310
Submitter
LordJasz
Submitted
08/17/2018
Category
Games, Events, Quests
Video
Content Author
LordJasz