Aller au contenu
  • 0

Probleme avec mon skript


Question

Posté(e)

on rightclick on player with a 4182:
  open chest with 1 row named "&9MenuPolice" to player
  wait 3 tick
  format slot 3 of player with 4212 named "&6Mettre une amende" to run [make player execute command "/menuamende"]
  format slot 5 of player with 0197 named "&8Mettre en prison" to run [make player execute command "menuprison"]




command /menuamende:
  trigger:
    open chest with 1 rows named "&4Amende" to player
    wait 1 tick
    format slot 0 of player with blue stained glass pane named "&cRien.." to be unstealable
    format slot 1 of player with white stained glass pane named "&cRien.." to be unstealable
    format slot 2 of player with red stained glass pane named "&cRien.." to be unstealable
    format slot 3 of player with 6255 named "&8Civil" to run [make player execute command "/menuamendecivil"]
    format slot 4 of player with pink stained glass pane named "&cRien.." to be unstealable
    format slot 5 of player with 6141 named "&cRebelle" to run [make player execute command "/menuamenderebelle"]
    format slot 6 of player with red stained glass pane named "&cRien.." to be unstealable
    format slot 7 of player with white stained glass pane named "&cRien.." to be unstealable
    format slot 8 of player with blue stained glass pane named "&cRien.." to be unstealable

command /menuamendecivil:
  trigger:
    open chest with 5 rows named "&4AmendeCivil" to player
    wait 1 tick
    format slot 0 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 1 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 2 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 3 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 4 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 5 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 6 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 7 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 8 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 9 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 10 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 12 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 14 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 16 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 17 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 18 of player with light grays tained glass pane named "&cRien.." to be unstealable
    format slot 20 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 21 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 23 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 24 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 26 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 27 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 28 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 30 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 31 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 32 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 34 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 35 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 37 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 38 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 39 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 41 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 43 of player with light gray stained glass pane named "&cRien.." to be unstealable
    format slot 40 of player with 1199 named "&7Revenir en arriere" to run [make player execute command "/menuamende"]
    format slot 2  of player with 5657 named "&eVol de Voiture &830 000€" to run [make player execute command "/choix1"]
    format slot 4 of player with 4121 named "&2Possession de stupéfiants &815 000€" to run [make player execute command "/amende15000"]
    format slot 6 of player with 4216 named "&1Possession de tenu illégale 25 000€" to run [make player execute command "/amende25000"]
    format slot 12 of player with 4217 named "&9Arme sans licence 750€" to run [make player execute command "/amende750"]
    format slot 14 of player with 0467 named "&cHomicide volontaire &870 000€" to run [make player execute command "/amende70000"]
    format slot 16 of player with 5435 named "&4Possession arme illégale 10 000€" to run [make player execute command "/amende10000"]
    format slot 20 of player with 4175 named "&9Attaque douane &825 000€" to run [make player execute command "/amende25000"]
    format slot 22 of player with 4234 named "&3Braquage sur personne &820 000€" to run [make player execute command "/amende25000"]
    format slot 24 of player with 4150 named "&5Tentative de corruption &810 000€" to run [make player execute command "/amendes10000"]
    format slot 30 of player with 4211 named "&7aNon possession permis conduire 10 000€" to run [make player execute command "/amendess10000"]
    format slot 32 of player with 5481 named "&bDélit de fuite 7 500€" to run [make player execute command "/amende7500"]
    format slot 34 of player with 0266 named "&1Braquage de banque 100 000€" to run [make player execute command "/amende100000€"]
    format slot 36 of player with 4215 named "&2Possession de minerais sans permis 3 500€" to run [make player execute command "/amendes3500"]


command /choix1:
  trigger:
    open chest with 1 rows named "&a&lFaite le bon choix" to player
    wait 1 tick    
    format slot 3 of player with 35:5 named "&a&lPayer l'amende de 30 000€" to close then run [make player execute command "/%player% confirm1 "]
    format slot 5 of player with 35:14 named "&4&lRefuser l'amende de 30 000€" to close then run [make player execute command "/refuser1 %player%"]


command /choix1:
  trigger:
    execute player command "§confirm1"


command /§confirm1:
  trigger:
    make console execute command "eco take %player% 30000"
    make console execute command "confirm %player%"
    make console execute command "msg %player% tu a payé l'amende de 30 000€"

 

 

 

 

Voila mon probleme c'est que quand je click droit sur le joueur je vais dans amende je vais dans vol de voiture je click je veux que c'est la ou j'ai clické dessus qui recois le gui pas nous qui le recevrons qui peut m'aide au plus vite pour plus infos venais via skype : jul84510

9 réponses à cette question

Messages recommandés

  • 0
Posté(e)

Alors d'abord met ton code entre balises ! Parceque là c'est illisible, ensuite met un titre plus compréhensible et formule clairement ce qui ne marche pas ! Fait un effort sinon personne ne va t'aider

  • J'aime 1
  • 0
Posté(e)
Alors d'abord met ton code entre balises ! Parceque là c'est illisible, ensuite met un titre plus compréhensible et formule clairement ce qui ne marche pas ! Fait un effort sinon personne ne va t'aider

d'accord mais je voulais juste la ligne de skript pour executé le menu a l'autrepersonne

  • 0
Posté(e)
au pire pouvais vous me contacté skype on je vous expliquerais mieu

Salut !

Le but d'un forum c'est discuter, pas de dire après 4 messages "Passez Skype".... Sinon Le forum ne sert pas à grand choses....

Et puis, pour qu'on puisse t'aider:

-Titre explicatif (Donc en l’occurrence c'est pas ton cas...)

-Code entre balises (ça oui)

-Les erreurs [screen/Entre balise] (Beh non plus... Donc on sait pas qu'est-ce qui foire)

-Vérifier un minimum l'orthographe (En plus il y a un correcteur intégré sérieux... Et y'a un gars qui à pensé à la ponctuation aussi...)

-Expliquer CLAIREMENT Ce que tu souhaites faire et qui ne fonctionne pas (Ton explication est pas très claire)

 

Sans ça, pas grand monde saura t'aider...

Dooonc, tu édite ta demande et là, tu aura + de réponses.

parce que là, autant le crier à ta fenêtre , ça fait le même effet...

 

Sur ce, bonne journée en éspérant que tu aura de l'aide :)

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.