Aller au contenu
  • 0

aide metier


Question

Posté(e)

Bonjour j'aurais besoin d'aide pour un skript que si la personne meurt sa vérifie si il est {taxi} et si il est taxi sa enleve 1 a {taxi}

 

command /metier <text> [<player>] [<text>] [<text>]:
  trigger:
    if arg 1 is "taxi":
      if {taxiban.%player%} is "deban":
        if {taxi} is 2:
          send "[Metier] il a trop de joueur en taxi"
        else:
          add 1 to {taxi}
          send "[Metier] teleportation dans 5 seconds"
          wait 5 real second
          make console execute command "manuadd %player% taxi"
          make console execute command "spawn %player%"
          make console execute command "clear %player%"
          make console execute command "kit taxi %player%"
      else:
        send "[Metier] Tu a été ban du metier taxi"

4 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Bonsoir, essaye ça:

 

command /metier <text> [<player>] [<text>] [<text>]:
trigger:
	if arg 1 is "taxi":
		if {taxiban.%player%} is "deban":
			if {taxi} is 2:
				send "[Metier] il a trop de joueur en taxi"
			else:
				add 1 to {taxi}
				set {metier.%player%} to "TAXI"
				send "[Metier] teleportation dans 5 seconds"
				wait 5 real second
				make console execute command "manuadd %player% taxi"
				make console execute command "spawn %player%"
				make console execute command "clear %player%"
				make console execute command "kit taxi %player%"
		else:
			send "[Metier] Tu a été ban du metier taxi"

On death of player:
if {metier.%player%} = "TAXI":
	subtract 1 from {taxi}
	reset {metier.%player%}

  • J'aime 1
×
×
  • 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.