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

[Pytanie] Jak zrobić skrypt na pieniądze za zabicie?


SpisN

Rekomendowane odpowiedzi

Opublikowano

Jak zrobić skrypt że jeśli kogoś zabijesz dostajesz 50 kasy

i pisze kogo zabiłeś a jak cię ktoś zabije to odejmuje 50 kasy i pisze przez kogo zostałeś

zabity  + gdy zostajesz zabity dostajesz eq

Opublikowano

Takich zeczy nie umiecie?

variables:
    {kasa.%player%} = 0
on death of player:
    add 50 to {kasa.%attacker%}
    send "&cZabiles i dostales 50 pieniendzy" to attacker
    remove 50 to {kasa.%victim%}
    send "&Padles i straciles 50 pieniendzy" to victim
Opublikowano

 

Takich zeczy nie umiecie?

variables:
    {kasa.%player%} = 0
on death of player:
    add 50 to {kasa.%attacker%}
    send "&cZabiles i dostales 50 pieniendzy" to attacker
    remove 50 to {kasa.%victim%}
    send "&Padles i straciles 50 pieniendzy" to victim

nie działa

Opublikowano

to wes ten muj skrypt i powiec jaki masz błond

 

podmien spacie na taby wszendzie

variables:
[TAB]{kasa.%player%} = 0
on death of player:
[TAB]add 50 to {kasa.%attacker%}
[TAB]send "&cZabiles i dostales 50 pieniendzy" to attacker
[TAB]remove 50 to {kasa.%victim%}
[TAB]send "&Padles i straciles 50 pieniendzy" to victim
Opublikowano

variables:
     {money.%player%} = 0
on death:
     victim is player:
      add 50 to {money.%player%}

@Edit

 

Dodaje bardziej rozwinięty.

 

 

on death of player:
	attacker is player
	add 50 to attacker's balance #Dodaje 50 Zl za zabicie, dla gracza
	send "&cW Nagrode Za Zabicie Gracza Dostajesz 50$"
	give 25 xp to attacker's
	if attacker has permission "pvp.vip":
		add 100 to attacker's balance
		send "&cW Nagrode Za Zabicie Gracza Dostajesz 100$" #Dodaje 100 Zl Za zabicie, dla vipa
		give 50 xp to attacker's
	if attacker has permissions "pvp.svip": #Dodaje 100 Zl Za zabicie, dla svipa
		add 150 to attacker's balance
		send "&cW Nagrode Za Zabicie Gracza Dostajesz 150$"
		give 100 xp to attacker's
Opublikowano

 

to wes ten muj skrypt i powiec jaki masz błond

 

podmien spacie na taby wszendzie

variables:
[TAB]{kasa.%player%} = 0
on death of player:
[TAB]add 50 to {kasa.%attacker%}
[TAB]send "&cZabiles i dostales 50 pieniendzy" to attacker
[TAB]remove 50 to {kasa.%victim%}
[TAB]send "&Padles i straciles 50 pieniendzy" to victim

wez slownik i wynocha do podstawowki 

Dlaczego blezur broni non premium ? 

bo sam nim jest

Opublikowano

I jeszcze cuś: Jak zrobić skrypt na eq po śmierci

Działają te skrypty co podałem ?

 

 

on respawn:
	add diamond sword named "&9Mieczyk &6%player%" to player's inventory
	add bow of infinity named "&9Luk &6%player%" to player's inventory
	add 64 steak named "&9Jedzonko &6%player%" to player's inventory
	add arrow  named "&9Strzala &6%player%" to player's inventory
	add iron helmet named "&9Czapka &6%player%" to the player's helmet
	add iron chestplate named "&9Kurtka &6%player%" to the player's chestplate
	add iron leggings named "&9Gacie &6%player%" to the player's leggings
	add iron boots named "&9Kalosze &6%player%" to the player's boots
	wait 1 second
	execute console command "/playsound random.fizz %player%"
on death of player:
	remove diamond sword named "&9Mieczyk &6%player%" from drops
	remove bow of infinity named "&9Luk &6%player%" from drops
	remove 10 steak named "&9Jedzonko &6%player%" from drops
	remove arrow  named "&9Strzala&6%player%" from drops
	remove iron helmet named "&9Czapka &6%player%" from drops
	remove iron chestplate named "&9Kurtka &6%player%" from drops
	remove iron leggings named "&9Gacie &6%player%" from drops
	remove iron boots named "&9Kalosze &6%player%" from drops
	remove xp from drops
Opublikowano

 

Działają te skrypty co podałem ?

 

 

on respawn:
	add diamond sword named "&9Mieczyk &6%player%" to player's inventory
	add bow of infinity named "&9Luk &6%player%" to player's inventory
	add 64 steak named "&9Jedzonko &6%player%" to player's inventory
	add arrow  named "&9Strzala &6%player%" to player's inventory
	add iron helmet named "&9Czapka &6%player%" to the player's helmet
	add iron chestplate named "&9Kurtka &6%player%" to the player's chestplate
	add iron leggings named "&9Gacie &6%player%" to the player's leggings
	add iron boots named "&9Kalosze &6%player%" to the player's boots
	wait 1 second
	execute console command "/playsound random.fizz %player%"
on death of player:
	remove diamond sword named "&9Mieczyk &6%player%" from drops
	remove bow of infinity named "&9Luk &6%player%" from drops
	remove 10 steak named "&9Jedzonko &6%player%" from drops
	remove arrow  named "&9Strzala&6%player%" from drops
	remove iron helmet named "&9Czapka &6%player%" from drops
	remove iron chestplate named "&9Kurtka &6%player%" from drops
	remove iron leggings named "&9Gacie &6%player%" from drops
	remove iron boots named "&9Kalosze &6%player%" from drops
	remove xp from drops

Tak działają teraz ten sprawdzam. W tamtym to tylko exp usunełem ;D

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...