Quickshot
Member
- Joined
- Nov 8, 2008
- Messages
- 595
- Reaction score
- 8
this scripts makes you able to use all the dif mounts on 8.7(tfs v0.2.9(mystic spirit))
talkactions.xml
free
mount.lua
costs money
mount.lua
talkactions.xml
XML:
<talkaction words="!mount" script="mount.lua"/>
mount.lua
Lua:
function onSay(cid, words, param)
for i = 1, 12 do
doPlayerAddMount(cid, i)
end
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_RED)
doCreatureSay(cid, "you now have all the mounts", TALKTYPE_ORANGE_1)
return true
end
mount.lua
Lua:
function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, 1000000) == TRUE then
for i = 1, 12 do
doPlayerAddMount(cid, i)
end
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_RED)
doCreatureSay(cid, "you now have all the mounts", TALKTYPE_ORANGE_1)
else
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
doCreatureSay(cid, "not enough money, need 100cc", TALKTYPE_ORANGE_1)
end
return true
end
Last edited by a moderator: