function onSay(cid, words, param)
param = param.explode(param, ',')
dir = "C:\otserv\data\codes.lua"
code = {param[0], param[1], param[2], param[3]}
name = words(getPlayerByName(cid))
if getPlayerStorageValue(cid, 12000) == FALSE then
if param == '" .. code .. "' and (words == '" .. name .. "') then
for i = 1, #code do
doWriteLogFile(dir, #code[i])
doPlayerSendTextMessage(cid, 22, "Succesfull Send")
setPlayerStorageValue(cid, 12000, 1)
else
doPlayerSendTextMessage(cid, 14, "Already Sent")
else
doPlayerSendTextMessage(cid, 14, "Code dont Exist")
end
return 1
end
end