Page 1 of 1

headshot without the head removed

Posted: Wed May 22, 2019 2:55 pm
by daren adler
I am using the headshot plugin that is on here, could someone make it so the heads dont come off? but the sound and overlays still work. The script is here viewtopic.php?f=37&t=1372

also,,i have this on my server console saying this all the time

Code: Select all

SP caught an exception:
file "..\addons\source-python\plugins\blood\blood.py", line 23 in _pre_take_damage
weapon_index = info.weapon

SP caught an exception:
file "..\addons\source-python\packages\source-python\listeners\tick", line 80 in _tick
weapon_index = info.weapon

ValveError _remove_overlay() argument after*must be an iterable,not int

Re: headshot without the head removed

Posted: Thu May 23, 2019 4:20 pm
by Ayuto
Like I said here, it seems like you type the tracebacks (they are the errors messages) by hand instead of copying and pasting them. As a result of this, the error messages have multiple typos and are incomplete, which makes it hard to help you.

Why don't you simply copy and paste the error messages?

However, I have just fixed the error that mentions the call to _remove_overlay() in Satoon's code, which you have linked in your post. Now, the overlay should disappear.

Re: headshot without the head removed

Posted: Thu May 23, 2019 4:41 pm
by daren adler
ok. and i went to my server console,,and on there i copyed it and pasted it on here,,i thought i had to put

Syntax: Select all

your code here
for you guys to be able to read it,,but i was wrong,,thank you again.

Re: headshot without the head removed

Posted: Thu May 23, 2019 4:44 pm
by Ayuto
I guess you are trolling me...