on rightclick with sugar Cane:
If player is holding a sugar Cane named "&2&lCANABIS&r":
apply speed 3 to player for 3 minutes
apply confusion 1 to player for 1 minutes
clear 1 sugar Cane named "&2&lCANABIS" from The player
play raw sound "random.eat" at player with pitch 1 volume 10
Mais mon pb c'est le clear voici l'erreur :
[16:33:44 ERROR]: [skript] '"&2&lCANABIS" from The player' is not a text (SkDrogue.sk, line 24: clear 1 sugar Cane named "&2&lCANABIS" from The player')
[16:33:45 INFO]: [skript] Loaded 1 script with a total of 2 triggers and 0 commands in 0.36 seconds
[16:33:45 INFO]: [skript] Finished loading.
[16:33:45 INFO]: [skript] Checking for the latest version of Skript...
[16:33:45 INFO]: Checking for updates via Spigot...
[16:33:46 INFO]: [skript] You're currently running the latest stable version of Skript.
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.
Question
JiingoPvp
Voici mon code :
Mais mon pb c'est le clear voici l'erreur :
8 réponses à cette question
Messages recommandés