Okay, i'm going to make a server and i need some plugins. I was looking for some ready made scripts but they didn't worked. I need Plugin that drops money from killed enemy or teammate (that money what victim actually had while was dying :P). Also one that deletes team kill punishment (-3300 money and -1 score). Can i make u will start game with no gun (usp - glock) just knife? Can u help me?
My English is bad and i should feel bad
I understand why u did it Sorry edited 5×, last 17.12.12 06:03:46 pm
Admin/mod comment
Removed the server advertisement. /Starkkz Please stop pushing - It's very annoying. It will only get you a temporary ban, no script. As i wrote i'm bad at English. I don't knot what pushing means. Sorry Do you know what Apple Pie means?
CS2D has no "plugins", just Lua scripts.
If you want to use them you should learn english at first. Some people used name plugins and i thought that's how i should name it.
Apple pie means pie with apples in it, right?
Ok, now i know "Apple Pie" don't means pie, sorry. edited 1×, last 17.12.12 07:24:28 pm
Are you asking for a Role-play script?
Scroll through the File Archive untill you find that nugga.
PS: You don't really have to interact with English Communities if you don't understand English. or w/e Im not looking for roleplay script Zombies gamemode. -> Roleplay
-> Zombies gamemode
-------
<removed>
EDIT:
Zombies gamemode? its here by default.. I know its default. I mean i don't want to have roleplay lua on zombie server. FIXED
1
2
3
4
5
6
dieItem = 65;
addhook("die","onDie")
function onDie(id)
	parse("spawnitem ".. dieItem .." ".. player(id,"tilex") .." ".. player(id,"tiley"));
end
When player die, then drop bandage edited 1×, last 17.12.12 08:06:50 pm
Gajos PL:
Thanks, its very usable. If i write next to bandage id some more id's it will drop all?
Dont read that spoiler. Other language, i don't want hate.
Spoiler Dzięki ale nie wolno tu gadać po polsku. Czy jeśli walne obok 65 czyli bandaża coś jeszcze to to też dropnie z zabitego? Da się zrobić tkaie coś z kasą ofiary?
Edit:
Script doesn't works.
LUA ERROR: ">" "expected near" "dieitem" edited 1×, last 17.12.12 07:59:51 pm
MAfia Pro has written
Gajos PL:
Thanks, its very usable. If i write next to bandage id some more id's it will drop all?
Dont read that spoiler. Other language, i don't want hate.
Spoiler Dzięki ale nie wolno tu gadać po polsku. Czy jeśli walne obok 65 czyli bandaża coś jeszcze to to też dropnie z zabitego? Da się zrobić tkaie coś z kasą ofiary?
FIXED
1
2
3
4
5
6
7
8
dieItem = {65,67};
addhook("die","onDie")
function onDie(id)
	for i in pairs(dieItem) do
		parse("spawnitem ".. dieItem[i] .." ".. player(id,"tilex") .." ".. player(id,"tiley"));
	end
end
Spoiler Teraz mozesz wpisac tyle itemow ile zechcesz, potem zrobie, ze jezeli gracz umze to wyleci z niego kasa i mu sie odejmie od jego kasy
edited 1×, last 17.12.12 08:09:13 pm
Thanks
EDIT:
Still nothing
that same but "dieitem" changes into "dieitem[i] edited 1×, last 17.12.12 08:16:07 pm
UPDATE
If you add money to the table dieItem, plugin subtracts money if the player dies.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dieItem = {65,67,66};
addhook("die","onDie")
function onDie(id)
	for i in pairs(dieItem) do
		if dieItem[i] == 66 then
			parse("setmoney ".. id .." ".. player(id,"money") - 100);
		elseif dieItem[i] == 67 then
			parse("setmoney ".. id .." ".. player(id,"money") - 500);
		elseif dieItem[i] == 68 then
			parse("setmoney ".. id .." ".. player(id,"money") - 1000);
		end
		parse("spawnitem ".. dieItem[i] .." ".. player(id,"tilex") .." ".. player(id,"tiley"));
	end
end
Admin/mod comment
MAfia Pro has written
It works
How it's possible?!
Spoiler For jest to petla w ktorej napisalem i, a i w tym oznacza wartosc in pairs czyli w czyms np in pairs(dieItem). I in pairs powtorzy tyle razy ta petle ile jest zeczy w tej tabeli, a do to jakby zakonczenie np z if jest then a w for jest do
Admin/mod comment
Spoiler To był żart. Przemyślisz moją propozycje?
Admin/mod comment