• 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 [TFS 1.2] Script for boost exp for everyone on server.

Xedoxo

Member
Joined
Oct 24, 2010
Messages
131
Reaction score
19
Hi

Looking for script:
1. UseItem (expboost) for x amount time.
2. After Use this expboost, exp changed in config from 1 to 1.5 (its example)
3. Broadcast message - player_name run xpboost for all. Ends in 30 minutes!

I want this idea: Someone buying exp boost in store and everyone they can benefit from it (offline and online players thats why it should make change in config)
 

Should work for tfs 1.2 as well
 

Should work for tfs 1.2 as well

Should be work, but what happens if 2 players in this same time use "item" to run exp boost for everyone. Or example 1 player use it now, and second after 10 minutes. I dont see here for the time to add up
 
Should be work, but what happens if 2 players in this same time use "item" to run exp boost for everyone. Or example 1 player use it now, and second after 10 minutes. I dont see here for the time to add up
The second player will get an error message
LUA:
textAlreadyActive = "World XP+Skill+Loot boost is already active.",

So you'll have to edit the script a bit to allow stacking
 

Similar threads

Back
Top