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] skript i serduszka


Rekomendowane odpowiedzi

Opublikowano

 

Spróbuj

add 2 to the player's health

No nie wiem czy to zadziała, ale to niżej już tak:

set the maximum health of the player to 20
heal the player

Liczę na +

|----Jedyny serwis z darmowymi skinami!----|


|------------Darmowe-Skiny.PL---------------|


|----Skiny i przedmioty do CS:GO, TF2----|


|------------------------------------------------|


|DOTA2, WarFrame i innych gier ze Steama!|


|--------------Start: NIEDŁUGO!!!--------------|

Opublikowano

Proszę :)
Do działania potrzebujesz "HealthPlus" !
To działa na takiej zasadzie masz 100lv wpisujesz /serce i dodaje 1 serce do HP :)
 

variables:
	{serca.%player%} = 0
command /serce:
	trigger:
		the level of player is greater than 100:
			if {serca.%player%} is 0:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop
			if {serca.%player%} is 1:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop
			if {serca.%player%} is 2:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop
			if {serca.%player%} is 3:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop
			if {serca.%player%} is 4:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop
			if {serca.%player%} is 5:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				add 1 to {serca.%player%}
				stop
			if {serca.%player%} is 6:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop
			if {serca.%player%} is 7:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop 
			if {serca.%player%} is 8:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop 
			if {serca.%player%} is 9:
				send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				execute console command "/healthplus add %name of player% 2"
				reduce the player's level by 100
				add 1 to {serca.%player%}
				stop 
			if {serca.%player%} is 10:
				send "&4Blad:&7Maksymalna ilosc serduszek!" 
				#send "&7Kupiles &c1 serduszko&7 dla &c%name of player% &7!"
				#execute console command "/healthplus add CiemnyArbuz 2"
				#reduce the player's level by 100
				#add 1 to {serca.%player%}
				stop
			if {serca.%player%} is greater than 9:
				send "&4Blad:&7Maksymalna ilosc serduszek!" 
				stop 
		else:
			send "&4Blad:&cNie masz powyazej 100lv!"
command /sr <player>:
	trigger:
		set {serca.%arg 1%} to 0

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...