NerfAsians
New Member
- Joined
- Apr 8, 2016
- Messages
- 3
- Reaction score
- 0
I'm using TFS 1.2, and with my 6 custom vocations, I can't figure out how to have different starting items per vocation.
So here I have the starting items that I want for every class, but I'm not sure where to put in the different main hand / off hand weapons for the individual classes.
Thanks for the help =)
Code:
local firstItems = {2050, 2457, 2463, 2647, 2643}
function onLogin(player)
if player:getLastLoginSaved() == 0 then
for i = 1, #firstItems do
player:addItem(firstItems[i], 1)
end
player:addItem(1988, 1):addItem(2120, 1)
player:addItem(2152, 10)
end
return true
end
Thanks for the help =)