Aller au contenu
  • 0

Aide skript Métiers comme palladium


Question

Posté(e)

Bonjour j'ai fait un skript de Métiers comme Palladium mais je rencontre quelques érreurs sur mon skript

Le plugin skript m'affiche rien en érreurs mais quand je casse un block (obsidienne par exemple) je ne reçois pas les xp dans le métier (mineur par exemple)  pourtant le message s'envoie bien 

command /job:
	trigger:
		send "&a[&3Bucheron&a] &a[&3Niv &a: &3%{lvlb.%player%}%  &f: &3%{xpb.%player%}%&a/&35000" to player
		send "&a[&3Mineur&a] &a[&3Niv &a: &3%{lvlm.%player%}% &f: &3%{xpm.%player%}%&a/&35000" to player
		send "&a[&3Chasseur&a] &a[&3Niv &a: &3%{lvlh.%player%}% &f: &3%{xph.%player%}%&a/&35000" to player
		send "&a[&3Farmeur&a] &a[&3Niv &a: &3%{lvlf.%player%}% &f: &3%{xpf.%player%}%&a/&35000" to player

on break of oak wood:
	send "&a[&3Bucheron&a] &3+ &a3 &3xp"
	add 3 to {xpb.%player%}
	if {xpb.%player%} is greater than 4999:
		add 1 to {lvlb.%player%}
		wait 2 ticks
		set {xpb.%player%} to "0"

on break of diamond ore:
	send "&a[&3Mineur&a] &3+ &a5 &3xp"
	add 5 to {xpm.%player%}
	if {xpm.%player%} is greater than 4999:
		add 1 to {lvlm.%player%}
		wait 2 ticks
		set {xpm.%player%} to "0"

on break of emerald ore:
	send "&a[&3Mineur&a] &3+ &a10 &3xp"
	add 10 to {xpm.%player%}
	if {xpm.%player%} > 4999:
		add 1 to {lvlm.%player%}
		wait 2 ticks
		set {xpm.%player%} to "0"

on break of obsidian:
	send "&a[&3Mineur&a] &3+ &a15 &3xp"
	add 15 to {xpm.%player%}
	if {xpm.%player%} is greater than 4999:
		add 1 to {lvlm.%player%}
		wait 2 ticks
		set {xpm.%player%} to "0"

on break of melon:
	send "&a[&3Farmeur&a] &3+ &a15 &3xp"
	add 5 to {xpm.%player%}
	if {xpf.%player%} > 4999:
		add 1 to {lvlf.%player%}
		wait 2 ticks
		set {xpf.%player%} to "0"
		
on break of pumpkin:
	send "&a[&3Chasseur&a] &3+ &a15 &3xp"
	add 5 to {xph.%player%}
	if {xph.%player%} is greater than 4999:
		add 1 to {lvlh.%player%}
		wait 2 ticks
		set {xph.%player%} to 0

 

help.PNG

6 réponses à cette question

Messages recommandés

  • 0
Posté(e)
il y a 56 minutes, aaedaeefa a dit :

Bonjour j'ai fait un skript de Métiers comme Palladium mais je rencontre quelques érreurs sur mon skript

Le plugin skript m'affiche rien en érreurs mais quand je casse un block (obsidienne par exemple) je ne reçois pas les xp dans le métier (mineur par exemple)  pourtant le message s'envoie bien 


command /job:
	trigger:
		send "&a[&3Bucheron&a] &a[&3Niv &a: &3%{lvlb.%player%}%  &f: &3%{xpb.%player%}%&a/&35000" to player
		send "&a[&3Mineur&a] &a[&3Niv &a: &3%{lvlm.%player%}% &f: &3%{xpm.%player%}%&a/&35000" to player
		send "&a[&3Chasseur&a] &a[&3Niv &a: &3%{lvlh.%player%}% &f: &3%{xph.%player%}%&a/&35000" to player
		send "&a[&3Farmeur&a] &a[&3Niv &a: &3%{lvlf.%player%}% &f: &3%{xpf.%player%}%&a/&35000" to player

on break of oak wood:
	send "&a[&3Bucheron&a] &3+ &a3 &3xp"
	add 3 to {xpb.%player%}
	if {xpb.%player%} is greater than 4999:
		add 1 to {lvlb.%player%}
		wait 2 ticks
		set {xpb.%player%} to "0"

on break of diamond ore:
	send "&a[&3Mineur&a] &3+ &a5 &3xp"
	add 5 to {xpm.%player%}
	if {xpm.%player%} is greater than 4999:
		add 1 to {lvlm.%player%}
		wait 2 ticks
		set {xpm.%player%} to "0"

on break of emerald ore:
	send "&a[&3Mineur&a] &3+ &a10 &3xp"
	add 10 to {xpm.%player%}
	if {xpm.%player%} > 4999:
		add 1 to {lvlm.%player%}
		wait 2 ticks
		set {xpm.%player%} to "0"

on break of obsidian:
	send "&a[&3Mineur&a] &3+ &a15 &3xp"
	add 15 to {xpm.%player%}
	if {xpm.%player%} is greater than 4999:
		add 1 to {lvlm.%player%}
		wait 2 ticks
		set {xpm.%player%} to "0"

on break of melon:
	send "&a[&3Farmeur&a] &3+ &a15 &3xp"
	add 5 to {xpm.%player%}
	if {xpf.%player%} > 4999:
		add 1 to {lvlf.%player%}
		wait 2 ticks
		set {xpf.%player%} to "0"
		
on break of pumpkin:
	send "&a[&3Chasseur&a] &3+ &a15 &3xp"
	add 5 to {xph.%player%}
	if {xph.%player%} is greater than 4999:
		add 1 to {lvlh.%player%}
		wait 2 ticks
		set {xph.%player%} to 0

 

help.PNG

Version skript (/ver skript) et version mc 

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.