Raised This Month: $ Target: $400
 0% 

Bug DEAD Anim with Frozen players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Vike Dragon
Junior Member
Join Date: May 2009
Location: Russia
Old 06-09-2013 , 08:51   Bug DEAD Anim with Frozen players
Reply With Quote #1

Hello !!!

Please help me with bug:

I adds plug to freeze player by console command fr.
If player freezed and type command kill in console, then make player-fantom bug with no corps.
How fix it ? I am Particle fixed by hooked TakeDamage and calc hp, but with kill command bug has.
Sorry for my baddly English.
Attached Files
File Type: sma Get Plugin or Get Source (amxx_fr_test.sma - 575 views - 1.6 KB)
Vike Dragon is offline
President
Member
Join Date: May 2013
Old 06-09-2013 , 13:18   Re: Bug DEAD Anim with Frozen players
Reply With Quote #2

PHP Code:
register_forward(FM_ClientKill"function"); 
You can just supercede the function to block kill command.
But if you want, you can remove the frozen flags

Last edited by President; 06-09-2013 at 13:18.
President is offline
Vike Dragon
Junior Member
Join Date: May 2009
Location: Russia
Old 06-12-2013 , 03:54   Re: Bug DEAD Anim with Frozen players
Reply With Quote #3

Quote:
Originally Posted by President View Post
PHP Code:
register_forward(FM_ClientKill"function"); 
You can just supercede the function to block kill command.
But if you want, you can remove the frozen flags
Thank you, but this not work, player bugging, check Freeze player by command from plugs (see up) and kill from console.

This question not so easy

Last edited by Vike Dragon; 06-12-2013 at 03:59.
Vike Dragon is offline
a7811311622
Member
Join Date: Apr 2010
Old 06-12-2013 , 04:55   Re: Bug DEAD Anim with Frozen players
Reply With Quote #4

Quote:
Originally Posted by Vike Dragon View Post
Hello !!!

Please help me with bug:

I adds plug to freeze player by console command fr.
If player freezed and type command kill in console, then make player-fantom bug with no corps.
How fix it ? I am Particle fixed by hooked TakeDamage and calc hp, but with kill command bug has.
Sorry for my baddly English.
You use IsFrozen to check FL_FROZEN, but you don't set anything for variable "frozen"...
__________________
a7811311622 is offline
Reply


Thread Tools
Display Modes

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


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