paweleq2000
New Member
- Joined
- Feb 18, 2011
- Messages
- 161
- Reaction score
- 4
Hello, im looking for action script for tfs 1.2 who give me mount from chest.
<action uniqueid="45001" script="mount_from_chest.lua"/>
<action actionid="45001" script="mount_from_chest.lua"/>
local mount_id = 20 -- data/XML/mounts.xml
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
player:addMount(mount_id)
return true
end
Your choice.
data/actions/scriptsCode:<action uniqueid="45001" script="mount_from_chest.lua"/> <action actionid="45001" script="mount_from_chest.lua"/>
Code:local mount_id = 20 -- data/XML/mounts.xml function onUse(player, item, fromPosition, target, toPosition, isHotkey) player:addMount(mount_id) return true end
i will thanks for this suuuper fast response!Check out my advanced quest chest script.
Action - Advanced quest chests 1.x