--- Storage script by kekox
function onSay(cid, words, param, channel)
local t = string.explode(param, ",")
local player = getPlayerByName(t[1])
local cidPos = getPlayerPosition(cid)
if t[1] ~= nil and t[2] ~= nil and t[3] ~= nil then
setPlayerStorageValue(player, t[2], t[3])
doPlayerSendTextMessage(cid, "You added storage "..t[2].." to "..t[1]..". [Value "..t[3].."].")
doSendMagicEffect(cidPos, CONST_ME_MAGIC_BLUE)
doSendMagicEffect(player, CONST_ME_MAGIC_RED)
else
doPlayerSendCancel(cid, "Command requieres three params.")
end
return TRUE
end