Croow
learning LUA :)
- Joined
- Aug 17, 2015
- Messages
- 25
- Reaction score
- 4
Hello, is it possible to have more than 255 magic effects in client? I mean when I overruns this number then effects repeat.
Here is my magiceffect.lua
----------------------
TFS 0.3.6pl~8.54
Here is my magiceffect.lua
Code:
function onSay(cid, words, param, channel)
effects_count = 408
param = tonumber(param)
if(not param or param < 0 or param > effects_count) then
doPlayerSendCancel(cid, "Numeric param may not be lower than 0 and higher than "..effects_count..".")
return true
end
doSendMagicEffect(getCreaturePosition(cid), param)
return true
end
----------------------
TFS 0.3.6pl~8.54