Thiccenings#0351
EmreSHN#4551
command /maaş [<text>]:
trigger:
if player's group is "Group1":
{%player%::bekleme1} is set:
difference between {%player%::bekleme1} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme1} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if player's group is "Group2":
{%player%::bekleme2} is set:
difference between {%player%::bekleme2} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme2} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if player's group is "Group3":
{%player%::bekleme3} is set:
difference between {%player%::bekleme3} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme3} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if player's group is "Group4":
{%player%::bekleme4} is set:
difference between {%player%::bekleme4} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme4} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if player's group is "Group5":
{%player%::bekleme5} is set:
difference between {%player%::bekleme5} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme5} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if player's group is "Group6":
{%player%::bekleme6} is set:
difference between {%player%::bekleme6} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme6} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
player's group is not an entity type diye hata verdi 6 tane. Sanırım başka bir şey yazmamız gerekiyor.Aşağıdaki skripti kullanmadan önce bilmen gerekenler;
- Group1 Group2 Group3 Group4 Group5 Group6 yazan yeri kendi grubunuzu yazın.
- Mesela Group1 yerine Oyuncu yazdınız, fiyatı 1560 yaptınız sadece oyuncular günde 1560 tl alır böyle ayarlayabilirsin.
- Fiyatlar 1200 yazan yerleri değiştirebilirsiniz.
Kod:command /maaş [<text>]: trigger: if player's group is "Group1": {%player%::bekleme1} is set: difference between {%player%::bekleme1} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme1} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if player's group is "Group2": {%player%::bekleme2} is set: difference between {%player%::bekleme2} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme2} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if player's group is "Group3": {%player%::bekleme3} is set: difference between {%player%::bekleme3} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme3} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if player's group is "Group4": {%player%::bekleme4} is set: difference between {%player%::bekleme4} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme4} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if player's group is "Group5": {%player%::bekleme5} is set: difference between {%player%::bekleme5} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme5} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if player's group is "Group6": {%player%::bekleme6} is set: difference between {%player%::bekleme6} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme6} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
Rütbeye özel olmadığı için kullanamıyorum maalesef, ama yinede teşekkürler.Bu konuya göz atabilirsin.
Hatayı ss atabilir misin?
EmreSHN#4551
command /maas [<text>]:
trigger:
if "%group of player%" is "Group1":
{%player%::bekleme1} is set:
difference between {%player%::bekleme1} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme1} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if "%group of player%" is "Group2":
{%player%::bekleme2} is set:
difference between {%player%::bekleme2} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme2} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if "%group of player%" is "Group3":
{%player%::bekleme3} is set:
difference between {%player%::bekleme3} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme3} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if "%group of player%" is "Group4":
{%player%::bekleme4} is set:
difference between {%player%::bekleme4} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme4} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if "%group of player%" is "Group5":
{%player%::bekleme5} is set:
difference between {%player%::bekleme5} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme5} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
if "%group of player%" is "Group6":
{%player%::bekleme6} is set:
difference between {%player%::bekleme6} and now is less than a day:
message "&cBugün zaten Maasını almışsın. "
stop trigger
execute console command "eco give %player% 1200"
set {%player%::bekleme6} to now
send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
Şunu dener misin?
Kod:command /maas [<text>]: trigger: if "%group of player%" is "Group1": {%player%::bekleme1} is set: difference between {%player%::bekleme1} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme1} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if "%group of player%" is "Group2": {%player%::bekleme2} is set: difference between {%player%::bekleme2} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme2} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if "%group of player%" is "Group3": {%player%::bekleme3} is set: difference between {%player%::bekleme3} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme3} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if "%group of player%" is "Group4": {%player%::bekleme4} is set: difference between {%player%::bekleme4} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme4} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if "%group of player%" is "Group5": {%player%::bekleme5} is set: difference between {%player%::bekleme5} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme5} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player if "%group of player%" is "Group6": {%player%::bekleme6} is set: difference between {%player%::bekleme6} and now is less than a day: message "&cBugün zaten Maasını almışsın. " stop trigger execute console command "eco give %player% 1200" set {%player%::bekleme6} to now send "&aBaşarıyla Maasını aldın. Yarın aynı zamanda tekrar gel!" to player
Sizce de biraz alakasız olmadı mı? Yine de denedim, sonuç aynı. Sanırım if player's group skriptte çalışmıyor. Bende bir kaç argüman denedim de, yapamadım. Belki de biz yapamıyoruzdur. Bilen birileri yardım edebilirse çok mutlu olurum ^^Hocam maaş.sk dosyasını maas.sk olarak değiştirip dener misin?
Thiccenings#0351
hmm başka bakalım hemenRütbeye özel olmadığı için kullanamıyorum maalesef, ama yinede teşekkürler.
EmreSHN#4551
options:
albaymaas: 5
yarbaymaas: 4
binbasimaas: 3
yuzbasimaas: 2
tegmenmaas: 1
every hour:
loop all players:
if loop-player has permission "maas.albay":
execute console command "eco give %loop-player% {@albaymaas}"
send "&2Maaşını aldın! Maaşın: &a{@albaymaas}" to loop-player
else if loop-player has permission "maas.yarbay":
execute console command "eco give %loop-player% {@yarbaymaas}"
send "&2Maaşını aldın! Maaşın: &a{@yarbaymaas}" to loop-player
else if loop-player has permission "maas.binbasi":
execute console command "eco give %loop-player% {@binbasimaas}"
send "&2Maaşını aldın! Maaşın: &a{@binbasimaas}" to loop-player
else if loop-player has permission "maas.yuzbasi":
execute console command "eco give %loop-player% {@yuzbasimaas}"
send "&2Maaşını aldın! Maaşın: &a{@yuzbasimaas}" to loop-player
else if loop-player has permission "maas.tegmen":
execute console command "eco give %loop-player% {@tegmenmaas}"
send "&2Maaşını aldın! Maaşın: &a{@tegmenmaas}" to loop-player
Thiccenings#0351
Çok hızlısınız, tam ben atacaktım onu :DBir tane buldum. Değişilmesi gereken kısımları kendine göre düzenlersin.
Kod:options: albaymaas: 5 yarbaymaas: 4 binbasimaas: 3 yuzbasimaas: 2 tegmenmaas: 1 every hour: loop all players: if loop-player has permission "maas.albay": execute console command "eco give %loop-player% {@albaymaas}" send "&2Maaşını aldın! Maaşın: &a{@albaymaas}" to loop-player else if loop-player has permission "maas.yarbay": execute console command "eco give %loop-player% {@yarbaymaas}" send "&2Maaşını aldın! Maaşın: &a{@yarbaymaas}" to loop-player else if loop-player has permission "maas.binbasi": execute console command "eco give %loop-player% {@binbasimaas}" send "&2Maaşını aldın! Maaşın: &a{@binbasimaas}" to loop-player else if loop-player has permission "maas.yuzbasi": execute console command "eco give %loop-player% {@yuzbasimaas}" send "&2Maaşını aldın! Maaşın: &a{@yuzbasimaas}" to loop-player else if loop-player has permission "maas.tegmen": execute console command "eco give %loop-player% {@tegmenmaas}" send "&2Maaşını aldın! Maaşın: &a{@tegmenmaas}" to loop-player
Şimdi deneyeceğim, teşekkür ederim yardımlarınızdan dolayı sizi de yordum bugün :)Bir tane buldum. Değişilmesi gereken kısımları kendine göre düzenlersin.
Kod:options: albaymaas: 5 yarbaymaas: 4 binbasimaas: 3 yuzbasimaas: 2 tegmenmaas: 1 every hour: loop all players: if loop-player has permission "maas.albay": execute console command "eco give %loop-player% {@albaymaas}" send "&2Maaşını aldın! Maaşın: &a{@albaymaas}" to loop-player else if loop-player has permission "maas.yarbay": execute console command "eco give %loop-player% {@yarbaymaas}" send "&2Maaşını aldın! Maaşın: &a{@yarbaymaas}" to loop-player else if loop-player has permission "maas.binbasi": execute console command "eco give %loop-player% {@binbasimaas}" send "&2Maaşını aldın! Maaşın: &a{@binbasimaas}" to loop-player else if loop-player has permission "maas.yuzbasi": execute console command "eco give %loop-player% {@yuzbasimaas}" send "&2Maaşını aldın! Maaşın: &a{@yuzbasimaas}" to loop-player else if loop-player has permission "maas.tegmen": execute console command "eco give %loop-player% {@tegmenmaas}" send "&2Maaşını aldın! Maaşın: &a{@tegmenmaas}" to loop-player
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!