Untitled
unknown
lua
3 years ago
590 B
14
Indexable
-- esto
if config[keyword].worth > 1 then
amount = config[keyword].worth
end
nobility.addPoints(cid, amount)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have contributed " .. amount .. " " .. name.. " and you have a total of "..nobility.getPoints(cid).." nobility points.")
-- por esto
nobility.addPoints(cid, config[keyword].worth * amount)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have contributed " .. amount .. " " .. name.. " and you have a total of "..nobility.getPoints(cid).." nobility points.")Editor is loading...