Skocz do zawartości
  • 0

skGuilds Jak zrobic itemy do tworzenia gildii dla vipa ?


JkkS
 Udostępnij

Pytanie

11 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
options:     guild.reqitems_vip: itemy vipaif arg 1 is "zaloz" or "create" or "z" or "c":			if arg 2 is not set:				send "{@tag} &cWpisz tag gildii."				stop			if arg 3 is not set:				send "{@tag} &cWpisz nazwe gildii."				stop			if {skGuilds::inGuild::%player%} is set:				send "{@tag} &cJestes juz w gildii!"				stop			if {skGuilds::Lider::%{skGuilds::inGuild::%player%}%} is set:				send "{@tag} &cJestes liderem innej gildii, usun ja aby stworzyc wlasna!"				stop			if length of arg 2 is less than 3:				send "{@tag} &cTag musi miec minimum 3 liter!"				stop			if length of arg 2 is greater than 5:				send "{@tag} &cTag musi miec maximum 5 liter!"				stop			if length of arg 3 is greater than 25:				send "{@tag} &cNazwa nie moze byc dluzsza niz 25 liter!"				stop			if length of arg 3 is less than 10:				send "{@tag} &cNazwa nie moze byc krotsza niz 10 liter!"				stop			if {skGuilds::GildiaTag::%arg 2%} is set:				send "{@tag} &cGildia o takim tagu juz istnieje!"				stop			if {skGuilds::GildiaNazwa::%arg 3%} is set:				send "{@tag} &cGildia o takiej nazwie juz istnieje!"			if distance between player and {skGuilds::Spawn} is more than 150:				if player has permission "skguild.gracz":					if player doesn't have {@guild.reqitems}:						send "{@tag} &cNie masz wymaganych itemow na gildie."						send "{@tag} &cPotrzebujesz: &7{@guild.reqitems}"				if player has permission "skguilds.vip":					if player doesn't have {@guild.reqitems_vip}:						send "{@tag} &cNie masz wymaganych itemow na gildie."						send "{@tag} &cPotrzebujesz: &7{@guild.reqitems_vip}"					else: 						remove {@guild.reqitems} from the player						set {skGuilds::inGuild::%player%} to arg 2						set {skGuilds::GildiaTag::%arg 2%} to true						set {skGuilds::GildiaNazwa::%arg 3%} to true						set {skGuilds::NazwaGildii::%arg 2%} to arg 3						set {skGuilds::TagGildii::%arg 2%} to arg 2						add arg 3 to {skGuilds::Gildie::*}						add arg 2 to {skGuilds::Tagi::*}						set {skGuilds::PVP::%arg 2%} to false						set {skGuilds::%arg 2%::Powieksz::LVL::1} to false						set {skGuilds::%arg 2%::Powieksz::LVL::2} to false						set {skGuilds::%arg 2%::Powieksz::LVL::3} to false						add player to {skGuilds::Czlonkowie::%arg 2%::*}						set {skGuilds::%arg 2%::Powieksz::LVL::4} to false						set {skGuilds::%arg 2%::Powieksz::LVL::5} to false						set {skGuilds::Opis::%arg 2%} to "&eNowa gildia!"						set {skGuilds::Lider::%arg 2%} to "%player%"						set {skGuilds::Zabojstwa::%arg 2%} to 0						set {skGuilds::GuildPoints::%arg 2%} to 1000						set {_Center} to block at location (x-coordinate of player, y-coordinate of player, z-coordinate of player) in "world"						set {skGuilds::Baza::%arg 2%} to {_Center}						set {skGuilds::Polozenie::%arg 2%} to {_Center}						set block at {_Center} to {@guild.item}						set {_Gildia} to arg 2						add {_Gildia} to {skGuilds::Cuboids::*}						set {skGuilds::Cuboid::Large::%{_Gildia}%} to 50						set {skGuilds::Cuboid::Center::%{_Gildia}%} to {_Center}						"%{_Gildia}%".Region.selectLS{{skGuilds::Cuboid::Center::%{_Gildia}%}, {skGuilds::Cuboid::Large::%{_Gildia}%}};						set {skGuilds::DataZalozenia::%arg 2%} to now						edit tag of player to "&e[&6%arg 2%&e] &e"						broadcast "{@tag} Gildia &e%arg 3% &8[&e%arg 2%&8] &7zostala zalozona przez &e%player%"						stop		   else:			    send "{@tag} &cJestes za blisko spawnu!"

~ Wytabuj sobie niektóre rzeczy

 

Pozdro

 

PS: graczowi dajesz permisje skguilds.gracz

vipowi dajesz permisje skguilds.vip

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

if distance between player and {skGuilds::Spawn} is <span style="height: 14px;" id="d046456n51_1" class="d046456n51">more</span> than 150:

if player has permission "skguild.gracz":
if player doesn't have {@guild.reqitems}:
send "{@tag} &cNie masz wymaganych itemow na gildie."
send "{@tag} &cPotrzebujesz: &7{@guild.reqitems}"
if player has permission "skguilds.vip":
if player doesn't have {@guild.reqitems_vip}:
send "{@tag} &cNie masz wymaganych itemow na gildie."
send "{@tag} &cPotrzebujesz: &7{@guild.reqitems_vip}"
tutaj cos nie dziala!
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Do optionsów dodaj tylko linijke z guild.vip.reqitems.

options:	tag: &8>&7	guild.reqitems: wypisz, tutaj, swoje, itemki        guild.vip.reqitems: wypisz, tutaj, swoje, itemki

Ten kod. Wklej pod tym samym kodem
/ / / / / / / / / / / / / / 
 

command /gildia [<text&gt] [<text&gt] [<text&gt]:	aliases: {@guild.aliases}        permisions: skguild.stworz.vip	trigger:		if arg 1 is "zaloz" or "create" or "z" or "c":			if arg 2 is not set:				send "{@tag} &cWpisz tag gildii."				stop			if arg 3 is not set:				send "{@tag} &cWpisz nazwe gildii."				stop			if {skGuilds::inGuild::%player%} is set:				send "{@tag} &cJestes juz w gildii!"				stop			if {skGuilds::Lider::%{skGuilds::inGuild::%player%}%} is set:				send "{@tag} &cJestes liderem innej gildii, usun ja aby stworzyc wlasna!"				stop			if length of arg 2 is less than 3:				send "{@tag} &cTag musi miec minimum 3 liter!"				stop			if length of arg 2 is greater than 5:				send "{@tag} &cTag musi miec maximum 5 liter!"				stop			if length of arg 3 is greater than 25:				send "{@tag} &cNazwa nie moze byc dluzsza niz 25 liter!"				stop			if length of arg 3 is less than 10:				send "{@tag} &cNazwa nie moze byc krotsza niz 10 liter!"				stop			if {skGuilds::GildiaTag::%arg 2%} is set:				send "{@tag} &cGildia o takim tagu juz istnieje!"				stop			if {skGuilds::GildiaNazwa::%arg 3%} is set:				send "{@tag} &cGildia o takiej nazwie juz istnieje!"			if distance between player and {skGuilds::Spawn} is more than 150:				if player doesn't have {@guild.vip.reqitems}:					send "{@tag} &cNie masz wymaganej polowy itemkow."					send "{@tag} &cPotrzebujesz: &7{@guild.vip.reqitems}"

Zrób tak:
Do vipa wklej nowa permisje:
- skguild.stworz.vip

A ten kod wklej pod tamten kod.
Jak coś to pisz. Pomogę to ostatniej kropli krwi XD
 

Edytowane przez MagiK
Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...