Solved help offline player menu

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

lolib

Member
Oct 2, 2019
12
1
3
Code:
        set {_number} to -1
        open chest inventory with 3 rows named "&f &8Halkın durumu" to player
        wait 1 tick
        loop all players:
            add 1 to {_number}
            set slot {_number} of player's current inventory to loop-player's skull named "&3%loop-player's name% %loop-player's prefix%" with lore " &aÖdenmemiş Para Cezası:" and "  &c» &f%{para.cezası::%loop-player%}%" and " &aÖdenmemiş Vergi:" and "  &c» &f%{vergi::%loop-player%}%"

offline players not showing. please help
 
(I'm on mobile) Offline players will not show in a 'loop all players' event. Loop all the offline players, as it will only loop the players that have joined the server.
 
I don't think "loop-player's skull" is a valid expression, also you might have to see if it would be "loop-offlineplayer" as I'm not sure.
 
  • Like
Reactions: lolib
ty bro you are perfect
1732313095546.png

hah I was wrong
 
  • Like
Reactions: lolib