Solved Help plss :)

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

DHStyle

Member
Jan 26, 2017
58
0
6
I need help. how to make a ring slot as wynncraft. and make goods at the location of the slot 9, can not move or be moved. The first entry in the slot item 9
Sry my english so bad :emoji_slight_smile:
 
code_language.skript:
on inventory click:
    clicked slot is 9
    cancel event

Untested but it should work.
 
sc73g6.png
i mean that :emoji_grinning:
for not make the compass drop or move to other slot
 
That is slot 8. So replace 9 with 8. Also maybe try using `on drop` with the selected hot bar slot expression.
Ohh..... Y :emoji_grinning: Tq u M8.
now how to set in first join / join / death. set the item in slot 8 permanent
because in my server KeepInventory is disabled
 
Ohh..... Y :emoji_grinning: Tq u M8.
now how to set in first join / join / death. set the item in slot 8 permanent
because in my server KeepInventory is disabled
code_language.skript:
function items(p: player):
    set slot 8 of {_p} to a compass named "&4&lWhatever"
on join:
    items(player)
on death:
    items(player)
 
code_language.skript:
function items(p: player):
    set slot 8 of {_p} to a compass named "&4&lWhatever"
on join:
    items(player)
on death:
    items(player)
Waw @.@ i no understand cause i'm begginer skript.
where i go replace that.
 
You dont have to replace anything, just add them to your skript.
i mean the:
function items(p: player):
set slot 8 of {_p} to a compass named "&4&lWhatever"

Replace in On skript load: ???
 
i mean the:
function items(p: player):
set slot 8 of {_p} to a compass named "&4&lWhatever"

Replace in On skript load: ???
You don't have to put them in any of the event, its a function.
 
code_language.skript:
function items(p: player):
    set slot 8 of {_p} to a compass named "&4&lWhatever"
on join:
    items(player)
on death:
    items(player)

Works the same as

code_language.skript:
on join:
    set slot 8 of player to a compass named "&4&lWhatever"
on death:
    set slot 8 of player to a compass named "&4&lWhatever"
 
code_language.skript:
function items(p: player):
    set slot 8 of {_p} to a compass named "&4&lWhatever"
on join:
    items(player)
on death:
    items(player)

Works the same as

code_language.skript:
on join:
    set slot 8 of player to a compass named "&4&lWhatever"
on death:
    set slot 8 of player to a compass named "&4&lWhatever"

what mean the {_p}
u have sosial media ? like facebook or skype
 
Status
Not open for further replies.