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

Prośba o poprawienie skryptu GTA!


ironer

Rekomendowane odpowiedzi

Opublikowano

Siemka! tak jak w temacie potrzebuje pilnie poprawić skrypt na gta!

Skrypty:
 
 

options:
	tag: &3[&5GTA&3]
	kasasvip: 6 
	kasa: 4
variables:

	{gta.money.%player%} = 0

command /gta [<text>]:
	trigger:
		if arg 1 is not set:
			message "&e&l======== {@tag} &7[&e1&7/&1&7] &e&l========"
			message "&2/gta      &7-&eLista komend                  "
			message "&2/gta kasa&7-&ePokazuje Stan Konta           "
			message "&2/gta leave&7-&eTeleportuje Na Spawn Serwera&e"
			message "&2/gta bron  &7-&eDaje Wszystkie Mozliwe Bronie "
			message "&e&l======== {@tag} &7[&e1&7/&1&7] &e&l========"
		if arg 1 is "setspawn":
			if player has permission: "gta.setspawn":
				set {gta.setspawn} to location of player
		if arg 1 is "leave":
			if player has permission: "gta.leave":
				teleport player to {gta.setspawn}
		if arg 1 is "bron":
			if player has permission: "gta.daj.wszystko":
				give 1 egg named "&b&LGranat Ogluszajacy" to the player
				give 1 emerald block named "&aApteczka" to the player
				give 1 shears named "&b&lNóz Zwykly" to the player
				give 1 stick named "&b&lStickStole" to the player
				give 1 blaze rod named "&b&lBlazeStole" to the player
				give 1 bone named "&b&lBone ShotGun" to the player
				give 1 arrow named "&b&lPistolet Cold 45" to the player
				give 1 wooden pressure plate named "Mina" to the player
				give 1 wooden hoe named "&b&lBazooka" to the player
				give 64 fish named "&aAmunicja do Bazooki" to the player
				give 64 snowball named "&aAmunicja do SnowStole" to the player
				give 64 glowstone dust named "&aAmunicja do BlazeStole" to the player
				give 64 bone meal named "&aAmunicja do Bone ShotGun" to the player
				give 54 redstone named "&aAmunicja do Pistoletu Cold 45" to the player
				give 1 paper named "&4Bandaz" to the player

		if arg 1 is "kasa":
			if playe has permission: "gta.kasa""
				send "{@tag} Twój Stan Konta: {gta.money.%player%}"
#
# SMIERC
#

on death:
        if victim is player:
                if attacker is a player:
			if attacker has permission "gta.kasa.vip.svip":
                        add {@kasavipsvip} to {gta.money.%player%} to attacker
			send "Zostales zabity przez: %attacker%" to victim"
		else:
			add {@kasa} to {gta.money.%player%} to attacker
			send "Zostales zabity przez: %attacker%" to victim"

#
#SKLEP
#

command /gta sklep [<text>]:
        trigger:
                if arg 1 is not set:
                        send "&3&l=========Sklep GTA==========="
                        send "&6/gta sklep kup&7 - Jezeli chcesz kupic jakis przedmiot"
                        send "&6/gta sklep lista&7 - Jezeli nie wiesz co jest do kupienia"
                        send "&3&l=========Sklep GTA==========="
                        send "&6/gta sklep autor&7- Notka o autorze"
                if arg 1 is "pomoc":
                        send "&3&l=========Sklep GTA==========="
                        send "&6/gta sklep kup&7 - Jezeli chcesz kupic jakis przedmiot"
                        send "&6/gta sklep lista&7 - Jezeli nie wiesz co jest do kupienia"
                        send "&3&l=========Sklep GTA==========="
                        send "&6/gta sklep autor&7- Notka o autorze"
                if arg 1 is "lista":
                        send "&3&l=========Sklep GTA==========="
                        send "&6   Bazooka         &3[30 Monet]"
                        send "&6   BlazeStole      &3[10 Monet]"
                        send "&6   Noz rzucany     &3[ 5 Monet]"
                        send "&6   Bandaz          &3[10 Monet]"
                        send "&6   ShotGun         &3[20 Monet]"
                        send "&6   Pistolet Cold   &3[15 Monet]"
                        send "&3&l=========Sklep GTA==========="
                if arg 1 is "kup":
                        if arg 2 is "bazooka":
                                if player has 30 {gta.money.%player%}:
                                        remove 30 {gta.money.%player%} from the player
                                        give wooden_hoe named "&b&lBazooka" to the player
					give 15 fish named "&aAmunicja do Bazooki" to the player
                                        send "&6Pomyslnie kupiono &3Bazooke &6!"
                                        send "&6Pomyslnie kupiono &3Naboje Bazooki &6!"
                                else:
                                        send "&cNie posiadasz &730 Monet!"
		if arg 1 is "kup":
                        if arg 2 is "blazeStole":
                                if player has 10 {gta.money.%player%}:
                                        remove 10 {gta.money.%player%} from the player
                                        give blaze_rod named "&b&lBlazeStole" to the player
					give 15 glowstone_dust named "&aAmunicja do BlazeStole" to the player
                                        send "&6Pomyslnie kupiono &3BlazeStole &6!"
                                        send "&6Pomyslnie kupiono &3Naboje do BlazeStole &6!"
                                else:
                                        send "&cNie posiadasz &710 Monet!"
		if arg 1 is "kup":
                        if arg 2 is "noz rzucany":
                                if player has 5 {gta.money.%player%}:
                                        remove 5 {gta.money.%player%} from the player
                                        give shears named "&b&lNoz Zwykly" to the player
                                        send "&6Pomyslnie kupiono &3Noz Zwykly &6!"
                                else:
                                        send "&cNie posiadasz &75 Monet!"
		if arg 1 is "kup":
                        if arg 2 is "bandaz":
                                if player has 10 {gta.money.%player%}:
                                        remove 10 {gta.money.%player%} from the player
                                        give paper named "&b&lBandaz" to the player
                                        send "&6Pomyslnie kupiono &3Bandaz &6!"
                                else:
                                        send "&cNie posiadasz &710 Monet!"
		if arg 1 is "kup":
                        if arg 2 is "shotgun":
                                if player has 20 {gta.money.%player%}:
                                        remove 20 {gta.money.%player%} from the player
                                        give bone named "&b&lShotGun" to the player
					give 120 bone_meal named "&aAmunicja do ShotGun" to the player
                                        send "&6Pomyslnie kupiono &3ShotGun &6!"
                                        send "&6Pomyslnie kupiono &3Naboje ShotGun &6!"
                                else:
                                        send "&cNie posiadasz &720 Monet!"
		if arg 1 is "kup":
                        if arg 2 is "pistolet cold":
                                if player has 15 {gta.money.%player%}:
                                        remove 15 {gta.money.%player%} from the player
                                        give arrow named "&b&lPistolet Cold 45" to the player
					give 30 redstone named "&aAmunicja do Pistoletu Cold 45" to the player
                                        send "&6Pomyslnie kupiono &3Pistoled Cold &6!"
                                        send "&6Pomyslnie kupiono &3Naboje do Pistolet cold &6!"
                                else:
                                        send "&cNie posiadasz &715 Monet!"

#
# BRONIE
#

on right click using blaze rod:
	player is holding a blaze rod named "&b&lBlazeStole" or "&6[ &b%number of glowstone dust in the player's inventory% &6]"
	if player has 1 glowstone dust named "&aAmunicja do BlazeStole":
		set {czasblaze} to difference between {opoznienieblaze.%player%} and now
		if {czasblaze} is less than 0.4 seconds:
			stop
		else:	
			push the player backwards at speed 0.5
			execute command "/playsound mob.wither.shoot %name of player% ~0 ~0 ~0 0.3"
			shoot an snowball at speed 5
			damage targeted entity by 3 hearts				
			remove 1 glowstone dust from the player
			set name of the player's tool to "&6[ &b%number of glowstone dust in the player's inventory% &6]"
			player is sprinting
			set {_c} to a random integer between 1 and 3
			if {_c} is 1:
				damage targeted entity by 1 hearts
				execute command "/playsound mob.wither.shoot %player% ~0 ~0 ~0 20 10"
			if {_c} is 2:
				damage targeted entity by 2 hearts
				execute command "/playsound mob.wither.shoot %player% ~0 ~0 ~0 20 10"
			if {_c} is 3:
				damage targeted entity by 3 hearts
				execute command "/playsound mob.wither.shoot %player% ~0 ~0 ~0 20 10"	
			player is sneaking
			set {_d} to a random integer between 1 and 2
			if {_d} is 1:
				damage targeted entity by 7 hearts
				execute command "/playsound mob.wither.shoot %player% ~0 ~0 ~0 20 10"
			if {_d} is 2:
				damage targeted entity by 8 hearts
				execute command "/playsound mob.wither.shoot %player% ~0 ~0 ~0 20 10"
		set {opoznienieblaze.%player%} to now				
		stop
	else:
		send "&c&LBrak amunicji! Musisz ja kupic w sklepie."
		execute console command "/playsound random.door_close %player% ~0 ~0 ~0 10 5"
		stop

on right click using bone:
	player is holding a bone named "&b&lShotGun" or "&6[ &b%number of bone meal in the player's inventory% &6]"
	if player has 5 bone meal named "&aAmunicja do ShotGun":
		set {czasbone} to difference between {opoznieniebone.%player%} and now
		if {czasbone} is less than 1.6 seconds:
			stop
		else:			
			shoot an snowball at speed 1.5
			remove 5 bone meal from the player				
			damage targeted entity by 4 hearts
			execute command "/playsound tile.piston.out %name of player% ~0 ~0 ~0 10 0.01"
			set name of the player's tool to "&6[ &b%number of bone meal in the player's inventory% &6]"					
			wait 1.5 tick
			shoot snowball with speed 1.5
			execute command "/playsound tile.piston.out %name of player% ~0 ~0 ~0 10 0.01"
			set name of the player's tool to "&6[ &b%number of bone meal in the player's inventory% &6]"
			wait 1.5 tick
			shoot snowball with speed 1.5
			execute command "/playsound tile.piston.out %name of player% ~0 ~0 ~0 10 0.01"
			set name of the player's tool to "&6[ &b%number of bone meal in the player's inventory% &6]"
			wait 1.5 tick
			shoot snowball with speed 1.5
			execute command "/playsound tile.piston.out %name of player% ~0 ~0 ~0 10 0.01"
			set name of the player's tool to "&6[ &b%number of bone meal in the player's inventory% &6]"
			wait 1.5 tick
			shoot snowball with speed 1.5
			execute command "/playsound tile.piston.out %name of player% ~0 ~0 ~0 10 0.01"
			set name of the player's tool to "&6[ &b%number of bone meal in the player's inventory% &6]"
			push the player backwards at speed 0.5		
			player is sprinting
			set {_d} to a random integer between 1 and 3
			if {_d} is 1:
				damage targeted entity by 1 hearts
				execute command "/playsound tile.piston.out %player% ~0 ~0 ~0 20 10"
			if {_d} is 2:
				damage targeted entity by 2 hearts
				execute command "/playsound tile.piston.out %player% ~0 ~0 ~0 20 10"
			if {_d} is 3:
				damage targeted entity by 3 hearts
				execute command "/playsound tile.piston.out %player% ~0 ~0 ~0 20 10"	
			player is sneaking
			set {_e} to a random integer between 1 and 3
			if {_e} is 1:
				damage targeted entity by 6 hearts
				execute command "/playsound tile.piston.out %player% ~0 ~0 ~0 20 10"
			if {_e} is 2:
				damage targeted entity by 7 hearts
				execute command "/playsound tile.piston.out %player% ~0 ~0 ~0 20 10"
			if {_e} is 3:
				damage targeted entity by 8 hearts
				execute command "/playsound tile.piston.out %player% ~0 ~0 ~0 20 10"
		set {opoznieniebone.%player%} to now	
		stop				
	else:
		send "&c&LBrak amunicji! Musisz ja kupic w sklepie."
		execute console command "/playsound random.door_close %player% ~0 ~0 ~0 10 5"
		stop


on right click using arrow:
	player is holding a arrow named "&b&lPistolet Cold 45" or "&6[ &b%number of redstone in the player's inventory% &6]"
	if player has 2 redstone named "&aAmunicja do Pistoletu Cold 45":
		set {czasarrow} to difference between {opoznieniearrow.%player%} and now
		if {czasarrow} is less than 1 seconds:
			stop
		else:			
			shoot an snowball at speed 1
			damage targeted entity by 4 hearts	
			remove 1 redstone from the player	
			set name of the player's tool to "&6[ &b%number of redstone in the player's inventory% &6]"
			execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 12"			
			push the player backwards at speed 0.4			
			set {_f} to a random integer between 1 and 2
			if {_f} is 1:
				damage targeted entity by 1 hearts
				execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 12"
			if {_f} is 2:
				damage targeted entity by 2 hearts
				execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 12"
			player is sneaking
			set {_g} to a random integer between 1 and 2
			if {_g} is 1:
				damage targeted entity by 7 hearts
				execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 12"
			if {_g} is 2:
				damage targeted entity by 8 hearts
				execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 12"
			set {opoznieniearrow.%player%} to now	
			stop
	else:
		send "&c&LBrak amunicji! Musisz ja kupic w sklepie."
		execute console command "/playsound random.door_close %player% ~0 ~0 ~0 10 5"
		stop		

on right click using wooden hoe:
	player is holding a wooden hoe named "&b&lBazooka" or "&6[ &b%number of fish in the player's inventory% &6]"
	cancel event
	if player has 1 fish named "&aAmunicja do Bazooki":
		set {czasabazuka} to difference between {opoznieniebazuka.%player%} and now
		if {czasabazuka} is less than 10 seconds:
			stop
		else:			
			shoot an fireball at speed 2.5
			damage targeted entity by 6 hearts
			remove 1 raw fish named "&aAmunicja do Bazooki" from the player	
			execute console command "/playsound random.explode %player% ~0 ~0 ~0 10 1"			
			remove 1 fish from the player
			set name of the player's tool to "&6[ &b%number of fish in the player's inventory% &6]"
			push the player backwards at speed 0.1
			set {opoznieniebazuka.%player%} to now
			stop
	else:
		send "&c&LBrak amunicji! Musisz ja kupic w sklepie."
		execute console command "/playsound random.door_close %player% ~0 ~0 ~0 10 5"
		stop
on projectile hit:
	if projectile is small fireball:
		projectile is small fireball
		create a fake explosion at projectile
		loop all players in radius 7 around projectile:
			damage loop-player by 7 hearts
			apply confusion 200 to loop-player for 20 seconds
			apply blindness 200 to loop-player for 8 seconds
			send "{@tag} &2Otrzymales obrazenia od Bazooki." to the loop-player
			if chance of 10%:
				damage loop-player by 1 hearts
				apply confusion 200 to loop-player for 3 seconds
				apply blindness 200 to loop-player for 2 seconds
				send "{@tag} &2Oberwales!" to the loop-player
				stop
			if chance of 40%:
				damage loop-player by 5 hearts
				apply confusion 200 to loop-player for 18 seconds
				apply blindness 200 to loop-player for 6 seconds
				send "{@tag} &2Otrzymales obrazenia od Bazooki!" to the loop-player
				stop
	

on rightclick with shears:
	if player is holding a shears named "&b&lNoz Zwykly":
		shoot an arrow
		remove 1 shears from the player
		set {_h} to a random integer between 1 and 3
		if {_h} is 1:
			damage targeted entity by 1 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
		if {_h} is 2:
			damage targeted entity by 2 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
		if {_h} is 3:
			damage targeted entity by 3 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
		player is sneaking
		set {_i} to a random integer between 1 and 3
		if {_i} is 1:
			damage targeted entity by 8 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
		if {_i} is 2:
			damage targeted entity by 9 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
		if {_i} is 3:
			damage targeted entity by 10 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
		player is sprinting
		set {_j} to a random integer between 1 and 3
		if {_j} is 1:
			damage targeted entity by 1 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
		if {_j} is 2:
			damage targeted entity by 2 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
		if {_j} is 3:
			damage targeted entity by 3 hearts
			execute command "/playsound random.anvil_land %player% ~0 ~0 ~0 20 10"
			stop

on leftclick:
	player is holding stick:
		{zoom.%player%} is 1:
			set {zoom.%player%} to 2
			apply slowness 5 to player for 300 seconds
			set {zoomowanie.%player%} to true
			stop
		{zoom.%player%} is 2:
			set {zoom.%player%} to 1
			remove slowness from player
			set {zoomowanie.%player%} to false
			stop		
		{zoom.%player%} is not set:
			set {zoom.%player%} to 2
			apply slowness 5 to player for 300 seconds
			set {zoomowanie.%player%} to true
			stop

on leftclick:
	player is holding blaze rod:
		{zoom.%player%.blaze} is 1:
			set {zoom.%player%.blaze} to 2
			apply slowness 5 to player for 300 seconds
			set {zoomowanie.%player%.blaze} to true
			stop
		{zoom.%player%.blaze} is 2:
			set {zoom.%player%.blaze} to 1
			remove slowness from player
			set {zoomowanie.%player%.blaze} to false
			stop		
		{zoom.%player%.blaze} is not set:
			set {zoom.%player%.blaze} to 2
			apply slowness 5 to player for 300 seconds
			set {zoomowanie.%player%.blaze} to true
			stop

on leftclick:
	player is holding bone:
		{zoom.%player%.bone} is 1:
			set {zoom.%player%.bone} to 2
			apply slowness 5 to player for 300 seconds
			set {zoomowanie.%player%.bone} to true
			stop
		{zoom.%player%.blaze} is 2:
			set {zoom.%player%.bone} to 1
			remove slowness from player
			set {zoomowanie.%player%.bone} to false
			stop		
		{zoom.%player%.bone} is not set:
			set {zoom.%player%.bone} to 2
			apply slowness 5 to player for 300 seconds
			set {zoomowanie.%player%.bone} to true
			stop

every 0.01 tick:
	loop players:
		if {zoomowanie.%loop-player%} is true:
			loop-player is holding stick:
				set {zoomowanie.%loop-player%} to true
			else:
				set {zoomowanie.%loop-player%} to false
				remove slowness from loop-player

on rightclick with paper:
	if player is holding a paper named "&4Bandaz":
		if player's health is 10:
			send "&7Masz full &4HP"
			stop
		else:
			heal the player by 4 heart
			send "&8Uleczenie &a+4 "
			remove 1 paper from the player
			stop
 

 

 
BŁĄD W KONSOLI:
 

[17:31:00 ERROR]: #!#!Java: 1.7.0_80
[17:31:00 ERROR]: #!#!
[17:31:00 ERROR]: #!#! Running CraftBukkit: false
[17:31:00 ERROR]: #!#!
[17:31:00 ERROR]: #!#! Current node: command /gta <1>: (GrandTheftAutoGood.sk, line 9)
[17:31:00 ERROR]: #!#! Current item: null
[17:31:00 ERROR]: #!#!
[17:31:00 ERROR]: #!#! Thread: Server thread
[17:31:00 ERROR]: #!#!
[17:31:00 ERROR]: #!#! End of Error.
[17:31:00 ERROR]: #!#!
[17:31:00 INFO]: [skript] Encountered 16 errors while reloading GrandTheftAutoGood.sk!
say §6Zbieramy na oplacenie serwera. §cBrakuje nam 13.32 zl. §6Wejdz na: https://www.enderchest.pl/dotacje/59271
[17:31:19 INFO]: [server] Zbieramy na oplacenie serwera. Brakuje nam 13.32 zl. Wejdz na: https://www.enderchest.pl/dotacje/59271
[17:31:40 INFO]: Aiten lost connection: Internal Exception: java.io.IOException: Connection reset by peer
[17:31:40 INFO]: Aiten left the game.
[17:31:40 INFO]: AutoSaving
[17:31:41 WARN]: A manual (plugin-induced) save has been detected while server is configured to auto-save. This may affect performance.
[17:31:41 INFO]: AutoSave Complete
save-all
[17:35:02 INFO]: CONSOLE: Forcing save..
[17:35:02 INFO]: CONSOLE: Save complete.
[17:37:18 WARN]: Exception in thread "pool-3-thread-39"
[17:37:18 WARN]: org.apache.commons.lang.UnhandledException: Plugin ServerSigns v4.4.1 generated an exception while executing task 45
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()Ljava/util/Collection;
at de.czymm.serversigns.Metrics.postPlugin(Metrics.java:344)
at de.czymm.serversigns.Metrics.access$400(Metrics.java:58)
at de.czymm.serversigns.Metrics$3.run(Metrics.java:253)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more
 
skript reload GrandTheftAutoGood.sk
[17:38:04 INFO]: [skript] Reloading GrandTheftAutoGood.sk...
[17:38:04 ERROR]: indentation error: expected 3 tabs, but found 4 tabs (GrandTheftAutoGood.sk, line 44: send "{@tag} Tw�j Stan Konta: {gta.money.%player%}"')
[17:38:04 ERROR]: indentation error: expected 24 spaces, but found 3 tabs (GrandTheftAutoGood.sk, line 52: if attacker has permission "gta.kasa.vip.svip":')
[17:38:04 ERROR]: indentation error: expected 24 spaces, but found 3 tabs (GrandTheftAutoGood.sk, line 54: send "Zostales zabity przez: %attacker%" to victim"')
[17:38:04 ERROR]: indentation error: expected 24 spaces, but found 2 tabs (GrandTheftAutoGood.sk, line 55: else:')
[17:38:04 ERROR]: indentation error: expected 24 spaces, but found 3 tabs (GrandTheftAutoGood.sk, line 56: add {@kasa} to {gta.money.%player%} to attacker')
[17:38:04 ERROR]: indentation error: expected 24 spaces, but found 3 tabs (GrandTheftAutoGood.sk, line 57: send "Zostales zabity przez: %attacker%" to victim"')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 5 tabs (GrandTheftAutoGood.sk, line 91: give 15 fish named "&aAmunicja do Bazooki" to the player')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 2 tabs (GrandTheftAutoGood.sk, line 96: if arg 1 is "kup":')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 5 tabs (GrandTheftAutoGood.sk, line 101: give 15 glowstone_dust named "&aAmunicja do BlazeStole" to the player')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 2 tabs (GrandTheftAutoGood.sk, line 106: if arg 1 is "kup":')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 2 tabs (GrandTheftAutoGood.sk, line 114: if arg 1 is "kup":')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 2 tabs (GrandTheftAutoGood.sk, line 122: if arg 1 is "kup":')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 5 tabs (GrandTheftAutoGood.sk, line 127: give 120 bone_meal named "&aAmunicja do ShotGun" to the player')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 2 tabs (GrandTheftAutoGood.sk, line 132: if arg 1 is "kup":')
[17:38:04 ERROR]: indentation error: expected 40 spaces, but found 5 tabs (GrandTheftAutoGood.sk, line 137: give 30 redstone named "&aAmunicja do Pistoletu Cold 45" to the player')
[17:38:04 ERROR]: '{gta.money.%player%}: 0' is not an entry (like 'name : value') (GrandTheftAutoGood.sk, line 7: {gta.money.%player%}: 0')
[17:38:04 ERROR]: #!#!
[17:38:04 ERROR]: #!#! [skript] Severe Error:
[17:38:04 ERROR]: #!#! Could not load GrandTheftAutoGood.sk
[17:38:04 ERROR]: #!#!
[17:38:04 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[17:38:04 ERROR]: #!#! If you're a server admin however please go to http://dev.bukkit.org/server-mods/skript/tickets/
[17:38:04 ERROR]: #!#! and check whether this error has already been reported.
[17:38:04 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it,
[17:38:04 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[17:38:04 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[17:38:04 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[17:38:04 ERROR]: #!#!
[17:38:04 ERROR]: #!#! Stack trace:
[17:38:04 ERROR]: #!#! java.lang.IllegalStateException: Cannot use classinfos until registration is over
[17:38:04 ERROR]: #!#!at ch.njol.skript.registrations.Classes.checkAllowClassInfoInteraction(Classes.java:220)
[17:38:04 ERROR]: #!#!at ch.njol.skript.registrations.Classes.getClassInfoFromUserInput(Classes.java:314)
[17:38:04 ERROR]: #!#!at ch.njol.skript.command.Commands.loadCommand(Commands.java:365)
[17:38:04 ERROR]: #!#!at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:462)
[17:38:04 ERROR]: #!#!at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:262)
[17:38:04 ERROR]: #!#!at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:155)
[17:38:04 ERROR]: #!#!at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[17:38:04 ERROR]: #!#!at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175)
[17:38:04 ERROR]: #!#!at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683)
[17:38:04 ERROR]: #!#!at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:670)
[17:38:04 ERROR]: #!#!at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286)
[17:38:04 ERROR]: #!#!at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251)
[17:38:04 ERROR]: #!#!at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
[17:38:04 ERROR]: #!#!at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
[17:38:04 ERROR]: #!#!at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[17:38:04 ERROR]: #!#!
[17:38:04 ERROR]: #!#! Version Information:
[17:38:04 ERROR]: #!#!Skript: 2.1.1
[17:38:04 ERROR]: #!#!Bukkit: 1.7.2-R0.3
[17:38:04 ERROR]: #!#!Minecraft: 1.7.2
[17:38:04 ERROR]: #!#!Java: 1.7.0_80
[17:38:04 ERROR]: #!#!
[17:38:04 ERROR]: #!#! Running CraftBukkit: false
[17:38:04 ERROR]: #!#!
[17:38:04 ERROR]: #!#! Current node: command /gta <1>: (GrandTheftAutoGood.sk, line 9)
[17:38:04 ERROR]: #!#! Current item: null
[17:38:04 ERROR]: #!#!
[17:38:04 ERROR]: #!#! Thread: Server thread
[17:38:04 ERROR]: #!#!
[17:38:04 ERROR]: #!#! End of Error.
[17:38:04 ERROR]: #!#!
[17:38:04 INFO]: [skript] Encountered 16 errors while reloading GrandTheftAutoGood.sk!

 

Opublikowano

Kolego ;3

Wytabuj cały kod potem go wklej

@ironer

Ps użyj opcji "Kod"

 

Kolego ;3

Wytabuj cały kod potem go wklej

@ironer

Ps użyj opcji "Kod"

THX już jak bys mógł to podeślij mi gotowy kod 

Opublikowano

@kolego nwm skąd ty to wyciągnełeś ale połow kodu jest na tab'ach a połowa na spacjach

http://pastebin.com/7SMdsyNj

Poprawiłem błędy ale proponuje przepisac kod lub poprawić Taby / spacje

 

@kolego nwm skąd ty to wyciągnełeś ale połow kodu jest na tab'ach a połowa na spacjach

http://pastebin.com/7SMdsyNj

Poprawiłem błędy ale proponuje przepisac kod lub poprawić Taby / spacje

Sprawdziłem twój  kod i ma 14 błędów

Opublikowano

Popatrz w poczte

Milutus

Przeczytałem ale powtarzam  ci kod jest błędny połowa jest na spacjach połowa na tabach to nie ma prawa działać

polecam przepisać od nowa

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...