Forum

> > CS2D > Scripts > Shoot a player get money?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Shoot a player get money?

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Shoot a player get money?

deadlox995
User Off Offline

Zitieren
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?

alt Re: Shoot a player get money?

Hajt
User Off Offline

Zitieren
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

alt xD

Yashukiller
User Off Offline

Zitieren
its in default when u kill a player u would get money 300
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht