Ahilphino
Excellent OT User
- Joined
- Jun 5, 2013
- Messages
- 1,667
- Solutions
- 1
- Reaction score
- 727
which lines? I wanna convert to the newest version but I don't know how
The spells will work without changing anything, but if you turn on "warn unsafe" scripts in config.lua you will see some errors.
To fix that you change:
Code:
function onCastSpell(cid, var)
Code:
function onCastSpell(creature, var)
local cid = creature:getId()
and that applies to all spells made with the software