tuduras
Well-Known Member
- Joined
- Jun 4, 2017
- Messages
- 340
- Solutions
- 2
- Reaction score
- 58
Hello, I have /data/MOD
and I want to add takes away coin per second.
I have part of script, but not works ::
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 --