Aller au contenu

Nosios Games

Membre
  • Compteur de contenus

    97
  • Inscription

  • Dernière visite

Tout ce qui a été posté par Nosios Games

  1. je trouve pas les erreurs dsl mais au moins sa marche
  2. Bah je sais pas trop mais sa marche je vais bosser dessus
  3. on load: loop {pet.listesi::*}: kill loop-value on disconnect: "%{pet.listesi::*}%" contains "%{pet.%player%}%": kill {pet.%player%} delete {pet.%player%} remove {pet.%player%} from {pet.listesi::*} command /pet [<text>]: trigger: arg 1 is "iremove": "%{pet.listesi::*}%" contains "%{pet.%player%}%": kill {pet.%player%} delete {pet.%player%} remove {pet.%player%} from {pet.listesi::*} else: delete {pet.%player%} stop trigger arg 1 is "icow": {pet.%player%} isn't set: spawn 1 cow at player's location set name of spawned entity to "&aVache de &e&l%player%" set {pet.%player%} to spawned entity add spawned entity to {pet.listesi::*} while {pet.%player%} is spawned entity: wait 6 tick if distance between player and last spawned entity is less than 15: make last spawned entity pathfind to player with speed 1 else if distance between player and last spawned entity is bigger than 15: teleport last spawned entity to player arg 1 is "isheep": {pet.%player%} isn't set: spawn 1 sheep at player's location set name of spawned entity to "&aMouton de &e&l%player%" set {pet.%player%} to spawned entity add spawned entity to {pet.listesi::*} while {pet.%player%} is spawned entity: wait 6 tick if distance between player and last spawned entity is less than 15: make last spawned entity pathfind to player with speed 1 else if distance between player and last spawned entity is bigger than 15: teleport last spawned entity to player arg 1 is "iwolf": {pet.%player%} isn't set: spawn 1 wolf at player's location set name of spawned entity to "&aLoup de &e&l%player%" set {pet.%player%} to spawned entity add spawned entity to {pet.listesi::*} while {pet.%player%} is spawned entity: wait 6 tick if distance between player and last spawned entity is less than 15: make last spawned entity pathfind to player with speed 1 else if distance between player and last spawned entity is bigger than 15: teleport last spawned entity to player arg 1 is "ipig": {pet.%player%} isn't set: spawn 1 pig at player's location set name of spawned entity to "&aCochon de &e&l%player%" set {pet.%player%} to spawned entity add spawned entity to {pet.listesi::*} while {pet.%player%} is spawned entity: wait 6 tick if distance between player and last spawned entity is less than 15: make last spawned entity pathfind to player with speed 1 else if distance between player and last spawned entity is bigger than 15: teleport last spawned entity to player arg 1 is "iocelot": {pet.%player%} isn't set: spawn 1 ocelot at player's location set name of spawned entity to "&aOcelot de &e&l%player%" set {pet.%player%} to spawned entity add spawned entity to {pet.listesi::*} while {pet.%player%} is spawned entity: wait 6 tick if distance between player and last spawned entity is less than 15: make last spawned entity pathfind to player with speed 1 else if distance between player and last spawned entity is bigger than 15: teleport last spawned entity to player arg 1 is "ichicken": {pet.%player%} isn't set: spawn 1 chicken at player's location set name of spawned entity to "&aPoulet de &e&l%player%" set {pet.%player%} to spawned entity add spawned entity to {pet.listesi::*} while {pet.%player%} is spawned entity: wait 6 tick if distance between player and last spawned entity is less than 15: make last spawned entity pathfind to player with speed 1 else if distance between player and last spawned entity is bigger than 15: teleport last spawned entity to player arg 1 is "ihorse": {pet.%player%} isn't set: spawn 1 horse at player's location set name of spawned entity to "&aCheval de &e&l%player%" set {pet.%player%} to spawned entity add spawned entity to {pet.listesi::*} while {pet.%player%} is spawned entity: wait 6 tick if distance between player and last spawned entity is less than 15: make last spawned entity pathfind to player with speed 1 else if distance between player and last spawned entity is bigger than 15: teleport last spawned entity to player arg 1 isn't set: wait 6 tick open chest with 1 rows named "&2Pet Menu !" to player format slot 0 of player with 383:92 named "&aVache" to close then run [make player execute command "pet icow"] format slot 1 of player with 383:91 named "&aMouton" to close then run [make player execute command "pet isheep"] format slot 2 of player with 383:90 named "&aCochon" to close then run [make player execute command "pet ipig"] format slot 3 of player with 383:93 named "&aPoulet" to close then run [make player execute command "pet ichicken"] format slot 4 of player with 383:95 named "&aLoup" to close then run [make player execute command "pet iwolf"] format slot 5 of player with 383:98 named "&aOcelot" to close then run [make player execute command "pet iocelot"] format slot 6 of player with 383:100 named "&aCheval" to close then run [make player execute command "pet ihorse"] format slot 8 of player with 166 named "&cEnlever" to close then run [make player execute command "/pet iremove"] on damage of entity: cancel event on teleport: wait 3 tick loop 4 times: wait 1 second teleport {pet.%player%} to player Dis moi juste sur quels pets veux-tu des permissions VIP ou VIP+ Et un petit merci ne serait pas de refus pour plusieurs jours de travail ! Et la commande pour avoir un pet est " /pet "
  4. Merci beaucoup , sa marche ! actuellement je crée un skript pvpbox : en fait quand on join sa nous bloc avec du verre mais le probleme ( avec le vrai setbock ) c'est que sa me le posais dans mon lobby !
  5. Simple ! on first join: send "&aBienvenue &6%player% &a! " send "&aPour parler RP fais &6/rp <ton message> &aet pour parler HRP fais &6/hrp <ton message>
  6. Salut ! Je voudrais juste une ligne de code : cela permettra de faire un sorte de /setblock dans un monde précis ( dans mon cas j'utilise un monde nommé lobby ) Svp assez urgent c'est pour un skript PVP pour bloquer les gens au spawn Merci d'avance
×
×
  • 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.