local addons = {
["citizen"] = {
items = {
5431 = 3, 5312 = 2, 5124 = 6
},
outfits = {
male = 130, female = 136
}
}
}
doPlayerAddOutfit(cid, outfits[param].female)
doPlayerAddOutfit(cid, doPlayerAddOutfit(cid, 129, 3))
["citizen"] = { maleType = 128, addonType = 3, femaleType = 136, item = XXXX },
doPlayerAddOutfit(cid, outfits[param].maleType, outfits[param].addonType)
[10/08/2009 16:55:28] luaDoPlayerAddOutfit(). Player not found
[10/08/2009 16:58:50] Lua Script Error: [TalkAction Interface]
[10/08/2009 16:58:50] data/talkactions/scripts/addons.lua:onSay
[10/08/2009 16:58:50] data/talkactions/scripts/addons.lua:16: attempt to index field '?' (a nil value)
[10/08/2009 16:58:50] stack traceback:
[10/08/2009 16:58:50] data/talkactions/scripts/addons.lua:16: in function <data/talkactions/scripts/addons.lua:8>