Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
I'll create Farming
|
Author |
Message |
djazraell
Apprentice
Posts: 26
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2014
Reputation: 0
|
I'll create Farming
Hello Again
I "Farming.scp" I want to write but you must take help from
I think "typedef" I've used in the right place, but the "TAG" is not correct.!
Because I'm the "TAG" to stone when I add "dclic" does not work.
Code:
[typedef t_tarla]
on=@itemdclick
if (<act.baseid>=i_runebook_double)
src.sysmessage @38 Tarlada runebook kullanimi yasaktir.!.
return 1
endif
ON=@DEATH
src.sysmessage @1152 Kendi tarlanizda olum yasaklanmistir.!
hits=<str>
action -1
RETURN 1
endif
ON=@Attack
src.sysmessage @38 Tarlada bunu yapamazsin <src.name>.!
RETURN 1
endif
ON=@UserWarMode
src.sysmessage @38 Tarlada bunu yapamazsin <src.name>.!
RETURN 1
endif
on=@spelleffect
src.sysmessage @38 Tarlada bunu yapamazsin <src.name>.!
RETURN 1
endif
ON=@CallGuards
src.sysmessage @38 Tarlada guard'lari cagirmak yasaktir <sex Bay/Bayan> <src.name>.!
RETURN 1
endif
on=@SkillStart
src.sysmessage @38 Tarlada skill kasimi yasktir <sex Bayim/Hanimefendi>.!
return 1
endif
[itemdef i_tarla_tasi]
id i_gravestone_16
name Tarla tasi
type t_tarla
on @Create
tag.tarla 0
attr 010
color 07a1
on @Click
message @0481 [ MaHSeR Uo ]
message @0666 Farming system..
on @Dclick
if (<src.TAG0.Tarla> == 1)
Src.Sysmessage @38 <sex Bay/Bayan> <src.name> sizin bir tarlaniz var.!
else
elseif (<src.findid i_rune_poison>)
src.sysmessage @38 Uzerinizde zehir varken olmaz.!
return 1
elseif (<src.hits> < <src.str>)
src.sysmessage @38 Yaraliyken bunu kullanamazsınız.
return 1
elseIF (<distance> > 2)
src.sysmessage @38 <src.sex Bay/Bayan> <src.name> biraz daha yaklasmalisiniz..
return 1
else
sdialog d_tarla
return 1
[Dialog d_tarla]
Me "TAG" Can you tell how I'il write?
So the owner of the field, they'll stone you want to teleport.
But the field is not the holder
're open dialogue.!
If I'm wrong, "dclic" I need to add two fat?
Facebook
|
|
06-08-2014 04:00 PM |
|
|
Extreme
Grandmaster Poster
Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20
SphereCommunity
|
|
06-09-2014 12:04 AM |
|
The following 1 user Likes Extreme's post:1 user Likes Extreme's post
darksun84 (06-09-2014)
|
djazraell
Apprentice
Posts: 26
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2014
Reputation: 0
|
RE: I'll create Farming
Heyy
Code:
[itemdef i_tarla_tasi]
id i_gravestone_16
name Tarla tasi
type t_tarla
on @Create
tag.Tarla 0
attr 010
color 07a1
on @Click
message @0481 [ MaHSeR Uo ]
message @0666 Farming system..
on @Dclick
IF (<distance> > 2)
src.sysmessage @38 <src.sex Bay/Bayan> <src.name> biraz daha yaklasmalisiniz..
return 1
elseif (<src.findid i_rune_poison>)
src.sysmessage @38 Uzerinizde zehir varken olmaz.!
return 1
elseif (<src.hits> < <src.str>)
src.sysmessage @38 Yaraliyken bunu kullanamazsınız.
return 1
elseif (<src.TAG0.Tarla> == 1)
Src.Sysmessage @38 <sex Bay/Bayan> <src.name> sizin bir tarlaniz var.!
return 1
else
sdialog d_tarla
return 1
[Dialog d_tarla]
0,0
nomove
resizepic 150 85 5120 275 145
resizepic 160 95 9300 255 125
dtext 175 100 0 MaHSeR Uo farming system
dtext 165 140 1152 Bu tarla haftalik 50.000 gold.
dtext 165 175 0481 Alacagim
dtext 355 175 38 Vazgec
button 175 195 4024 4025 1 0 1
button 362 195 4021 4022 1 0 2
[Dialog d_tarla button]
on 1
if !(<src.restest 50000 i_gold>)
src.message @38 Hata.!
src.sysmessage @0481 50000 Gold'a Sahip Degilsiniz.
elseif (<act.baseid>=i_runebook)
src.sysmessage @38 Tarla menusunu acmisken runebook kullanamazsiniz.
return 1
elseif (<src.findid i_rune_poison>)
src.sysmessage @38 Uzerinizde zehir varken olmaz.!
return 1
elseif (<src.hits> < <src.str>)
src.sysmessage @38 Yaraliyken bunu kullanamazsınız.
return 1
elseIF (<distance> > 2)
src.sysmessage @38 <src.sex Bay/Bayan> <src.name> biraz daha yaklasmalisiniz..
return 1
else
consume 50000 i_gold
src.tag0.Tarla +=1
src.sysmessage @74 <src.name> Yeni tarlaniz hayirli olsun.
src.events +e_tarlaaldi
endif
on 2
src.sysmessage @1152 Tarla satin almaktan vazgectiniz <src.sex Bay/Bayan> <src.name> iyi oyunlar..
[events e_tarlaaldi]
on=@itemdclick
if (<act.baseid>=i_tarla_tasi)
src.sysmessage @38 Zaten sahibi oldugunuz bir tarla var.!
return 1
endif
Here
If the owner provides what I need to write part're irradiation !?
Facebook
|
|
06-09-2014 01:01 AM |
|
|
User(s) browsing this thread: 2 Guest(s)