CS2D
Scripts
Reviving Player script
Reviving Player script
4 replies Hi guys! This is a request for a script.
sometimes, when I change my server to a jail one, a CT freekill a TS then I restart the round, but restarting the round while terrorist get items and try to kill CT's is a bad idea so I decided to request a reviving script.
Please, anyone help me.
Thanks. This is really a bad idea, restarting the round just because a CT freekilled? Instead you can choose to manually revive the freekilled terrorist and kicking or killing the freekiller. This is what i'am saying but how?
I'm actually asking in this thread a lua that could do that..
'On Death' (die) hook
Spawn player a short while after his death
Set his death count lower by one
Take care of freekiller I have just written a sample of this simple code.
kill
hit
These two hooks plus other minor hooks will work perfectly for trying to detect freekills.