Jessica907432 Posted May 6, 2023 Share Posted May 6, 2023 #here is my code on right click: if player's held item is a book named "&5&lHow to Get Rich": execute console command "eco give %player% 10000" Link to comment Share on other sites More sharing options...
ApexSplat Posted May 6, 2023 Share Posted May 6, 2023 the 3rd line isn't inside the if statement so will always be executed on a right click regardless if they are holding a book Discord: Dead#6905 Love anime! Link to comment Share on other sites More sharing options...
QuickSkripts Posted May 7, 2023 Share Posted May 7, 2023 Exactly, the new code would look like: on right click: if player's held item is a book named "&5&lHow to Get Rich": execute console command "eco give %player% 10000" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now