AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Bug DEAD Anim with Frozen players (https://forums.alliedmods.net/showthread.php?t=217922)

Vike Dragon 06-09-2013 08:51

Bug DEAD Anim with Frozen players
 
1 Attachment(s)
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.

President 06-09-2013 13:18

Re: Bug DEAD Anim with Frozen players
 
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

Vike Dragon 06-12-2013 03:54

Re: Bug DEAD Anim with Frozen players
 
Quote:

Originally Posted by President (Post 1967558)
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 :(

a7811311622 06-12-2013 04:55

Re: Bug DEAD Anim with Frozen players
 
Quote:

Originally Posted by Vike Dragon (Post 1967320)
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"...


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

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