Skocz do zawartości
  • 0

if player has permission nie dziala


Pytanie

on join:    
    if player has permission "pineczek.testhelperjoin":
    send "========================" to all players
    send "&b&lTest&1&lHelper &e%player%" to all players 
    send "&a&lDolaczyl na serwer" to all players
    send "========================" to all players
    if player has permission "pineczek.adminjoin":
    send "========================" to all players
    send "&4&lAdministrator &e%player%" to all players 
    send "&a&lDolaczyl na serwer" to all players
    send "========================" to all players
    if player has permission "pineczek.ownerjoin":
    send "========================" to all players
    send "&c&lOwner &e%player%" to all players 
    send "&a&lDolaczyl na serwer" to all players
    send "========================" to all players

mimo ze zabralem sobie permisje do tego, nadal to pokazuje, jak gracz 1 raz wejdzie na serwer to tez pokazuje te 3 komendy, jak relouduje skrypt pisze:
 Empty configuration section! You might want to indent... (pineczek.helpop.sk, line 64: if player has permission "pineczek.adminjoin" i to 3 razy wyskakuje 

Odnośnik do komentarza
https://skript.pl/temat/51443-if-player-has-permission-nie-dziala/
Udostępnij na innych stronach

2 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Nie zrobiłeś tabów po warunkach.

on join:    
    if player has permission "pineczek.testhelperjoin":
	    send "========================" to all players
	    send "&b&lTest&1&lHelper &e%player%" to all players 
	    send "&a&lDolaczyl na serwer" to all players
	    send "========================" to all players
    if player has permission "pineczek.adminjoin":
	    send "========================" to all players
	    send "&4&lAdministrator &e%player%" to all players 
	    send "&a&lDolaczyl na serwer" to all players
	    send "========================" to all players
    if player has permission "pineczek.ownerjoin":
	    send "========================" to all players
	    send "&c&lOwner &e%player%" to all players 
	    send "&a&lDolaczyl na serwer" to all players
	    send "========================" to all players

 

Odnośnik do komentarza
https://skript.pl/temat/51443-if-player-has-permission-nie-dziala/#findComment-316398
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ę...