#inventory full message

1 messages · Page 1 of 1 (latest)

pallid bobcat
#

I have this skript but how do I make it so it dosent send a chat messsage but display on the players screen like in the image. here is the current code.

on break:
    delete {_fullcheck}
    loop all items in player's inventory:
        set {_amount} to amount of loop-item
        if {_amount} = 64:
            add 1 to {_fullcheck}
        if {_amount} = 1:
            add 1 to {_fullcheck}

    if {_fullcheck} = 36:
        send action bar "&cYou don't have enough space."

grand pollen