povedijah
Member
- Joined
- Jan 11, 2010
- Messages
- 93
- Reaction score
- 6
Hello everyone, can someone do this scripts for tfs 1.0, it tell me i have the addon, but it doesn't give anything
Code:
local t = {
[12001] = 'Citizen',128,136;
[12002] = 'Hunter',137,129;
[12003] = 'Mage',138,130;
[12004] = 'Knight',139,131;
[12005] = 'Nobleman',140,132;
[12006] = 'Summoner',141,133;
[12007] = 'Warrior',142,134;
[12008] = 'Barbarian',147,143;
[12009] = 'Druid',148,144;
[12010] = 'Wizard',149,145;
[12011] = 'Oriental',150,146;
[12012] = 'Pirate',155,152;
[12013] = 'Assassin',156,152;
[12014] = 'Beggar',157,153;
[12015] = 'Shaman',158,154;
[12016] = 'Norse',252,251;
[12017] = 'Nightmare',269,268;
[12018] = 'Jester',270,273;
[12019] = 'Brotherhood',279,278;
[12020] = 'Demonhunter',288,289;
[12021] = 'Yalaharian',324,325;
[12022] = 'Warmaster',336,335;
[12023] = 'Afflicted',336,367;
[12024] = 'Elementalist',336,432;
[12025] = 'Deepling',336,463;
[12026] = 'Insectoid',336,465;
[12027] = 'Entrepreneur',336,472;
[12028] = 'Crystal Warlord',336,512;
[12029] = 'Soil Guardian',336,516;
[12030] = 'Demon',336,541;
[12031] = 'Cave Explorer',336,574;
[12032] = 'Dream Warden',336,577;
[12033] = 'Glooth Engineer',336,610;
[12034] = 'Champion',336,633;
[12035] = 'Beastmaste',336,634;
[12036] = 'Conjurer',635,637;
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
local v = t[item.uid]
if v then
if getPlayerStorageValue(cid,v[1]) == -1 then
doPlayerSendTextMessage(cid,21,"You now have the " .. t[item.uid] .. " Outfit!")
doPlayerAddOutfit(cid,v[2] ,3)
setPlayerStorageValue(cid,v[1],1)
doSendMagicEffect(getCreaturePosition(cid), math.random(1, 67))
else
doCreatureSay(cid, 'You already have the ' .. t[item.uid] .. ' Addons!', TALKTYPE_ORANGE_1, false, cid)
end
end
return true
end
Last edited: