Aller au contenu
  • 0

[Cosmétique] Skin custom


Question

Posté(e)

Skript version : 2.2

Serveur version: Bukkit 1.9

Bonjour,

Je voudrais pouvoir grâce à la commande /skin, changer le skin du joueur en un skin désiré ! J'ai cherché longuement sur les forums et MundoSk est sorti à mainte reprises.

Cependant, quand j'essaye l'effet :

set player's display skin to "%arg-1%"

La console m'affiche "can't understand this event..."

Voici, l’entièreté de mes addons :

image.png.32a0b8baaf14fb9c955e5bcbd264381f.png

 

7 réponses à cette question

Messages recommandés

  • 0
Posté(e)
Il y a 3 heures, geforce a dit :

Skript version : 2.2

Serveur version: Bukkit 1.9

Bonjour,

Je voudrais pouvoir grâce à la commande /skin, changer le skin du joueur en un skin désiré ! J'ai cherché longuement sur les forums et MundoSk est sorti à mainte reprises.

Cependant, quand j'essaye l'effet :


set player's display skin to "%arg-1%"

La console m'affiche "can't understand this event..."

Voici, l’entièreté de mes addons :

image.png.32a0b8baaf14fb9c955e5bcbd264381f.png

 

alors en premier, il faut spigot 1.9, enlève bukkit 1.9

puis enlève skquery, car skquery-lime c'est la même chose mais en bien mieux 

ensuite pour ce que tu veux faire https://skripthub.net/docs/?id=1750

regarde les exemples qui sont donné dans le lien (view exemple)

  • 0
Posté(e)
command /skin [<text>]:
    trigger:
        if arg 1 is set:
            set player's display skin to "%arg-1%"'s skin
            message "&6[skin] &fVotre Skin à été rajouté avec succès !

 

  • 0
Posté(e) (modifié)
il y a 1 minute, geforce a dit :

command /skin [<text>]:
    trigger:
        if arg 1 is set:
            set player's display skin to "%arg-1%"'s skin
            message "&6[skin] &fVotre Skin à été rajouté avec succès !

 

Non le nouveau code, celui qui utilise ce que je t'ai envoyé (et qui ne marche toujours pas)

Modifié par uiytt
  • 0
Posté(e)
[12:16:33 ERROR]: Can't understand this condition/effect: set player's display skin to "%arg-1%"'s skin (Pose´don.sk, line 37: set player's display skin to "%arg-1%"'s skin')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's display skin to "%player%" (Pose´don.sk, line 40: set player's display skin to "%player%"')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's default displayed skin to alex (Pose´don.sk, line 44: set player's default displayed skin to alex#All players now see the skin as alex')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's displayed skin to steve for {_p1} (Pose´don.sk, line 45: set player's displayed skin to steve for {_p1}#{_p1} now sees the skin as steve')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's default displayed skin to {_p2}'s skin (Pose´don.sk, line 46: set player's default displayed skin to {_p2}'s skin#All players except for {_p1} now see the nametag as {_p2}'s skin')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's displayed skin to {_p3}'s skin (Pose´don.sk, line 47: set player's displayed skin to {_p3}'s skin#All players (including {_p1}) now see the skin as {_p3}'s skin')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's default displayed skin to steve (Pose´don.sk, line 50: set player's default displayed skin to steve#All players now see the skin as steve')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's displayed skin excluding {_p1} to alex (Pose´don.sk, line 51: set player's displayed skin excluding {_p1} to alex#All players except for {_p1} now see the skin as alex')
[12:16:33 ERROR]: Can't understand this condition/effect: reset player's default displayed skin (Pose´don.sk, line 52: reset player's default displayed skin#All players except for {_p1} now see the skin as the player's actual skin')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's default displayed skin to {_p3}'s skin (Pose´don.sk, line 53: set player's default displayed skin to {_p3}'s skin#All players except for {_p1} now see the skin as {_p3}'s skin')
[12:16:33 ERROR]: Can't understand this condition/effect: reset player's displayed skin for {_p1} (Pose´don.sk, line 54: reset player's displayed skin for {_p1}#{_p1} now sees the skin as {_p3}'s skin')
[12:16:33 ERROR]: Can't understand this condition/effect: set player's displayed skin to {_p4}'s skin for {_p1} (Pose´don.sk, line 55: set player's displayed skin to {_p4}'s skin for {_p1}#{_p1} now sees the skin as {_p4}'s skin')
[12:16:33 ERROR]: Can't understand this condition/effect: reset player's displayed skin (Pose´don.sk, line 56: reset player's displayed skin#All players (including {_p1}) now see the skin as the player's actual skin')

Les messages d'erreurs ! et voilà le code qui ne fonctionne vraisemblablement pas :

function yolo(p: player, p2: player, p3:player, p4: player):
	set player's default displayed skin to alex #All players now see the skin as alex
	set player's displayed skin to steve for {_p1} #{_p1} now sees the skin as steve
	set player's default displayed skin to {_p2}'s skin #All players except for {_p1} now see the nametag as {_p2}'s skin
	set player's displayed skin to {_p3}'s skin #All players (including {_p1}) now see the skin as {_p3}'s skin

	#Example 2
	set player's default displayed skin to steve #All players now see the skin as steve
	set player's displayed skin excluding {_p1} to alex #All players except for {_p1} now see the skin as alex
	reset player's default displayed skin #All players except for {_p1} now see the skin as the player's actual skin
	set player's default displayed skin to {_p3}'s skin #All players except for {_p1} now see the skin as {_p3}'s skin
	reset player's displayed skin for {_p1} #{_p1} now sees the skin as {_p3}'s skin
	set player's displayed skin to {_p4}'s skin for {_p1} #{_p1} now sees the skin as {_p4}'s skin
	reset player's displayed skin #All players (including {_p1}) now see the skin as the player's actual skin

 

Invité
Ce sujet ne peut plus recevoir de nouvelles réponses.
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.