And of course, always give credit to NaSH.
Forum
CS2D Scripts Headshot SystemHeadshot System
3 replies 1
And of course, always give credit to NaSH.
Read the rules!!!
Don't use translators!
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
local headshot_chance = 10 -- chance of a headshot math.randomseed(os.time()) function headshot_check(source, victim) 	if ( math.random(1, 100) <= headshot_chance ) then 		parse("customkill "..source.." \"headshot\" "..victim) 	end end
1