Why it doesnt work ?;p
dofile('data/compat.lua')
function onSay(cid, words, param, channel)
local player = Player(cid)
local tmp = param:split(",")
if (tmp[1]) == nil then
return doPlayerSendCancel(cid, "Parameters needed")
end
if tmp[1] == "on" then...