JorisDjo Posté(e) le 13 janvier 2016 Posté(e) le 13 janvier 2016 Bonjour j'ai essayer de faire un script pour un tout nouveau jeu que j'ai inventé... le script est bon en lui même mais je cherche a ce que le joueur sois dans un certain monde pour pouvoir entrer la commande... malheureusement je ne trouve pas comment faire, et a force d'essayer n’importe quoi j'arrive avec plus d’erreurs qu'au début!... Si quelqu'un se sent capable d’essayer de corriger mes erreurs je lui serais grandement reconnaissant... Merci d'avance . voici le code du script : #========================================================================= #Sript Random-Box created by JorisDjo for the server "Evocity" #Merci a ceux qui essayerais de voler mon scrit de me citer en sources... #========================================================================= command /box: world of player is "{@pvpbox}": player has permission "pb.joueur": trigger: chance of 50%: make player execute command "/kit Soldat" stop chance of 50%: make player execute command "/kit Archer" stop player has permission "pb.vip": trigger: chance of 25%: make player execute command "/kit Mage" stop chance of 25% make player execute command "/kit Sorcier" stop chance of 25%: make player execute command "/kit Tank" stop chance of 25%: make player execute command "/kit Archer2" stop chance of 18.75%: make player execute command "/kit Spiddy" stop chance of 6.25%: make player execute command "/kit Pupute" stop
Nashoba Posté(e) le 13 janvier 2016 Posté(e) le 13 janvier 2016 J'ai pas testé mais je pense que c'est bon: command /box: tirgger: world of player is "%{@pvpbox}%": player has permission "pb.joueur": chance of 50%: make player execute command "/kit Soldat" stop chance of 50%: make player execute command "/kit Archer" stop player has permission "pb.vip": chance of 25%: make player execute command "/kit Mage" stop chance of 25% make player execute command "/kit Sorcier" stop chance of 25%: make player execute command "/kit Tank" stop chance of 25%: make player execute command "/kit Archer2" stop chance of 18.75%: make player execute command "/kit Spiddy" stop chance of 6.25%: make player execute command "/kit Pupute" stop
ExtraCreep Posté(e) le 13 janvier 2016 Posté(e) le 13 janvier 2016 le script est bon en lui même mais je cherche a ce que le joueur sois dans un certain monde pour pouvoir entrer la commande... if player is in "TON WORLD": #TON CODE else: execute player command "/grfgerthresqfgdffedsf"
Messages recommandés