arkadaşlar şöle bi stat scp yaptım fakat butonlara bastıgımda herhangi bişey olmuyor bi siz bakarmısınız ? scp bu haldeyken .stat yazınca oyun göçüyor
[plevel 1]
stat
[function stat]
src.dialog d_stat
[DIALOG d_stat]
0, 0
nomove
resizepic 72 81 2620 300 300
dtext 120 132 1152 +1
dtext 256 131 1152 -1
button 138 130 4005 4006 0 0 1
button 279 131 4014 4015 0 0 2
dtext 83 186 1152 Dex=
dtext 83 131 1152 Str=
dtext 120 186 1152 +1
button 138 184 4005 4006 0 0 3
button 279 184 4014 4015 0 0 4
dtext 83 236 1152 Int=
dtext 120 236 1152 +1
button 138 236 4005 4006 0 0 5
button 279 236 4014 4015 0 0 6
dtext 256 184 1152 -1
dtext 256 236 1152 -1
gumppic 183 130 2444
gumppic 181 184 2444
gumppic 184 237 2444
dtext 195 130 95 <str>
dtext 195 185 95 <dex>
dtext 195 238 95 <int>
[DIALOG d_stat BUTTON]
on=1
IF !(<EVAL(<SRC.STR> + <SRC.DEX> + <SRC.INT>)> < 225)
src.sysmessage @1100 Stat'cap 225 Olmus.
return 1
else
src.str=<src.str>+1
return 1
endif
on=2
src.str=<src.str>-1
on=3
IF !(<EVAL(<SRC.STR> + <SRC.DEX> + <SRC.INT>)> < 225)
src.sysmessage @1100 Stat'cap 225 Olmus.
return 1
else
src.dex=<src.dex>+1
return 1
endif
on=4
src.dex=<src.dex>-1
on=5
IF !(<EVAL(<SRC.STR> + <SRC.DEX> + <SRC.INT>)> < 225)
src.sysmessage @1100 Stat'cap 225 Olmus.
return 1
else
src.int=<src.int>+1
return 1
endif
on=6
src.int=<src.int>-1