im getting types.barflag

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

dankmemes

Member
Jan 27, 2019
15
0
1
24
Code:
    format gui slot 21 of {_p} with arrow named "&6&lLazzer Rounds" with lore "Items &c&lNeeded&7" and "&625 &6&lMetal Frags" and "&65 &6&lExplosives" to run:
        if players's inventory contains 25 iron ingot named "&6&lMetal Frags" and 5 clay named "&6&lExplosives":
            remove 25 iron ingot named "&6&lMetal Frags" and 5 clay named "&6&lExplosives" from player's inventory
            add 5 arrow named "&6&lLazzer Rounds" to player's inventory
            message "&4&lCrafting"
[doublepost=1548907831,1548906142][/doublepost]after reloading it its find but after reloading it to fix thing it pop-ups again
[doublepost=1548910152][/doublepost]fix by not using clay
 
I would prefere using set slot and then on inventory click, tho if you want to use "Format slot" Its:
Code:
Format slot 10 of player with stone named "Test" to run [send "Ok" to player]
not
Code:
Format slot 10 of player with stone named "Test" to run:
  send "Ok" to player
[doublepost=1548956243,1548956168][/doublepost]Or you could do:
Code:
Format slot 10 of player with stone named "Test" to run [make player execute command "/test"]

command /test:
  trigger:
    send "OK"
 
I would prefere using set slot and then on inventory click, tho if you want to use "Format slot" Its:
Code:
Format slot 10 of player with stone named "Test" to run [send "Ok" to player]
not
Code:
Format slot 10 of player with stone named "Test" to run:
  send "Ok" to player
[doublepost=1548956243,1548956168][/doublepost]Or you could do:
Code:
Format slot 10 of player with stone named "Test" to run [make player execute command "/test"]

command /test:
  trigger:
    send "OK"
The format slot he was using was from tuske not SkQuery.
 
Oh, In fact, it would be a smart idea if you specified what you used for the Script @dankmemes ...
[doublepost=1548966130,1548966030][/doublepost]And using english would help us a lot
 
Status
Not open for further replies.