So, my Problem is I’ve got a Taser SWEP. But, if a Player gets tasered - and the one, who tasers his gets killed - the player is still tasered and needs to be slayed - otherwise he won’t respawn.
Below is the Code, wheres my problem?
Yeah, cause I downloaded this SWEP fucking long time ago on garrysmod. Then updated the code to GM13 (only thing which changes was IsValid). Anyways, there was never a author or anything else in the code. I Just added those fields.
If you know who made the original code, go on
What are you talking about? Did you even had a look at the Code?
No, it is not the casual GM13 Timers Bug… Oh my gosh, I’m not such a idiot - Or do you think I would post here, If I would be able to find the solution in the web?
The PROBLEM is;
People get tazered, and if the person who shot with the tazer, dies - those tazered people will stay a ragdoll for ever.
Actually, I know what you mean. I was suggesting using simple timers so that they don’t get destroyed on removal of swep. But, after taking a second look, this is the probable issue:
That relies on the SWEP being valid still. Change it to
Then change the things that call self:taserevive to just taserevie. That should do it.