• 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!

Lua How to put random bounty on random player?

Tbol

Well-Known Member
Joined
Apr 7, 2019
Messages
592
Reaction score
64
TFS 1.X. How can i put random kill bounty on random player?
  • Player above level X can get bounty randomly who ever is online
  • Once per day, when that player gets killed the bounty will start next day again on random player
  • Broadcast message on the chat on X interval would always remind who got the bounty
  • When killed would broadcast message the player was killed by player X, the player who killed would get X item
 
You could edit this fantastic script to your likings, what you can do is change the "get bounty on red skull" to an event that adds a random bounty to a player.

But... what if a player gets a bounty, he can just logout and that will be the end of it. He will just play on another character for the day or worse kill his own character to get a reward.

 
You could edit this fantastic script to your likings, what you can do is change the "get bounty on red skull" to an event that adds a random bounty to a player.

But... what if a player gets a bounty, he can just logout and that will be the end of it. He will just play on another character for the day or worse kill his own character to get a reward.

adding like the player that has the bounty receive more exp so he dont want to logout
Post automatically merged:

I wrote a global event using onThink that sets a storage value for a player. If the player has the storage, it broadcasts a message announcing that they have a bounty. The storage is set to 1 when they receive a bounty and changes to 0 when they get killed. I also need to prevent the bounty message from being sent when the player is offline and resume it when they come back online. The bounty should only disappear if they are killed by another player not just by logging out. Since my global script shuts down and restarts the server at a set time, I want the bounty to persist and be reassigned to a different player when the server restarts after a few hour but wasnt able to achieve it
 
Last edited:
Back
Top