Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onLogin(cid)
- local addons = {
- --[storage] = {outfit_male, outfit_female},
- [28416] = {134, 142},
- }
- for storage, addon in pairs(addons) do
- if getPlayerStorageValue(cid, storage) > -1 then
- doSendMagicEffect(getThingPos(cid), CONST_ME_GIFT_WRAPS)
- doPlayerAddOutfit(cid, addon[1], 3)
- doPlayerAddOutfit(cid, addon[2], 3)
- doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Seu Addon full foi adicionado!")
- setPlayerStorageValue(cid, storage, -1)
- end
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement