i having problem in this part of skript
it says:
console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"] is not a valid lambda statement. (clicks.sk, line 19: format slot 10 of player with light blue dye named "&9Police Rank" with lore "&eRequires 350 Charm" and "&fPrice: &a$1250" and "&7Duration: &f3 Hours" and "&e+ Access to Official's Rooms" and "&e+ Kit Police" to close then run [subtract 1250 from player's money]->[console command "lp user %player% permission settemp kit.rank.noob false 10800s"]->[console command "lp user %player% permission settemp kit.rank.police true 10800s"]->[console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"]')
And the error is this:
so i was Wondering if there is other way to set prefix with luckperms .
prefix chat i already have one done.
[doublepost=1641500532,1641438675][/doublepost]nvm I found a solution i had to put :
the correct is this
""&9[P] &f""
no
"&9[P] &f"
Code:
if player's money is more than or equal to 1250:
format slot 10 of player with light blue dye named "&9Police Rank" with lore "&eRequires 350 Charm" and "&fPrice: &a$1250" and "&7Duration: &f3 Hours" and "&e+ Access to Official's Rooms" and "&e+ Kit Police" to close then run [subtract 1250 from player's money]->[console command "lp user %player% permission settemp kit.rank.noob false 10800s"]->[console command "lp user %player% permission settemp kit.rank.police true 10800s"]->[console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"]
it says:
console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"] is not a valid lambda statement. (clicks.sk, line 19: format slot 10 of player with light blue dye named "&9Police Rank" with lore "&eRequires 350 Charm" and "&fPrice: &a$1250" and "&7Duration: &f3 Hours" and "&e+ Access to Official's Rooms" and "&e+ Kit Police" to close then run [subtract 1250 from player's money]->[console command "lp user %player% permission settemp kit.rank.noob false 10800s"]->[console command "lp user %player% permission settemp kit.rank.police true 10800s"]->[console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"]')
And the error is this:
Code:
[console command "lp user %player% meta settempprefix "&9[P] &f" 10800s"]
so i was Wondering if there is other way to set prefix with luckperms .
prefix chat i already have one done.
[doublepost=1641500532,1641438675][/doublepost]nvm I found a solution i had to put :
Code:
[console command "lp user %player% meta settempprefix ""&9[P] &f"" 10800s"]
the correct is this
""&9[P] &f""
no
"&9[P] &f"