The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
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



Post: #1
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
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #2
Re: I'll create Farming
   

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
06-09-2014 12:04 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Extreme's post
djazraell
Apprentice
*

Posts: 26
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: I'll create Farming
Big Grin
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
Code:
on @Dclick
If the owner provides what I need to write part're irradiation !?

Facebook
06-09-2014 01:01 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)