SphereCommunity
Farm dialog - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Farm dialog (/Thread-Farm-dialog)



Farm dialog - djazraell - 06-02-2014 12:59 AM

hi friends ..
I want to write the fields, but you need your assistance.! [Farming system]

I'm going to add an item such as housing, but that if it is double-clicked it;
This field will write for sale and empty fields

Code:
[ITEMDEF i_tarla]
id i_sign_brass
name Tarla tabelasi

on @Create
color 0491
attr 010

on @Click
message @1152 <serv.name>
message @666 <name>
return 1

on @Dclick
if ! ......................
src.message @38 Field belongs to someone else.!
else
        sdialog d_forsale
return 1

[dialog d_forsale]
0.0
nomove
noclose
.................          |
..............             | This is gonna get buy <src.name>?
............               |