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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






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


Messages In This Thread
I'll create Farming - djazraell - 06-08-2014 04:00 PM
Re: I'll create Farming - Extreme - 06-09-2014, 12:04 AM
RE: I'll create Farming - djazraell - 06-09-2014, 01:01 AM

Forum Jump:


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