[FilterScript] aLottery - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+----- Forum: Lançamentos/Releases (
https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [FilterScript] aLottery (
/showthread.php?tid=374262)
aLottery v1.0 (Sistema de Loteria) -
humildadeforever - 02.09.2012
https://sampforum.blast.hk/showthread.php?tid=373711
○Informaзхes
Comandos:
/Bilhete [Nъmero] - Compra um bilhete.
/MeusBilhetes - Mostra os bilhetes do jogador.
Outras informaзхes:
-Salva e carrega o prкmio acumulado;
-Salva e carrega os bilhetes dos jogadores;
-Limite de bilhetes por jogador;
FS pode ser bem configurado:
pawn Код:
#define MAX_BILHETES 4//Mбximo de bilhetes permitido por player, aqui vai dar 3 bilhetes (tem que ser o mбximo +1)
#define TEMPO_SORTEIO 60//Coloca o tempo em minutos
#define MAIOR_NUMERO 100 //Maior numero que vai poder ser sorteado
#define PRECO_BILHETE 2 //Preзo do bilhete
#define ARQUIVO_JOGADOR "Contas/%s.ini" // Pasta onde fica salvo os jogadores
#define ArqPremio "LoteriaPremio.ini" // Onde vai ficar o arquivo com o premio, aqui tб na pasta scriptfiles, mas pode ser mudada a pasta
○Bugs
Atй agora todos bugs encontrados foram corrigidos. Mas caso alguйm ache algum bug por favor reporte.
○Download
Pastebin -
Visualizar/
Baixar
○Imagens
Re: aLottery -
Don_Speed - 02.09.2012
Interresante , so nao curti que o player pode obter mais que 1 bilhete.
Re: aLottery -
humildadeforever - 02.09.2012
Quote:
Originally Posted by Don_Speed
Interresante , so nao curti que o player pode obter mais que 1 bilhete.
|
Nгo kkk' Quem usar o FS pode configurar ele e deixar sу 1 bilhete por jogador.
Vlw.
Re: aLottery -
Bieeel_Cwb - 02.09.2012
Vйййййййййййййййййййййййййri gъdi ana [:
sua funkeira -q
Re: aLottery -
humildadeforever - 02.09.2012
Quote:
Originally Posted by bielzera[:
Vйййййййййййййййййййййййййri gъdi ana [:
sua funkeira -q
|
Nossa... Vlw, sу nгo precisava ofender desse jeito.
Re: aLottery -
FeelLikeASir_ - 02.09.2012
Aumente mais o preзo e coloca para dividir o prкmio pela quantidade de jogadores que ganharam.
Re: aLottery -
humildadeforever - 02.09.2012
Quote:
Originally Posted by FeelLikeASir_
Aumente mais o preзo e coloca para dividir o prкmio pela quantidade de jogadores que ganharam.
|
O preзo й configurбvel tambйm e boa sugestгo, esqueci disso, irei colocar :P
Re: aLottery -
Douglas_prt - 02.09.2012
Parece estar funcional, parabйns!
Re: aLottery -
leonardo1434 - 02.09.2012
Nгo gostei muito, Achei mal feito pois vocк ana tem capacidade de fazer melhor. *-*
@Esperando update's !
Re: aLottery -
humildadeforever - 02.09.2012
Quote:
Originally Posted by Douglas_prt
Parece estar funcional, parabйns!
|
Vlw
Quote:
Originally Posted by leonardo1434
Nгo gostei muito, Achei mal feito pois vocк ana tem capacidade de fazer melhor. *-*
@Esperando update's !
|
Fiz mais por causa do pedido do garoto lб. Estou esperando mais sugestхes para fazer a prуxima versгo.
Vlw