• 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!

Adding Mounts / Addons via Database

Peroxides Cat

Sleepy Member
Joined
Nov 15, 2009
Messages
2,230
Reaction score
136
How can I make it so the character has all available mounts + addons, this is for a test character.
Will rep for help, thanks.
 
In Creaturescripts.xml add
XML:
	<event type="login" name="PlayerMounts" script="mounts.lua"/>

In Login.lua (Creaturescripts) add
Lua:
	registerCreatureEvent(cid, "PlayerMounts")

Make a lua in Creaturescripts called Mounts.lua
Lua:
function onLogin(cid)
	for i = 1, 24 do
		doPlayerAddMount(cid, i)
	end
	return true
end

woops didn't read the title, but for mounts just do what I said above;
 
Last edited:
Back
Top