MorBidAngel
Birisi mi Spawnlandı?
- Katılım
- 7 Mayıs 2017
- Mesajlar
- 2
- Elmaslar
- 1
- Puan
- 0
- Yaş
- 36
Discord:
Deathmachine4188#5060
Beyler skripten anlayanlar buraya lütfen.
Arkadaşlar şimdi skripteki sorun sunucuda -/otosat yazdığımız zaman menüden oyuncular aktif edemiyo ama oplarda aktif oluyo
sorunu bilen veya sorunu bulabilen warsa söylüyebilir mi
SKRIPT
Arkadaşlar şimdi skripteki sorun sunucuda -/otosat yazdığımız zaman menüden oyuncular aktif edemiyo ama oplarda aktif oluyo
sorunu bilen veya sorunu bulabilen warsa söylüyebilir mi
SKRIPT
Kod:
options:
p: Sunucu &6»
otodemirfiyat: 1100
otodemiradet: 64
otoaltınfiyat: 1200
otoaltınadet: 64
otoelmasfiyat: 1500
otoelmasadet: 64
otozümrütfiyat: 1700
otozümrütadet: 64
quit:
set {otosat::demir::%player%}, {otosat::altın::%player%}, {otosat::elmas::%player%} or {otosat::zümrüt::%player%} to false
join:
while player is online:
wait a second
if {otosat::demir::%player%} is true:
if player has {@otodemiradet} iron ingot:
remove {@otodemiradet} iron ingot from player's inventory
send "{@p} &f{@otodemiradet} &7adet Demir &f{@otodemirfiyat} TL&7'ye &7satılmıştır."
add {@otodemirfiyat} to player's money
else if {otosat::altın::%player%} is true:
if player has {@otoaltınadet} gold ingot:
remove {@otoaltınadet} gold ingot from player's inventory
send "{@p} &f{@otoaltınadet} &7adet &6Altın &f{@otoaltınfiyat} TL&7'ye &7satılmıştır."
add {@otoaltınfiyat} to player's money
else if {otosat::elmas::%player%} is true:
if player has {@otoelmasadet} diamond:
remove {@otoelmasadet} diamond from player's inventory
send "{@p} &f{@otoelmasadet} &7adet &bElmas &f{@otoelmasfiyat} TL&7'ye &7satılmıştır."
add {@otoelmasfiyat} to player's money
else if {otosat::zümrüt::%player%} is true:
if player has {@otozümrütadet} emerald:
remove {@otozümrütadet} emerald from player's inventory
send "{@p} &f{@otozümrütadet} &7adet &aZümrüt &f{@otozümrütfiyat} TL&7'ye &7satılmıştır."
add {@otozümrütfiyat} to player's money
command /otosat [<text>]:
trigger:
if arg-1 isn't set:
open virtual chest with size 3 named "&6&lOTOSAT" to player
wait a tick
make gui slot 0 of player with iron ingot named "&fDemir" to nothing
if {otosat::demir::%player%} is false:
make gui slot 18 of player with gray dye named "&fDemir" with lore "&7Durum: &cKapalı||&7Açmak için tıklayın." to close then run player command "otosat demir"
else:
make gui slot 18 of player with light green dye named "&fDemir" with lore "&7Durum: &aAçık||&7Kapatmak için tıklayın." to close then run player command "otosat demir"
make gui slot 1 of player with gold ingot named "&6Altın" to nothing
if {otosat::altın::%player%} is false:
make gui slot 19 of player with gray dye named "&6Altın" with lore "&7Durum: &cKapalı||&7Açmak için tıklayın." to close then run player command "otosat altın"
else:
make gui slot 19 of player with light green dye named "&6Altın" with lore "&7Durum: &aAçık||&7Kapatmak için tıklayın." to close then run player command "otosat altın"
make gui slot 2 of player with diamond named "&bElmas" to nothing
if {otosat::elmas::%player%} is false:
make gui slot 20 of player with gray dye named "&bElmas" with lore "&7Durum: &cKapalı||&7Açmak için tıklayın." to close then run player command "otosat elmas"
else:
make gui slot 20 of player with light green dye named "&bElmas" with lore "&7Durum: &aAçık||&7Kapatmak için tıklayın." to close then run player command "otosat elmas"
make gui slot 3 of player with emerald named "&aZümrüt" to nothing
if {otosat::zümrüt::%player%} is false:
make gui slot 21 of player with gray dye named "&aZümrüt" with lore "&7Durum: &cKapalı||&7Açmak için tıklayın." to close then run player command "otosat zümrüt"
else:
make gui slot 21 of player with light green dye named "&aZümrüt" with lore "&7Durum: &aAçık||&7Kapatmak için tıklayın." to close then run player command "otosat zümrüt"
else:
if arg-1 is "demir", "altın", "elmas" or "zümrüt":
if {otosat::%arg-1%::%player%} is false:
send "{@p} &7Oto &f%arg-1% &7satma &aaktif"
set {otosat::%arg-1%::%player%} to true
else:
send "{@p} &7Oto &f%arg-1% &7satma &cdevredışı"
set {otosat::%arg-1%::%player%} to false