03-02-2021, 02:07 AM
Hello friends
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.
I want the player to board when double clicks
@PickUp_Ground Why doesn't it work?
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.
I want the player to board when double clicks
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