joinmo 0 Opublikowano 2 stycznia 2024 Udostępnij Opublikowano 2 stycznia 2024 I have a problem checking the region player. Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 Fendi 173 Opublikowano 2 stycznia 2024 Udostępnij Opublikowano 2 stycznia 2024 58 minut temu, joinmo napisał: I have a problem checking the region player. just use if player is in region "test": Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 joinmo 0 Opublikowano 3 stycznia 2024 Autor Udostępnij Opublikowano 3 stycznia 2024 15 godzin temu, Fendi napisał: просто используй No, you misunderstood, I have a problem with checking for the owner of the region. if player is a owner region at player: its doesn`t work Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 makstale 35 Opublikowano 3 stycznia 2024 Udostępnij Opublikowano 3 stycznia 2024 Maybe? player is the owner of the region Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 joinmo 0 Opublikowano 3 stycznia 2024 Autor Udostępnij Opublikowano 3 stycznia 2024 It gives an error and says There`s no region in an on place event. Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 makstale 35 Opublikowano 3 stycznia 2024 Udostępnij Opublikowano 3 stycznia 2024 2 minuty temu, joinmo napisał: It gives an error and says There`s no region in an on place event. In this case, it can be used in "on region enter" event etc. Anyway, You can fiddle with checking permissions, or limit yourself to only checking the name of the region, because in this event you can Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 CoFFeIN04 696 Opublikowano 4 stycznia 2024 Udostępnij Opublikowano 4 stycznia 2024 W dniu 3.01.2024 o 15:37, makstale napisał: it can be used in "on region enter" event etc No way, don't spread fake informations. Cytat Checks whether a player is a member or owner of a particular region. This condition requires a supported regions plugin to be installed. There's exactly in docs, how to achieve this effect: https://docs.skunity.com/syntax/search/id:4941 Check this out: if player is owner of region (region at player) # if not working, try also: if player is owner of region at player if player is owner of (region at player) Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 makstale 35 Opublikowano 4 stycznia 2024 Udostępnij Opublikowano 4 stycznia 2024 1 godzinę temu, CoFFeIN04 napisał: No way, don't spread fake informations. There's exactly in docs, how to achieve this effect: https://docs.skunity.com/syntax/search/id:4941 Check this out: if player is owner of region (region at player) # if not working, try also: if player is owner of region at player if player is owner of (region at player) Example from the link you provided. on region enter: player is the owner of the region message "Welcome back to %region%!" send "%player% just entered %region%!" to all members of the region Where did I give false information? Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 CoFFeIN04 696 Opublikowano 4 stycznia 2024 Udostępnij Opublikowano 4 stycznia 2024 (edytowane) 3 godziny temu, makstale napisał: Where did I give false information? You told us, that this event can be used only in 'region enter' event. That's not true! Just check official docs, here is example of expression that can be used only in specific events: https://docs.skriptlang.org/docs.html?search=#ExprFinalDamage https://docs.skriptlang.org/docs.html?search=#CondIsMember czemu nie gadamy po polskiemu? Edytowane 4 stycznia 2024 przez CoFFeIN04 Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 makstale 35 Opublikowano 5 stycznia 2024 Udostępnij Opublikowano 5 stycznia 2024 7 godzin temu, CoFFeIN04 napisał: You told us, that this event can be used only in 'region enter' event. That's not true! Just check official docs, here is example of expression that can be used only in specific events: https://docs.skriptlang.org/docs.html?search=#ExprFinalDamage https://docs.skriptlang.org/docs.html?search=#CondIsMember czemu nie gadamy po polskiemu? Nie napisałem, że tylko. Użyłem "etc", tu masz znaczenie ze wikisłownika etc. (język polski) wymowa: ‹et cetera›, IPA: [ˈɛt ʦ̑ɛˈtɛra], AS: [et cetera] (1.1) Używane na końcu listy, dla zaznaczenia, że inne, podobne elementy nie zostały wymienione. W dniu 3.01.2024 o 15:29, joinmo napisał: It gives an error and says There`s no region in an on place event. Bo jak widzisz wyżej, np. dla place eventu, ten warunek nie ma zastosowania. Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 CoFFeIN04 696 Opublikowano 6 stycznia 2024 Udostępnij Opublikowano 6 stycznia 2024 W dniu 5.01.2024 o 08:08, makstale napisał: Nie napisałem, że tylko. Użyłem "etc", tu masz znaczenie ze wikisłownika Czyli nie napisałeś nic wartościowego, bo może być użyte to w dosłownie każdym evencie xd W dniu 5.01.2024 o 08:08, makstale napisał: Bo jak widzisz wyżej, np. dla place eventu, ten warunek nie ma zastosowania. ma, wystarczy podać region, który sprawdzamy Cytuj Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
joinmo 0
I have a problem checking the region player.
Odnośnik do komentarza
Udostępnij na innych stronach
10 odpowiedzi na to pytanie
Rekomendowane odpowiedzi
Dołącz do dyskusji
Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.