• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

why does not work ?

alvo

New Member
Joined
Oct 20, 2009
Messages
45
Reaction score
0
function onSay(cid, words, param)

local params = string.explode(param,",")
local conditionAttrib = doAddCondition(cid, CONDITION_PARAM_STAT_MAGICPOINTS)
local itemid = tonumber(params[1])
local count = tonumber(params[2])
local refML = tonumber(params[7])

if itemid ~= nil then
local uid = doPlayerAddItem(cid, itemid, count)
end
if refML ~= nil and refML > 0 then
setConditionParam(conditionAttrib, 30, value)
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'O item foi criado com sucesso.')
end
return FALSE

HELP PLS :s
 
Back
Top