• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Selling Lottery Script

Azi

Banned User
Joined
Aug 12, 2007
Messages
1,167
Reaction score
53
Location
Włocławek
<~* About *~>

Lottery Script
Scrpited for TFS 0.4 & 0.3.6
Using Lua(mods) & MySQL
Buy price: 4$



<~* Lottery Rules *~>
  • You add lottery ticket to sms shop for X premium points
  • Players buy and use tickets to join lottery
  • After 180 minutes if minimum limit players goes out - lottery win random player
  • Winner reward 50% of all tickets premium points cost!

<~* Other*~>
If you want buy it - PM me
If you have questions - post in thread.
 
Last edited:
Sounds like a pretty good idea for a script. I'm interested in buying it, although, I have a few questions:

- Is it easily configurable?
- Could you clarify how it works? You add a shop offer for a lottery ticket, the player selects it and receives it in-game, and then what?
- What is the reward? 50% of the total points earned goes to the winner?

(Please PM me within a day if I don't respond to this thread).
Red
 
Sounds like a pretty good idea for a script. I'm interested in buying it, although, I have a few questions:

- Is it easily configurable?
- Could you clarify how it works? You add a shop offer for a lottery ticket, the player selects it and receives it in-game, and then what?
- What is the reward? 50% of the total points earned goes to the winner?

(Please PM me within a day if I don't respond to this thread).
Red

I know I'm not the owner but I can answer your last 2 questions.

- Could you clarify how it works? You add a shop offer for a lottery ticket, the player selects it and receives it in-game, and then what?

When a player buys a ticket from the shop he gets a lottery ticket.
When he uses the item ingame, he will participate in the lottery.
There is a minium amount of players which has to be in the lottery (don't kow if it's configurable).
When the minium amount of participating players is furfilled, there will be a timer which takes 180 minutes.

- What is the reward? 50% of the total points earned goes to the winner?
The winner will get 50% of the total premium points that is spent for the tickets.

So it will be something like this formula:
Code:
local formula = (playersParticipating*ticketPrice)*0.50
 
  • Like
Reactions: Red
Thank you unknown666 for explaining further.
Thank you Azi for the script. Worth every penny. <3

Red
 
Back
Top