• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 0.X OTX 2.16 based on 0.3.7 --- TRANSFORM RING based on crystal coin

tuduras

Well-Known Member
Joined
Jun 4, 2017
Messages
340
Solutions
2
Reaction score
58
Hello, I have /data/MOD
Code:
https://paste.to/?8c76a5f0f3d8d7f3#F3RHcbmZVZmhw4HdNJhiRzZTgQdBeWyg7oTTuJPcS8JA

and I want to add takes away coin per second.

I have part of script, but not works ::
Code:
local cointype = 2148 -- Id of the coin the spell will use (2148 = gold coin, 2152 = platinum coin, 2160 = crystal coin) --
local tbcw = 20000000 -- coin wasting time interval (miliseconds) --
local ncws = 1 -- number of coins used up during time interval --
local ncni = 20-- number of coins needed to trigger the transformation --
local stcn = 20 -- number of coins needed to execute script (must be higher than ncni value) --
local warn = 1 -- warns player when runing short on coins, 1 = yes --
local cwar = 20-- number of coins that triggers the warnings --
 

Similar threads

Back
Top