Raffle
by Crusher918
Idk if someone already made this but i searched a bit and didnt seen any.
Description: Raffle is a game where people buy tickets and 1 random winner gets called at the end of the round to win the prize
Screenshots:
[IMG]http://img514.**************/img514/1461/buyrafflejy4.th.png[/IMG] [IMG]http://img442.**************/img442/9296/rafflewinip4.th.png[/IMG]
Version:
1.0
-release
1.1
-change raffle_price to raffle_cost
-added the msg "The pot money $" when buying ticket so users know how much the pot is
-change Endround event to log_event
1.2
-fixed hud message
-now support multi-lingual system
1.3
-added health for the prizes
-edited chat msg when buying ticket
Cvars:
amx_raffle 1|0 on|off
say /raffle - to get a ticket
Put these code below in your amxx.cfg
Code:
// ****************** Raffle Settings ******************
//This is were you set the price of the raffle ticket
//if you want the ticket for free set it to 0
//Note: If you set this to 0 the custom_prize must be
//set to 1 or 2 otherwise the prize would be nothing
raffle_cost 500
//Sets the custom prize
// 0 = all money received by buying tickets
// 1 = raffle_prize (can be change below)
// 2 = +100 health (raffle_cost must be set to 0 if using other mods)
custom_prize 2
//This is were you set the prize for the raffle
//custom_prize must be set to 1 to use this option
raffle_prize 500
Modules:
cstrike (only if prize is money)
fun
Credits:
|PJ| Shorty - translating it to German
Howdy! - translating it to Finnish
Deviance - translating it to Swedish
KylixMynxAltoLAG - translating it to Spanish
zapille - translating it to Polish
Xel0z - translating it to Dutch
Suggestions/comments/report bug please do so