dying leather chestplate - Still NOTHING!

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

BlazingFiree

New Member
Jun 16, 2017
7
0
0
Ok, So I have an error when I'm trying to dye player's chestplate

code_language.skript:
function setKit(player : Player, kit : Text):
    if {_kit} is "Rocketeer":
        set {kit::%{_player}%} to {_kit}
        set helmet of {_player} to an Iron Helmet named "§cRocketeer Helmet"
        set chestplate of {_player} to a Leather Chestplate named "§cRocketeer Chestplate"
        set leggings of {_player} to Gold Leggings named "§cRocketeer Leggings"
        set boots of {_player} to Iron Boots named "§cRocketeer Boots"
        dye {_player}'s chestplate with (94,51,41)
        set slot 0 of {_player}'s inventory to a gold sword of Sharpness 1 named "§cRocketeer Sword"
        set slot 1 of {_player}'s inventory to a fishing rod named "§cRocketeer Rod"
        set {_player}'s level to 0
        message "{@prefix} §c%{_kit}% §7was chosen." to {_player}
 
remove the "with" between "inventory" and the rgb color.
 
remove the "with" between "inventory" and the rgb color.
still... nothing
[doublepost=1502378556,1502378518][/doublepost]@Snow-Pyon
code_language.skript:
Can't understand this condition/effect: dye {_player}'s chestplate (94,51,41) (#.sk, line 82: dye {_player}'s chestplate (94,51,41)')
[doublepost=1502380214][/doublepost]The problem was the spacing It supposed to be dye {_player}'s chestplate (95, 51, 41)
 
Status
Not open for further replies.