Połączyłem sobie plugin na punkty z pluginem crackshot i mam problem bo mam zrobione, że za 15 punktów można kupić określoną broń. Problem polega na tym, że nawet jak mam 0 punktów to mi tą broń przyznaje. Macie jakieś pomysły?
Oto skrypt:
command /kup <text>: trigger: if player has permission "broniekup.vip": if arg is "gauss": execute console command "/shot give %player% gauss" execute console command "/p take %player% 15" give player 8 rose red named "&eAmunicja do Gauss" if arg is "olympia": execute console command "/shot give %player% olympia" execute console command "/p take %player% 15" give player 8 cyan dye named "&eAmunicja do Olympia" if arg is "carbine": execute console command "/shot give %player% carbine" execute console command "/p take %player% 15" give player 8 cactus green named "&eAmunicja do Carbine" if arg is "bazooka": execute console command "/shot give %player% bazooka" execute console command "/p take %player% 15" give player 2 lapis lazuli named "&eAmunicja do Bazooki" if arg is "deagle": execute console command "/shot give %player% deagle" execute console command "/p take %player% 15" give player 8 cocoa beans named "&eAmunicja do Desert Eagle" if arg is "python": execute console command "/shot give %player% python" execute console command "/p take %player% 15" give player 8 purple dye named "&eAmunicja do Python" if arg is "type95": execute console command "/shot give %player% type95" execute console command "/p take %player% 15" give player 8 gray dye named "&eAmunicja do Type95" if arg is "huntingrifle": execute console command "/shot give %player% Hunting Rifle" execute console command "/p take %player% 15" give player 8 light gray dye named "&eAmunicja do Hunting Rifle" if arg is "AK47": execute console command "/shot give %player% AK-47" execute console command "/p take %player% 15" give player 8 pink dye named "&eAmunicja do AK-47"
Pytanie
DeeJay 0
Witam
Połączyłem sobie plugin na punkty z pluginem crackshot i mam problem bo mam zrobione, że za 15 punktów można kupić określoną broń. Problem polega na tym, że nawet jak mam 0 punktów to mi tą broń przyznaje. Macie jakieś pomysły?
Oto skrypt:
Odnośnik do komentarza
https://skript.pl/temat/8574-playerpoints-i-crackshot-problem/Udostępnij na innych stronach
8 odpowiedzi na to pytanie
Rekomendowane odpowiedzi