Aller au contenu

Px_MgeaFR

Membre
  • Compteur de contenus

    61
  • Inscription

  • Dernière visite

Messages posté(e)s par Px_MgeaFR

    Give

    Bonsoir,

    Déjà "arg 1" ou "arg-1" c'est exactement pareil 
    J'ai trouver ton erreur donc essaye 

    give 298 named "&bCasque de farm" with lore "&eVous donne des effets si l'armure complète est équipée" to arg 1
    


    Cordialement @Px_MgeaFR

  1. Bonjour, je viens de voir ta demande mais je ne peux pas te le faire car je n'ai pas mon pc mais tu peux utiliser %victim's health%

    Exemple:

    On damage:

     Send "&bVie: &f%victim's health"

    Cordialement @Px_MgeaFR

  2. J'utilise Skript pour un Serveur en 1.9 
    Quand j'utilise le "every" ça fonctionne 
     

    On damage:
    	if attacker is a player:
    		if victim is a player:
    			attacker's gamemode isn't creative
    			set {_ditance} to distance between attacker and victim
    			if {_ditance} is greater than 3.15:
    				set {_ping} to "%attacker's ping%"
    				set {_tps} to "%tps%"
    				if damage cause isn't a projectile:
    					loop all players:
    						loop-player is OP:
    							send "&4AntiCheat &f>> &c%attacker% a peut-être une reach [%{_ditance}%] [%{_ping}%]"
    					add 1 to {alertreach.%attacker's uuid%}
    					if {_ditance} is greater or equal to 4.15:
    						if {_ping} is less or equal to 75:
    						make console execute command "/tempban %attacker% 250d Triche [ AntiCheat ]"
    						clear {alertreach.%attacker's uuid%}
    						delete {alertreach.%attacker's uuid%}

     

  3. Bonjour ou bonsoir cher @MC_DevSk
    Je vais aider pour votre problème 
    Voici ce que moi j'utiliserai dans ton cas

    Information >> **** = Une tabulation ou 4 espaces
    Command /bachat [<text>]
    ****trigger:
    **** ****if arg 1 is "voleur":
    **** **** ****if player has permission "[Ta commande]":
    **** **** **** ****send "&cVous possèdez déjà ce produit"
    **** **** ****else:
    **** **** **** ****if player's balance is greater than or equal to [Ton Prix]:
    **** **** **** **** ****remove [Ton Prix] from player's balance 
    **** **** **** **** ****make console execute command "/manuadd %player% voleur"
    **** **** **** **** ****send "&bVous êtes desormais &2Voleur"
    **** **** **** **** else:
    **** **** **** **** ****send "&bVous n'avez pas l'argent requis"

  4. Il y a 4 heures, dup_62 a dit :
    
    options:
    	pr : &f[&6Hikabrain&f]
    	
    on right click with sponge:
    	if name of tool is "&fVotre couleur?":
    	make player execute command "/hikabrain couleur"
    	cancel event
    	
    	
    on right click with double plant:
    	if name of tool is "&cQuitter l'hikabrain":
    	make player execute command "/hikabrain quit"
    	cancel event
    		
    command /sethbo:
    	permission: hikabrainorange.sk
    	permission message: &cErreur &f> &cVous n'avez pas accès à cette commande!
    	trigger:
    		wait 3 ticks
    		set {hikabrain.oranges} to player's location
    		send "&f[&6Hikabrain&f] &cVotre spawn d'hikabrain &6Orange &ca bien été mit"
    		
    		
    command /sethbv:
    	permission: hikabrainvert.sk
    	permission message: &cErreur &f> &cVous n'avez pas accès à cette commande!
    	trigger:
    		wait 3 ticks
    		set {hikabrain.verts} to player's location
    		send "&f[&6Hikabrain&f] &cVotre spawn d'hikabrain &2Vert &ca bien été mit"
    		
    		
    command /sethbs:
    	permission: hikabrainspawn.sk
    	permission message: &cErreur &f> &cVous n'avez pas accès à cette commande!
    	trigger:
    		wait 3 ticks
    		set {hikabrain.spawns} to player's location
    		send "&f[&6Hikabrain&f] &cVotre spawn &4d'attente &cd'hikabrain a bien été mit"
    
    command /hikabrain [<text>] [<player>] [<player>]:
    	trigger:
    		if player's world is "Hikabrain":
    			if arg 1 is "join":
    				add 1 to {player.count}
    				make console execute command "/broadcast &b%player% vient rejoint l'hikabrain ! &a[%{player.count}%]"
    				teleport player to {hikabrain.spawns}
    				set slot 0 of player to a 19:1 named "&fVotre couleur ?&f"
    				set slot 8 of player to a 175:3 named "&cQuitter l'hikabrain"
    				set block at location -171 , 11 , -14 "hikabrain" to stone slab
    				set block at location -172 , 11 , -14 "hikabrain" to stone slab
    				set block at location -173 , 11 , -14 "hikabrain" to stone slab
    				set block at location -174 , 11 , -15 "hikabrain" to stone slab
    				set block at location -174 , 11 , -16 "hikabrain" to stone slab
    				set block at location -174 , 11 , -17 "hikabrain" to stone slab
    				set block at location -171 , 11 , -18 "hikabrain" to stone slab
    				set block at location -172 , 11 , -18 "hikabrain" to stone slab
    				set block at location -173 , 11 , -18 "hikabrain" to stone slab
    				set block at location -231 , 11 , -18 "hikabrain" to stone slab
    				set block at location -230 , 11 , -18 "hikabrain" to stone slab
    				set block at location -229 , 11 , -18 "hikabrain" to stone slab
    				set block at location -228 , 11 , -15 "hikabrain" to stone slab
    				set block at location -228 , 11 , -16 "hikabrain" to stone slab
    				set block at location -228 , 11 , -17 "hikabrain" to stone slab
    				set block at location -231 , 11 , -14 "hikabrain" to stone slab
    				set block at location -230 , 11 , -14 "hikabrain" to stone slab
    				set block at location -229 , 11 , -14 "hikabrain" to stone slab
    				make console execute command "/tp %arg 3% -229 10 -15"
    				make console execute command "/tp %arg 2% -171 10 -15"
    				make console execute command "/give %arg 2% iron_sword 1 knockback"
    				make console execute command "/give %arg 3% iron_sword 1 knockback"
    				make console execute command "/give %arg 2% 322 64"
    				make console execute command "/give %arg 3% 322 64"
    				make console execute command "/effect %arg 2% minecraft:regeneration 9999 1"
    				make console execute command "/effect %arg 3% minecraft:regeneration 9999 1"
    				make console execute command "/broadcast &cLa partie commencera quand 15 secondes"
    				wait 15 seconds
    				set block at location -171 , 11 , -14 "hikabrain" to air
    				set block at location -172 , 11 , -14 "hikabrain" to air
    				set block at location -173 , 11 , -14 "hikabrain" to air
    				set block at location -174 , 11 , -15 "hikabrain" to air
    				set block at location -174 , 11 , -16 "hikabrain" to air
    				set block at location -174 , 11 , -17 "hikabrain" to air
    				set block at location -171 , 11 , -18 "hikabrain" to air
    				set block at location -172 , 11 , -18 "hikabrain" to air
    				set block at location -173 , 11 , -18 "hikabrain" to air
    				set block at location -231 , 11 , -18 "hikabrain" to air
    				set block at location -230 , 11 , -18 "hikabrain" to air
    				set block at location -229 , 11 , -18 "hikabrain" to air
    				set block at location -228 , 11 , -15 "hikabrain" to air
    				set block at location -228 , 11 , -16 "hikabrain" to air
    				set block at location -228 , 11 , -17 "hikabrain" to air
    				set block at location -231 , 11 , -14 "hikabrain" to air
    				set block at location -230 , 11 , -14 "hikabrain" to air
    				set block at location -229 , 11 , -14 "hikabrain" to air
    				make console execute command "/broadcast &cLa partie commence !"
    				wait 5 minutes 
    				make console execute command "/broadcast &cLa partie se termine dans 10 minutes"
    				wait 5 minutes
    				make console execute command "/broadcast &cLa partie se termine dans 5 minutes"
    				wait 4 minutes
    				make console execute command "/broadcast cLa partie se termine dans 1 minutes"
    				wait 50 seconds 
    				make console execute command "/broadcast &cLa partie se termine dans 10 seconds"
    				wait 10 seconds
    				make console execute command "/broadcast Fin de la partie!"
    				make console execute command "/tp %arg 3% -192 15 -17"
    				make console execute command "/tp %arg 4% -192 15 -17"
    			if arg 1 is "quit":
    				remove 1 from {player.count}
    				make console execute command "/broadcast &b%player% vient de quitter l'hikabrain ! &c[%{player.count}%]"
    			if arg 1 is "remove":
    				delete {player.count}
    				send "&f[&6Hikabrain&f] &cLe compteur des joueurs ont bien été reset"
    			if arg 1 is "orange":
    				wait 1 seconds 
    				teleport player to {hikabrain.orange}
    			if arg 1 is "vert":
    				wait 3 seconds
    				teleport player to {hikabrain.orange}
    			if arg 1 is "pointo":
    				add 1 to {point.orange}
    				make console execute command "/broadcast &cLe &6Orange &cvient de marquer un point ! &b[%{point.orange}%]"
    				set block at location -171 , 11 , -14 "hikabrain" to stone slab
    				set block at location -172 , 11 , -14 "hikabrain" to stone slab
    				set block at location -173 , 11 , -14 "hikabrain" to stone slab
    				set block at location -174 , 11 , -15 "hikabrain" to stone slab
    				set block at location -174 , 11 , -16 "hikabrain" to stone slab
    				set block at location -174 , 11 , -17 "hikabrain" to stone slab
    				set block at location -171 , 11 , -18 "hikabrain" to stone slab
    				set block at location -172 , 11 , -18 "hikabrain" to stone slab
    				set block at location -173 , 11 , -18 "hikabrain" to stone slab
    				set block at location -231 , 11 , -18 "hikabrain" to stone slab
    				set block at location -230 , 11 , -18 "hikabrain" to stone slab
    				set block at location -229 , 11 , -18 "hikabrain" to stone slab
    				set block at location -228 , 11 , -15 "hikabrain" to stone slab
    				set block at location -228 , 11 , -16 "hikabrain" to stone slab
    				set block at location -228 , 11 , -17 "hikabrain" to stone slab
    				set block at location -231 , 11 , -14 "hikabrain" to stone slab
    				set block at location -230 , 11 , -14 "hikabrain" to stone slab
    				set block at location -229 , 11 , -14 "hikabrain" to stone slab
    				make console execute command "/tp %arg 3% -229 10 -15"
    				make console execute command "/tp %arg 2% -171 10 -15"
    				make console execute command "/clear %arg 2%"
    				make console execute command "/clear %arg 3%"
    				make console execute command "/give %arg 2% iron_sword 1 knockback"
    				make console execute command "/give %arg 3% iron_sword 1 knockback"
    				make console execute command "/give %arg 2% 322 64"
    				make console execute command "/give %arg 3% 322 64"
    				wait 10 seconds
    				set block at location -171 , 11 , -14 "hikabrain" to air
    				set block at location -172 , 11 , -14 "hikabrain" to air
    				set block at location -173 , 11 , -14 "hikabrain" to air
    				set block at location -174 , 11 , -15 "hikabrain" to air
    				set block at location -174 , 11 , -16 "hikabrain" to air
    				set block at location -174 , 11 , -17 "hikabrain" to air
    				set block at location -171 , 11 , -18 "hikabrain" to air
    				set block at location -172 , 11 , -18 "hikabrain" to air
    				set block at location -173 , 11 , -18 "hikabrain" to air
    				set block at location -231 , 11 , -18 "hikabrain" to air
    				set block at location -230 , 11 , -18 "hikabrain" to air
    				set block at location -229 , 11 , -18 "hikabrain" to air
    				set block at location -228 , 11 , -15 "hikabrain" to air
    				set block at location -228 , 11 , -16 "hikabrain" to air
    				set block at location -228 , 11 , -17 "hikabrain" to air
    				set block at location -231 , 11 , -14 "hikabrain" to air
    				set block at location -230 , 11 , -14 "hikabrain" to air
    				set block at location -229 , 11 , -14 "hikabrain" to air
    				make console execute command "/broadcast &cLa partie reprend"
    			if arg 1 is "pointv":
    				add 1 to {point.vert}
    				make console execute command "/broadcast &cLe &6Orange &cvient de marquer un point ! &b[%{point.vert}%]"
    				set block at location -171 , 11 , -14 "hikabrain" to stone slab
    				set block at location -172 , 11 , -14 "hikabrain" to stone slab
    				set block at location -173 , 11 , -14 "hikabrain" to stone slab
    				set block at location -174 , 11 , -15 "hikabrain" to stone slab
    				set block at location -174 , 11 , -16 "hikabrain" to stone slab
    				set block at location -174 , 11 , -17 "hikabrain" to stone slab
    				set block at location -171 , 11 , -18 "hikabrain" to stone slab
    				set block at location -172 , 11 , -18 "hikabrain" to stone slab
    				set block at location -173 , 11 , -18 "hikabrain" to stone slab
    				set block at location -231 , 11 , -18 "hikabrain" to stone slab
    				set block at location -230 , 11 , -18 "hikabrain" to stone slab
    				set block at location -229 , 11 , -18 "hikabrain" to stone slab
    				set block at location -228 , 11 , -15 "hikabrain" to stone slab
    				set block at location -228 , 11 , -16 "hikabrain" to stone slab
    				set block at location -228 , 11 , -17 "hikabrain" to stone slab
    				set block at location -231 , 11 , -14 "hikabrain" to stone slab
    				set block at location -230 , 11 , -14 "hikabrain" to stone slab
    				set block at location -229 , 11 , -14 "hikabrain" to stone slab
    				make console execute command "/tp %arg 3% -229 10 -15"
    				make console execute command "/tp %arg 2% -171 10 -15"
    				make console execute command "/clear %arg 2%"
    				make console execute command "/clear %arg 3%"
    				make console execute command "/give %arg 2% iron_sword 1 knockback"
    				make console execute command "/give %arg 3% iron_sword 1 knockback"
    				make console execute command "/give %arg 2% 322 64"
    				make console execute command "/give %arg 3% 322 64"
    				wait 10 seconds
    				set block at location -171 , 11 , -14 "hikabrain" to air
    				set block at location -172 , 11 , -14 "hikabrain" to air
    				set block at location -173 , 11 , -14 "hikabrain" to air
    				set block at location -174 , 11 , -15 "hikabrain" to air
    				set block at location -174 , 11 , -16 "hikabrain" to air
    				set block at location -174 , 11 , -17 "hikabrain" to air
    				set block at location -171 , 11 , -18 "hikabrain" to air
    				set block at location -172 , 11 , -18 "hikabrain" to air
    				set block at location -173 , 11 , -18 "hikabrain" to air
    				set block at location -231 , 11 , -18 "hikabrain" to air
    				set block at location -230 , 11 , -18 "hikabrain" to air
    				set block at location -229 , 11 , -18 "hikabrain" to air
    				set block at location -228 , 11 , -15 "hikabrain" to air
    				set block at location -228 , 11 , -16 "hikabrain" to air
    				set block at location -228 , 11 , -17 "hikabrain" to air
    				set block at location -231 , 11 , -14 "hikabrain" to air
    				set block at location -230 , 11 , -14 "hikabrain" to air
    				set block at location -229 , 11 , -14 "hikabrain" to air
    				make console execute command "/broadcast &cLa partie reprend"

    Essaie cette correction 

    Dans le codage que tu m'as donné il y a 2 erreurs alors que dans le mienne 1 seul erreur !

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