Çözüldü Komutla item alma item envanter doluyken gelmiyor yerede düşmüyor

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

KadirSpecial

Birisi mi Spawnlandı?
Katılım
8 Kasım 2017
Mesajlar
8
Elmaslar
9
Puan
13.250
Yaş
26
Komutla item alma skriptim var item envanter doluyken gelmiyor yerede düşmüyor ama paramı alıyor ya envanter dolu diye bi hata versin yada yere atsın yada parayı almasın engelleyebilirmiyiz?


else drop:
if player does not have inventory place
böyle birde kod buldum neresinde hata var çalışmadıda
 
Son düzenleme:
Bunu dener misin.
Kod:
on pick up:
  loop all items in the player's inventory:
    add 1 to {_tmp}
  if player's offhand is not empty or air:
    subtract 1 from {_tmp}
  if player's boots is not empty or air:
    subtract 1 from {_tmp}
  if player's leggings is not empty or air:
    subtract 1 from {_tmp}
  if player's chestplate is not empty or air:
    subtract 1 from {_tmp}
  if player's helmet is not empty or air:
    subtract 1 from {_tmp}
  if {_tmp} is 36:
    message "&9&lEnvanterin Dolu! &fİtem alabilmen icin envanterini bosaltmalisin."
 
Kod:
  loop all items in the player's inventory:
    add 1 to {_tmp}
  if player's offhand is not empty or air:
    subtract 1 from {_tmp}
  if player's boots is not empty or air:
    subtract 1 from {_tmp}
  if player's leggings is not empty or air:
    subtract 1 from {_tmp}
  if player's chestplate is not empty or air:
    subtract 1 from {_tmp}
  if player's helmet is not empty or air:
    subtract 1 from {_tmp}
  if {_tmp} is 36:
    message "You have a full inventory"
bu örnek işini görür sanırım[DOUBLEPOST=1512761475,1512761443][/DOUBLEPOST]
Bunu dener misin.
Kod:
on pick up:
  loop all items in the player's inventory:
    add 1 to {_tmp}
  if player's offhand is not empty or air:
    subtract 1 from {_tmp}
  if player's boots is not empty or air:
    subtract 1 from {_tmp}
  if player's leggings is not empty or air:
    subtract 1 from {_tmp}
  if player's chestplate is not empty or air:
    subtract 1 from {_tmp}
  if player's helmet is not empty or air:
    subtract 1 from {_tmp}
  if {_tmp} is 36:
    message "&9&lEnvanterin Dolu! &fİtem alabilmen icin envanterini bosaltmalisin."
görmedim k.b :D
 
Bunu dener misin.
Kod:
on pick up:
  loop all items in the player's inventory:
    add 1 to {_tmp}
  if player's offhand is not empty or air:
    subtract 1 from {_tmp}
  if player's boots is not empty or air:
    subtract 1 from {_tmp}
  if player's leggings is not empty or air:
    subtract 1 from {_tmp}
  if player's chestplate is not empty or air:
    subtract 1 from {_tmp}
  if player's helmet is not empty or air:
    subtract 1 from {_tmp}
  if {_tmp} is 36:
    message "&9&lEnvanterin Dolu! &fİtem alabilmen icin envanterini bosaltmalisin."
Merhaba skype veya discordunuz varmıdır hocam. Teşekkürler bu arada.
 
Önemli değil işimiz bu, discord adresimi özel mesajdan verebilirim burada herkesle paylaşmak istemiyorum.
Peki bekliyorum hocam.[DOUBLEPOST=1512762681,1512762045][/DOUBLEPOST]
Bunu dener misin.
Kod:
on pick up:
  loop all items in the player's inventory:
    add 1 to {_tmp}
  if player's offhand is not empty or air:
    subtract 1 from {_tmp}
  if player's boots is not empty or air:
    subtract 1 from {_tmp}
  if player's leggings is not empty or air:
    subtract 1 from {_tmp}
  if player's chestplate is not empty or air:
    subtract 1 from {_tmp}
  if player's helmet is not empty or air:
    subtract 1 from {_tmp}
  if {_tmp} is 36:
    message "&9&lEnvanterin Dolu! &fİtem alabilmen icin envanterini bosaltmalisin."
Hocam neresine ekliyoruz bunu skriptin ya ben ekleyemedim yada çalışmadı[DOUBLEPOST=1512825095][/DOUBLEPOST]Sorun devam etmekte.[DOUBLEPOST=1512828665][/DOUBLEPOST]@SydeFQ Sorun discorddan çözüldü konu kilit. Rienque teşekkürler.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Hala Discord sunucumuza katılmadın mı?

Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!

Şimdi Katıl
Üst