Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Proble ze zrobieniem skryptu na nagrody za zabójstwo.


_PanZiomek_

Rekomendowane odpowiedzi

Opublikowano

Pomoze Mi ktos Zrobilem Skrypta Ze Po Zabiciu Gracza Dostaje Sie Diament I Kase Oraz Pisze Ze Zabiles gracza sgdfgdfg dfgdfgdfg 
Wyglonda To Tak 

variables:
    {Kills::%player%} = 0


on death of player:
   add 1 to {Kills::%attacker%}
   give 1 diamond to attacker's inventory 
   execute console command "/eco give %attacker% 50"
on death:
    victim is player
    attacker is player
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send " " to attacker
    send "&a&m<----------------&4[PvP]&a&m---------------->" to attacker
    send "&a     Zabiles Gracza %victim% Gratulacje!       " to attacker
    send "&a             Otrzymujesz 1 Diamenta            " to attacker
    send "&a                  Oraz 50 Kasy                 " to attacker
    send "&a&m<----------------&4[PvP]&a&m---------------->" to attacker

Ale Gdy Nie Mam OP Nie Pisze mi To na Chacie Ze Zabilem Gracza A Gdy Mam Op To Pisze

POMOCY PLIS!

 

Opublikowano


variables:

    {kills::%player%} = 0

on death:

    victim is player:

        attacker is player:

            loop 10 times:

                send "" to attacker

            send "&a&m<----------------&4[PvP]&a&m---------------->" to attacker

           send "&a     Zabiles Gracza %victim% Gratulacje!       " to attacker

            send "&a             Otrzymujesz 1 Diamenta            " to attacker

           send "&a                  Oraz 50 Kasy                 " to attacker

           send "&a&m<----------------&4[PvP]&a&m---------------->" to attacker

            execute console command "eco give %attacker% 50"

give diamond to attacker

add 1 to {kills:%attacker%}

 

 

Opublikowano
options:
#HASZTAK: ile ma dawac hajsu,
    hajs = 50
#HASZTAK: ile ma dawac diaxow.
    diaxy = 1
variables:
    {kills::%player%} = 0
on death:
    victim is not op:
        victim is player:
            attacker is player:
                loop 20 times:
                    send "" to attacker
                send "&a&m<----------------&4[PvP]&a&m---------------->" to attacker
                send "&a     Zabiles Gracza %victim% Gratulacje!" to attacker
                send "&a             Otrzymujesz {@diaxy} Diament," to attacker
                send "&a                  oraz {@hajs} Kasy!" to attacker
                send "&a&m<----------------&4[PvP]&a&m---------------->" to attacker
                add {@hajs} to player's balance
                give {@diaxy} diamond to attacker
                add 1 to {kills:%attacker%}
    else:
        victim is player:
            attacker is player:
                loop 20 times:
                    send "" to attacker
                send "&a&m<----------------&4[PvP]&a&m---------------->" to attacker
                send "&a     Zabiles Gracza %victim% Gratulacje!" to attacker
                send "&a             Otrzymujesz {@diaxy} Diament," to attacker
                send "&a                  oraz {@hajs} Kasy!" to attacker
                send "&a&m<----------------&4[PvP]&a&m---------------->" to attacker
                add {@hajs} to player's balance
                give {@diaxy} diamond to attacker
                add 1 to {kills:%attacker%}
command /kille:
    trigger:
        send "&7>> &aZabiles &b{kills::%player%} &aosob!"

( ͡° ͜ʖ ͡°) Sprawdza czy gracz nie ma op'a :)

Teraz musi dzialac :P *FACEPALM*

 

/kille - wyswietla ilosc zabic.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...