You are not logged in.

Dear visitor, welcome to Nitrado Türkiye Ön Ödemeli Gameserver Kiralama Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

OnurCreed

Beginner

  • "OnurCreed" started this thread

Posts: 5

Date of registration: Apr 6th 2016

  • Send private message

1

Wednesday, April 6th 2016, 1:23pm

[İstek Skript]Yardım!

Öncelikle Selam Forumda Yeniyim Benim Bir PvP Serverim Var.
Oyuncular 100 kisi öldürdügünde kredi kazanıcaklar mesela 5 kredi bu krediler ile magazadan vip kilic enderpearl v.b alabilicekler mesela
enderpearl 5 kredi kilic 2 kredi VİP 50 Kredi Tarzında.
Usta skriptciler yardım edebilir mi ?
Şimdiden Teşekkürler Bu Arada.
Siteden Kredi Satmak istiyorum fakat hiçbi egitimsel video yok bilen varsa link atabilirmi


Krieger08

Beginner

Posts: 66

Date of registration: Oct 17th 2015

  • Send private message

2

Wednesday, April 6th 2016, 3:11pm

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
on join:
	if {Öldürme::%player%} is not set:
		set {Öldürme::%player%} to 0
	if {Kredi::%player%} is not set:
		set {Kredi::%player%} to 0

on rightclick with paper:
	if name of player's tool is "&bVIP Kağıdı":
		execute console command "/manuadd %player% vip"
		send "&a&lARTIK VIPSIN!"
	
on death:
	if attacker is player:
		if {Öldürme::%attacker%} is 100:
			add 5 to {Kredi::%attacker%}
			send "100 kişi öldürdüğünden 5 puan kazandın!"
			clear {Öldürme::%attacker%}
		else:
			add 1 to {Öldürme::%attacker%}
			stop

command /mağaza:
	executable by: players
	trigger:
		wait 2 tick
		open chest with 2 rows named "&c&lMAĞAZA" to player
		wait 2 tick
		format slot 0 of player with ender pearl named "&b&l5 KREDI" to close then run "magazac %player% enderpearl 5"

command /magazac [<text>] [<text>] [<text>]:
	executable by: console
	trigger:
		if arg 1 is set:
			if arg 2 is "enderpearl":
				if arg 3 is set:
					set {_para} to "%arg 3%" parsed as integer
					set {_p} to "%arg 1%" parsed as player
					if {Kredi::%{_p}%} > {_para} - 1:
						remove {_para} from {Kredi::%{_p}%}
						give a ender pearl to {_p}
						send "Başarıyla satın aldın" to {_p}
				


Usta skriptçi değilim kusura bakma :)
Oyunoskop is coming ...

OnurCreed

Beginner

  • "OnurCreed" started this thread

Posts: 5

Date of registration: Apr 6th 2016

  • Send private message

3

Wednesday, April 6th 2016, 7:49pm

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
on join:
	if {Öldürme::%player%} is not set:
		set {Öldürme::%player%} to 0
	if {Kredi::%player%} is not set:
		set {Kredi::%player%} to 0

on rightclick with paper:
	if name of player's tool is "&bVIP Kağıdı":
		execute console command "/manuadd %player% vip"
		send "&a&lARTIK VIPSIN!"
	
on death:
	if attacker is player:
		if {Öldürme::%attacker%} is 100:
			add 5 to {Kredi::%attacker%}
			send "100 kişi öldürdüğünden 5 puan kazandın!"
			clear {Öldürme::%attacker%}
		else:
			add 1 to {Öldürme::%attacker%}
			stop

command /mağaza:
	executable by: players
	trigger:
		wait 2 tick
		open chest with 2 rows named "&c&lMAĞAZA" to player
		wait 2 tick
		format slot 0 of player with ender pearl named "&b&l5 KREDI" to close then run "magazac %player% enderpearl 5"

command /magazac [<text>] [<text>] [<text>]:
	executable by: console
	trigger:
		if arg 1 is set:
			if arg 2 is "enderpearl":
				if arg 3 is set:
					set {_para} to "%arg 3%" parsed as integer
					set {_p} to "%arg 1%" parsed as player
					if {Kredi::%{_p}%} > {_para} - 1:
						remove {_para} from {Kredi::%{_p}%}
						give a ender pearl to {_p}
						send "Başarıyla satın aldın" to {_p}
				


Usta skriptçi değilim kusura bakma :)



Oyuncular kendi kredilerini göremiyor + oyunculara kredi ekleyemiyorum /magazac komutunu anlamadım. Oyuncular vip kagıdını ne ile alıcak? magaza diamond kilic eklermisin?

smt287

Professional

  • "smt287" is male

Posts: 5,503

Date of registration: Apr 13th 2014

Location: Bursa

Occupation: Öğrenci

  • Send private message

4

Wednesday, April 6th 2016, 10:06pm

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
on join:
	if {Öldürme::%player%} is not set:
		set {Öldürme::%player%} to 0
	if {Kredi::%player%} is not set:
		set {Kredi::%player%} to 0

on rightclick with paper:
	if name of player's tool is "&bVIP Kağıdı":
		execute console command "/manuadd %player% vip"
		send "&a&lARTIK VIPSIN!"
	
on death:
	if attacker is player:
		if {Öldürme::%attacker%} is 100:
			add 5 to {Kredi::%attacker%}
			send "100 kişi öldürdüğünden 5 puan kazandın!"
			clear {Öldürme::%attacker%}
		else:
			add 1 to {Öldürme::%attacker%}
			stop

command /mağaza:
	executable by: players
	trigger:
		wait 2 tick
		open chest with 2 rows named "&c&lMAĞAZA" to player
		wait 2 tick
		format slot 0 of player with ender pearl named "&b&l5 KREDI" to close then run "magazac %player% enderpearl 5"
		format slot 1 of player with diamond named "&b&lb VIP AL" to close then run "magazac %player% vip 50"

command /magazac [<text>] [<text>] [<text>]:
	executable by: console
	trigger:
		if arg 1 is set:
			if arg 2 is "enderpearl":
				if arg 3 is set:
					set {_para} to "%arg 3%" parsed as integer
					set {_p} to "%arg 1%" parsed as player
					if {Kredi::%{_p}%} > {_para} - 1:
						remove {_para} from {Kredi::%{_p}%}
						give a ender pearl to {_p}
						send "Başarıyla satın aldın" to {_p}
			if arg 2 is "vip":
				if arg 3 is set:
					set {_para} to "%arg 3%" parsed as integer
					set {_p} to "%arg 1%" parsed as player
					if {Kredi::%{_p}%} > {_para} - 1:
						remove {_para} from {Kredi::%{_p}%}
						give a paper named "&bVIP Kağıdı" to {_p}
						send "Başarıyla satın aldın" to {_p}
						
command /kredi [<text>] [<text>] [<text>]:
	permission: sk.kredi.admin
	permission message: &cBunu yapmak için yetkin yok!
	trigger:
		if arg 1 is "ekle":
			if arg 2 is set:
				if arg 3 is set:
					add arg-3 to {Kredi::%arg 2%}
					send " &7> &b%arg 2% &aadlı oyuncuya &4%arg 3% kredi gönderdin." to player
					send " &7> &b%player% &aadlı yetkili sana &4%arg 3% kredi gönderdi." to arg-2
		if arg 1 is "sil":
			if arg 2 is set:
				if arg 3 is set:
					remove arg-3 from {Kredi::%arg 2%}
					send " &7> &b%arg 2% &aadlı oyuncudan &4%arg 3% kredi aldın." to player
					send " &7> &b%player% &aadlı yetkili senden &4%arg 3% kredi aldı." to arg-2


-> /kredi <ver/al> <oyuncu> <kredi-miktarı>

/magazaac komudu ek olarak magzaya birşey eklemek istiyorsanız skript içinden eklemelisiniz /magzaac komutu sadece konsoldan kullanılabilir.
__________________________________

|Kişisel Websitem|
|Discord|
|Steam|
__________________________________

Similar threads

Used tags

istek skript

Rate this thread