|
İçerde : 1 misafir, 0 üye : ---
|
itemdef i_xx
id i_xx
name Binek Resser
type t_script
on=@dclick
targetf f_binekres
function f_binekres
if !strmatch(*corpse*,'<argo.id>')
src.sys_error Sadece cesetlerde kullanabilirsiniz.
elif !<serv.chardef.<argo.amount>.npc> == <brain_animal>
src.sys_error Sadece hayvan cesetlerinde kullanabilirsiniz.
else
serv.newnpc <argo.amount>
new.p <p>
mount <new> (emin değilim) // memoryde ekleyebilirsin ama aklıma gelmedi nasıl ekleyeceğin.
endif
Can't resolve <serv.chardef.218.npc>
Can't resolve <brain_animal>
Undefined symbol ''
On=@death
argo.type t_nightmare
if (<argo.type> == t_nightmare)
new.npc c_m_nightmare
new.p <argo.p>
new.color <argo.color>
new.link <src.uid>
endif
On=@death
argo.type t_nightmare
on=@deathcorpse
argo.type t_nightmare
itemdef i_xx
id i_xx
name Binek Resser
type t_script
on=@dclick
targetf f_binekres
function f_binekres
if !strmatch(*corpse*,'<argo.id>')
src.sys_error Sadece cesetlerde kullanabilirsiniz.
elif !<serv.chardef.<argo.amount>.npc> == <brain_animal>
src.sys_error Sadece hayvan cesetlerinde kullanabilirsiniz.
else
f (<argo.type> == t_nightmare)
new.npc c_m_nightmare
new.p <argo.p>
new.color <argo.color>
new.link <src.uid>
endif
[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]
[itemdef i_binek_res]
id i_scroll_blank
name Binek Res Scroll
type t_script
on=@dclick
src.targetf f_binekres
return 1
on=@click
message @56,,1 [Binek Res Scroll]
message @0481,,1 <serv.name>
on=@create
color 07a1
return 1
[function f_binekres]
if !(<src.restest 35 i_binek_res>)
src.sys_trk Nightmare'yi Reslemek Icin 35 Res Scrollunuz yok
else
if <argo.amount> == 204
serv.newnpc c_m_nightmare
new.p <argo.p>
new.update
argo.remove
serv.allclients sysmessage @07a1,,1 [BINEK RES] : <argo.name> , <src.name> Tarafindan Hayata Donduruldu
endif
endif
|