Forum

> > CS2D > Scripts > Shoot a player get money?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Shoot a player get money?

4 replies
To the start Previous 1 Next To the start

old Shoot a player get money?

deadlox995
User Off Offline

Quote
I try to make a Scripts that make when you shoot a player it give you 10$, but i try to make it and failed... can some one show me how to make this?

old Re: Shoot a player get money?

Hajt
User Off Offline

Quote
1
2
3
4
5
6
7
addhook("hit","myhithook")

function myhithook(id, source, weapon, hpdmg)
	if player(source, "exists") then
		parse("setmoney "..source.." "..player(source, "money") + 10)
	end
end

old xD

Yashukiller
User Off Offline

Quote
its in default when u kill a player u would get money 300
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview