Skocz do zawartości
  • 0

BossBarSK - lista graczy.


AboundPL

Pytanie

7 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
 
on join:    add 10 to {players.bar}    create bar with "&f&lGracze" and {players.bar} to playerevery 5 minutes:    create bar with "&f&lGracze" and {players.bar} to all playerson quit:    remove 10 from {players.bar}

Jak pomogłem, to miło, a jak nie, to chociaż doceń wysiłek :D

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Zrobiłem to po swojemu:

on join:    loop all players:        add loop-player to {_online}        if {_online} is "1":            create bar with "&f&lGracze" and 10 to all players        if {_online} is "2":            create bar with "&f&lGracze" and 20 to all players        if {_online} is "3":            create bar with "&f&lGracze" and 30 to all players        if {_online} is "4":            create bar with "&f&lGracze" and 40 to all players        if {_online} is "5":            create bar with "&f&lGracze" and 50 to all players        if {_online} is "6":            create bar with "&f&lGracze" and 60 to all players        if {_online} is "7":            create bar with "&f&lGracze" and 70 to all players        if {_online} is "8":            create bar with "&f&lGracze" and 80 to all players        if {_online} is "9":            create bar with "&f&lGracze" and 90 to all players        if {_online} is "10":            create bar with "&f&lGracze" and 100 to all players

Ale teraz gracz ma laga przy przeładowywaniu.

W konsoli gdy reloaduje to wszystko jest ok ;)

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Bo tak dużo... Może tak:

on join:    loop all players:        add loop-player to {_online}            size of {_online} is greater than 0:                create bar with "&f&lGracze" and {_online}*10 to all players
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...