items

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

    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.

Funck

Member
Apr 22, 2018
30
0
6
24
hi, guys. when i using:
code_language.skript:
        if clicked slot is 31:
            if player have 32 snow:
                remove 32 snow from player's inventory
                execute command "eco add %player% 990" by console
                message "sell"
            if player doesn't have 32 snow:
                message "no money"
i get: Can't understand this condition: 'player have 32 snow' (script.sk, line 61: if player have 32 snow:')
but, if i using:
code_language.skript:
        if clicked slot is 31:
            if player have 32 80:
                remove 32 80 from player's inventory
                execute command "eco add %player% 990" by console
                message "sell"
            if player doesn't have 32 80:
                message "no money"

i get: Line 65: Numeric ids are not supported anymore. (script.sk, line 65: if player doesn't have 32 80:')

server version: 1.12.2, skript: the last
 
Last edited:
Check in your alias.sk if at line ~1000 snow is set.
In my config it looks like this:
code_language.skript:
    # -- snow & ice --
    snow[(_| |-)]layer¦s = 78
    ice¦s @- = 79
    ice[(_| |-)]<block> @an = 79
    snow = 80
    snow[(_| |-)]<block> = 80
    packed[(_| |-)]ice¦s = 174
    packed[(_| |-)]ice[(_| |-)]<block> = 174
 
try
if player has 32 of snow
not working
[doublepost=1545138263,1545138199][/doublepost]
Check in your alias.sk if at line ~1000 snow is set.
In my config it looks like this:
code_language.skript:
    # -- snow & ice --
    snow[(_| |-)]layer¦s = 78
    ice¦s @- = 79
    ice[(_| |-)]<block> @an = 79
    snow = 80
    snow[(_| |-)]<block> = 80
    packed[(_| |-)]ice¦s = 174
    packed[(_| |-)]ice[(_| |-)]<block> = 174
i trying this, and: Line 5: Numeric ids are not supported anymore. (script.sk, line 5: if player have 32 of 80:')
[doublepost=1545138555][/doublepost]but on 1.11 all normal =D
 
Status
Not open for further replies.