yahu xendranın kodunu deniyorsun sanırım kirin , shire , mustang , nightmare , zost üstünde denedim sorun yok. sinir yaptm valla
Kod:
[events e_can_resurrect]
ON=@click
message @1153,,1 [Reslenebilir]
ON=@deathcorpse
argo.events +t_can_resurrect
argo.tag.owner <owner.uid>
//ON=@resurrect
[function pet_res]
SERV.NEWNPC <morex>
NEW.COLOR <COLOR>
NEW.FLAGS |08000000
NEW.P <P>
src.update
ref1=<NEW.UID>
SERV.NEWITEM i_memory
NEW.COLOR 02
NEW.MORE2 <Serv.time>
NEW.MOREP <P>
NEW.LINK <tag.owner>
NEW.CONT <ref1.uid>
remove
[function binekres]
targetf f_can_resurrect
sysmessage @,,1 Canlandırmak istediğiniz bineği seçiniz
[function f_can_resurrect]
ref1=<argo>
ref2=<argo.tag.owner>
if !(<ref1.type>==t_corpse)
src.sysmessage @39,,1 Bu bir ceset değil.
return 1
endif
if !(<ref1.isevent.t_can_resurrect>)
src.sysmessage @39,,1 Bu cesedi resleyemezsiniz.
return 1
endif
if !(<uid>==<ref2.uid>)
src.sysmessage @39,,1 Bu binek size ait değil.
return 1
endif
//ref1.trigger @resurrect
ref1.pet_res
[typedef t_can_resurrect]
ON=@click
message @1153,,1 [<timer> saniye]