Amount to Balance

  • 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!

Status
Not open for further replies.

DatriX

Member
May 13, 2021
3
0
1
Hello, I need to fix my skript..

trigger:
add {amount of apples in the player's inventory} to balance of player


It is successfully reloading, but not working.. Please help me.. :emoji_frowning:
(BTW sorry for my english)
 
Code:
    set {_money} to amount of apples in player's inventory
    add {_money} to player's balance
 
Code:
    set {_money} to amount of apples in player's inventory
    add {_money} to player's balance
Thanks so much.. I fixed that by this:

set {_amo} to amount of apples in player's inventory
if {_amo} >= 30:
add 30 to player's balance

But Thank you for help :emoji_slight_smile:
 
Status
Not open for further replies.