Suicide blocker
I've successfully made a suicide blocker, since, from what I heard there was none. The only problem I have is that a split second after they try committing suicide they see a black screen before they respawn (since I can't seem to block the suicide directly). How can I get it so they can respawn fast enough to not see that black screen? I didn't see much reason in postin the code seeing as I just need a quick way to respawn without any delay time.
|
wait did u block suicide? Or just spawn them after they did it?
B/c you CAN actually block it using fakemeta I'm pretty sure. |
Code:
That was a very small plugin, unless of course you mean keep them from jumping off of ledges and blowing themselves up, in which case if all you do is respawn them it isn't really blocking it at all. I'm not sure if there is a way to get rid of the black screen, how long do you wait after they die to respawn them? |
Avanlanche you test that? From what I understand that doesn't work.
Quote:
|
Yes, I did test that, I've used it in two of my plugins already and it works.
|
Well that's really weird. I suppose you did this with the new amxx because Im 100% positive that didn't work before.
|
client_kill is a forward. Maybe you tried to hook the kill command with register_clcmd or register_concmd to client_kill instead?
|
Nope, never made that mistake. I remember there being a whole thread on this and it didn't work on the previous versions. Guess they fixed it now.
|
| All times are GMT -4. The time now is 19:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.