SnoopDoggy
New Member
- Joined
- Jun 5, 2016
- Messages
- 6
- Reaction score
- 1
I have a globalevent it would be to stay running effect instantly in some vocations , but in addition to not be working , does not display error in the distro
My tfs is CryingDamson v8 -8.6
Script:
My tfs is CryingDamson v8 -8.6
Script:
local effects = {
--_C8_--
[480] = 25,
[481] = 13,
[482] = 14,
[483] = 15,
[484] = 17,
[485] = 18,
[486] = 19,
[487] = 20,
[488] = 11,
[489] = 15
}
function onThink(interval)
for _, pid in ipairs(getPlayersOnline()) do
local effect = effects[getPlayerVocation(pid)]
if(effect) then
doSendMagicEffect(getCreaturePos(pid), effect)
end
end
return true
end