SA-MP Forums Archive
[FilterScript] Lucky Draw - 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] Lucky Draw (/showthread.php?tid=595815)



Lucky Draw - Kucin666 - 08.12.2015

$ Lucky Draw $


Hello, I would like to dedicate filterscripts "Lucky Draw", I made this because I was inspired by the application that I used to play, how to work this Lucky Draw will give a coin every 30 minutes (can be replaced) and the coins can be used to play the lottery with type /luckydraw , and if the coin has reached at least you can draw to get a random prize.

You should have include as below:
Code:
#include 				 	<a_samp>
#include 				 	<zcmd>
#include				 	<YSI\y_ini>
#include 					<YSI\y_timers>
And create folders "Lucky Draw" on filterscripts for storing coins player:
Code:
#define PATH 			 "Lucky Draw/%s.ini"
Command:
/givecoin for admin gave coins to a certain player.
/luckydraw for see the menu Lucky Draw

For more details you can see the picture below:
Menu Command
My Coin
Lucky Draw Help
Drawing
Get Prizes

Credits:
Kucin666 - Creator
Y_Less - y_ini, y_timer
ZeeX - zcmd
Kalcor - SAMP
SA-MP Team

Download:
Lucky Draw - Pastebin

If you want to try it, you can join to my server #signature

Sorry if my language is not good.


Re: Lucky Draw - Younes44 - 08.12.2015

GoodJob dude..


Re: Lucky Draw - Kucin666 - 09.12.2015

Quote:
Originally Posted by Younes44
View Post
GoodJob dude..
Thank you


Re: Lucky Draw - BaraaSky - 28.01.2016

Nicee
+REP
+ REP