hit indicator
I can't seem to get a hit indicator to work at all. nothing seems to print. here's my code.
PHP Code:
|
Re: hit indicator
Try to use HamTakeDamage
|
Re: hit indicator
Quote:
|
Re: hit indicator
I tried using Ham_TakeDamage, but it still doesn't work. Here is my code:
PHP Code:
|
Re: hit indicator
You can format the strings directly in the client_print native - there's no need to make variables and use format.
|
Re: hit indicator
Quote:
But can ANYONE help me figure out why this won't show the X to the attacker, or any of the prints when damage is done. Its driving me mad. I've looked at 3 different examples of similar functionality and it should work. Am i missing anything? Is the server stupid? Is my compiler a craphole? Here's my current code, shortened to keep the extraneous code out of people's minds. PHP Code:
|
Re: hit indicator
I'm going to be blatant.
Bump. |
Re: hit indicator
I tested it now.
The chat message works fine. The "X" HUD message doesn't show - you have typed -1.5 as Y coordinate, but that's wrong, you meant -1.0? |
Re: hit indicator
Quote:
Just wondering, what makes the "-1.5" wrong? Is it just obscure to move in half-marks or does the float really not work like that? |
Re: hit indicator
The maximum is 1.0, the minimum is 0.0 (-1.0 is centered), another values will be outside the screen.
|
| All times are GMT -4. The time now is 07:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.