hello friend, try to try with this code, because you need me to show it to you by magiclevel, I currently use it on my server:
function onSay(cid, words, param, channel)
local t = {}
for i = 0, getPlayerInstantSpellCount(cid) - 1 do
local spell = getPlayerInstantSpellInfo(cid...