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.

  • "melihcan5644" started this thread

Posts: 8

Date of registration: Sep 16th 2017

  • Send private message

1

Wednesday, November 1st 2017, 9:12pm

Ölünce %15 Para Gitme Skriptti

Ben Biri Ölünce Onun Bakiyesinden %15 Para gitmesini istiyom ARadım bulamadım Help me

xXxcCcJc

Trainee

  • "xXxcCcJc" is male

Posts: 608

Date of registration: Aug 30th 2016

Location: İstanbul

Occupation: Öğrenci

  • Send private message

2

Thursday, November 2nd 2017, 8:16pm

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
on death:
	victim is player
	send "&cÖldüğün için paran %%15 kadar gitti." to victim
	execute console command "g %victim% 15"
command /g [<player>] [<integer>]:
	executable by: console
	trigger:
		set {para.%arg-1%} to balance of arg-1
		set {gidecek.%arg-1%} to {para.%arg-1%} / arg-2
		remove {gidecek.%arg-1%} from balance of arg-1
		send "&bYeni bakiyen: %arg-1's balance%" to arg-1
		delete {gidecek.%arg-1%}
		delete {para.%arg-1%}
		stop trigger