SphereCommunity

Full Version: Horse mount
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello friends Bye
In this way, the horse is taken as an item, so when the staff double clicks, it gets on it
But when the player double-clicks, the horse comes out like a pentegram. Ranting
I want the player to board when double clicks Confused
Code:
[itemdef i_mt_halktan]
name Halkin Binegi
id i_pet_horse_brown_dk
type t_script
layer 25
tdata3 c_halktan

On=@Create
color 2061
attr 14

On=@DClick
if !((<src.body> == c_man) || (<src.body> == c_woman) || (<src.body> == c_man_gm))
    src.sysmessage once insan olki buna binebilesin yezid!
else
src.Events +e_halktan
src.newnpc c_halktan
src.new.p <src.p>
src.new.color <color>
src.new.hits 100
src.new.mount
remove
Return 1
endif

On=@PickUp_Ground
return 1
@PickUp_Ground Why doesn't it work?
Reference URL's