Spawn Health Bug Fix v2.0
1 Attachment(s)
Spawn Health Bug Fix v2.0 When a new round begins and you are spawned, it's usually happening to see in the bottom of the screen an incorrect value of health. Spawn Health Bug Fix v2.0 repairs this bug. Required extensions: Code:
HamSandwich |
Re: [AMXX] Life MSG
So this fixes the problem, when someone spawns and its shows 1 HP and where did this bug come from? If this fixes it then thank you :)
|
Re: [AMXX] Life MSG
Probably from the server's engine extensions.
|
Re: [AMXX] Life MSG
Ty mate, going on my server ASAP :)
|
Re: [AMXX] Life MSG
It's like we are unable to check player 32 while he's playing.
He is only a ghost. |
Re: [AMXX] Life MSG
You have to filter 1st spawn, it occurs between client_connect and client_putinserver.
Also, cache get_user_msgid value in a global cvar. May be only send that message when player id is 32, and pause the plugin if maxplayers is different from 32. Are you sure that you have to send a message at spawn PRE and spawn POST ? |
Re: [AMXX] Life MSG
you should add alive check ^^
|
Re: [AMXX] Life MSG
Also make sure the server is 32 slots and player id is 32.
Is health updated fine when player 32 takes damage ? Do you really need to send Health at pre AND post spawn ? |
Re: [AMXX] Life MSG
You also don't need two functions if you're doing the exact same thing, you could just use AtSpawn() for both hooks.
|
Re: [AMXX] Life MSG
Quote:
|
All times are GMT -4. The time now is 13:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.