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

how does mounts

MadMOOK

Hoo
Joined
Apr 20, 2011
Messages
802
Reaction score
43
How do mounts work?
I need it so players dismount onLogout and onDeath?
 
If you use TFS 1.0 you can try with this:

PHP:
local player = Player(cid)
local outfit = player:getOutfit()
outfit.lookMount = nil
player:setOutfit(outfit)
 
Can you tried this?

PHP:
local player = Player(cid)
local outfit = player:getOutfit()
outfit.lookMount = nil
player:setOutfit(outfit)
 
I don't have that distro but try:

Code:
local outfit = getCreatureOutfit(cid)
outfit["lookMount"] = 0
doSetCreatureOutfit(cid, outfit)
 
@Rer the objective lua systems are only included in the npc systems with other tfs then 1.0.
@Skrypton I think lookMount is supposed to be -1, not sure but that seems to be the start value with everything in tfs.
 
Back
Top