Raised This Month: $51 Target: $400
 12% 

new respawn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
man_s_our
Senior Member
Join Date: Jul 2017
Location: aim_taliban
Old 03-09-2018 , 20:02   Re: new respawn
Reply With Quote #11

Quote:
Originally Posted by D3XT3R View Post
can be done with better ways
Code:
#include < amxmodx > #include < amxmisc > #include < hamsandwich > public plugin_init( ) {     RegisterHam( Ham_Killed, "player", "Ham_PlayerDeath", 1 ) } public Ham_PlayerDeath( victim, attacker, shouldgib ) {     set_task( 1.0, "respawn", victim ) } public respawn( victim ) {     if( is_user_alive( victim ) )         return         ExecuteHamB( Ham_CS_RoundRespawn, victim ) }
does the code worked with that plugin?
because it doesn't record c4's victims as I observed.

edit:
tested it and it works.
thanks.

2nd edit:
it respawns only human players not bots.
__________________

Last edited by man_s_our; 03-10-2018 at 09:47.
man_s_our is offline
 



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 02:16.


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