Raised This Month: $ Target: $400
 0% 

Suicide blocker


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Votorx
Senior Member
Join Date: Jun 2004
Old 01-25-2005 , 12:24   Suicide blocker
Reply With Quote #1

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.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 01-25-2005 , 14:14  
Reply With Quote #2

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.
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-25-2005 , 19:53  
Reply With Quote #3

Code:
public client_kill(id) {   return PLUGIN_HANDLED; }

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?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Votorx
Senior Member
Join Date: Jun 2004
Old 01-26-2005 , 07:26  
Reply With Quote #4

Avanlanche you test that? From what I understand that doesn't work.

Quote:
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.
No i didn't atually block it, it seems that way though. I haven't used fakemeta because I started makin this plugin before the new amxx mod was released. I stopped and restarted it just now. I respawn them like .01 seconds after they die.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-26-2005 , 15:27  
Reply With Quote #5

Yes, I did test that, I've used it in two of my plugins already and it works.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Votorx
Senior Member
Join Date: Jun 2004
Old 01-26-2005 , 18:47  
Reply With Quote #6

Well that's really weird. I suppose you did this with the new amxx because Im 100% positive that didn't work before.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 01-27-2005 , 00:17  
Reply With Quote #7

client_kill is a forward. Maybe you tried to hook the kill command with register_clcmd or register_concmd to client_kill instead?
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Votorx
Senior Member
Join Date: Jun 2004
Old 01-27-2005 , 07:15  
Reply With Quote #8

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.
__________________
Currently Looking for a mod team.
Votorx is offline
Send a message via AIM to Votorx Send a message via MSN to Votorx Send a message via Yahoo to Votorx
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode