Solved SKquerry moving items disable

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

Kolombooo

Active Member
Dec 3, 2020
51
3
8
Hey,

how do i prevent players form moving items into the skquery gui?

Thanks for help
 
1 version
Code:
on intentory click:
  if player's gui name is "&aExample":
    cancel event
2 version
Code:
on inventory click:
  if event-item is "&aItem":
    cancel event
 
1 version
Code:
on intentory click:
  if player's gui name is "&aExample":
    cancel event
2 version
Code:
on inventory click:
  if event-item is "&aItem":
    cancel event

Not working.
Code:
[ERROR] Can't compare 'player's gui name' with a text (help.sk, line 16: if player's gui name is "&6&lNapove&e&lda":')
 
Status
Not open for further replies.