SA-MP Forums Archive
[FilterScript] Lottery System - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Lottery System (/showthread.php?tid=604954)



Lottery System - AbyssMorgan - 12.04.2016

Hello, I would like to present the script lottery.

Description:
Player after entering the command /lottery will be added to the list of randomized.
When the player count of the lottery is sufficient, it starts the countdown to the draw.

Script:
Lottery.inc

Instalation:
- Auto hook
- Manualy edit rewards and start time


Sorry my bad English.


Re: Lottery System - oMa37 - 12.04.2016

Screenshots? Videos?


Re: Lottery System - Gammix - 12.04.2016

Why would you use hooks in a filterscript?


Re: Lottery System - AbyssMorgan - 12.04.2016

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Why would you use hooks in a filterscript?
1. Because it is include.
2. This simplifies the use of.


Re: Lottery System - Godey - 12.04.2016

Hmm.....
Why would you even make a include for like 100 lines script?
It's doesn't make sense without Picture(s)/Video(s) :<


Re: Lottery System - Gammix - 13.04.2016

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
1. Because it is include.
2. This simplifies the use of.
Then this is suppose to be in the Includes section (misleading).

Plus why would a lottery system every be an include, the only function i see of use is bool:IsPlayerInLottery(playerid) which is possible with one line of code and only if the user wants to check player has a lottery in different scripts.

Hooking doesn't simplifies anything, its simply a mask.