Forum

> > CS2D > Scripts > Buy script
Forums overviewCS2D overview Scripts overviewLog in to reply

English Buy script

1 reply
To the start Previous 1 Next To the start

old Buy script

jeremias
User Off Offline

Quote
Thanks all for help, Edited!
edited 3×, last 30.07.14 04:23:53 am

old Re: Buy script

limonata
User Off Offline

Quote
Here is the code. I hope it'll help you.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
addhook("say","_say")
function _say(id,txt)
	if txt == "@kit" then
		if player(id,"team") == 1 then
			parse("equip "..id.." ".. 73)
			parse("equip "..id.." "..51)
			msg2(id,"Items were taken!")
			return 1
		else
			msg2(id,"©255000000You must be terrorist to use this command!")
			return 1
		end
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview