TheSckwadbros999 Posted June 30, 2021 Share Posted June 30, 2021 I was wondering how you can make it where if u kill someone you get money would it be something like this: on death: if attacker is a player: add 50 to %player's balance% idk Link to comment Share on other sites More sharing options...
CoolProgrammer Posted July 1, 2021 Share Posted July 1, 2021 6 hours ago, TheSckwadbros999 said: I was wondering how you can make it where if u kill someone you get money would it be something like this: on death: if attacker is a player: add 50 to %player's balance% idk Hey, It’s great that you got the logic, but here is how you do it: on death: if attacker is a player: add 50 to attacker's balance Just make sure you have Vault and a valid Economy plugin (e.g. EssentialsX) installed. Hello there! If you're reading this, hope you're having a wonderful day! Feel free to contact me via Discord (CoolProgrammer#1920) for any help. My DMs are always open for help. You can also message via. forum messages for help. Also, don't hesitate to leave a like on my post if I helped you in any way. Link to comment Share on other sites More sharing options...
Pryzmm Posted July 6, 2021 Share Posted July 6, 2021 On 6/30/2021 at 2:32 PM, TheSckwadbros999 said: I was wondering how you can make it where if u kill someone you get money would it be something like this: on death: if attacker is a player: add 50 to %player's balance% idk For future reference, percent signs for variables or, in this case player's balance, are used in text. eg. send "Money: %player's balance%" to player eg. add 50 to player's balance Owner of Lifestealed, Labs, Encore, UNOfficially and Observed OG [VIP] 12/26/20 - 10/27/2021 OG [PRO] 12/27/21 - 11/18/2022 OG [LEGEND] 11/18/2022 - 3/14/2023 [DEFAULT] 3/14/2023 - 5/8/2024 [MOD] 5/8/2024 - Present 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