#I wanna make this pay plugin work
1 messages · Page 1 of 1 (latest)
So, where is the function?
ahm man i don't got these knowledge
it was in a HeroicStudio Setup but they disbanded support
am i missing some dependency
Yeah You are missing the function
no clue, u probably didnt get the full code since ur missing the function
Just a little example on how you can make your code look a tad bit better..
command /pay [<offline player>]:
trigger:
if arg-1 is not set:
send "&8[&e&lECO&8] &fInvalid Usage: &7/pay <player>&f." to player
play sound "block.note_block.bass" to player
stop
if arg-1 is not player:
send "&8[&e&lECO&8] &fYou must pay a player." to player
play sound "block.note_block.bass" to player
stop
if {paytoggle::%arg-1's uuid%} is true:
send "&8[&e&lECO&8] &fThis player has payments disabled!" to player
play sound "block.note_block.bass" to player
stop
I just wanted to share this cause in my personal opinion it just makes your code look a lot more better instead of the big chain of "if" and "else"! :D
I agree! :D
Economy Skripts are kinda basics.
here