• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ Enable all addons & mounts to new players

Szafi

www.rookwar.pl
Joined
Mar 2, 2009
Messages
165
Reaction score
10
Location
Poland
Hello.
How to enable all mounts and addons to new register player?

Regards!
 
add this to login.lua or first items code

Lua:
local mounts = 100 --Put to number of mounts your server has
     for i = 1, mounts do
          if not player:hasMount(i) then
               player:addMount(i)
          end
     end

Outfits are done a little different. You will have to get all the outfit ids for male and female in separate tables then use the above method to add them depending on their sex.
 
Back
Top