If player dead show him a hud message about the player info of he looking.
Check if the player still alive, if yes then hide the hud message and if dead, show the hud messgae.
I try to use is_user_alive, but I don`t know what I should put in {}. Secondly, my intention is to show the player info who the dead player looking, but now this code is show the info about myself. Can someone help me with this two question? Code:
public DHM(id) |
Re: If player dead show him a hud message about the player info of he looking.
Maby
PHP Code:
|
Re: If player dead show him a hud message about the player info of he looking.
Tried, nothing change with it...
|
Re: If player dead show him a hud message about the player info of he looking.
PHP Code:
|
Re: If player dead show him a hud message about the player info of he looking.
I tried, if change the code like yours the hud message is hide but even when a player dead hide too.
I have fixed only show the hud message for dead player. Code:
public DHM(id) |
Re: If player dead show him a hud message about the player info of he looking.
fireattack do you know what
PHP Code:
for the how to get user stuff, use targetid, theres also some threads about it. |
Re: If player dead show him a hud message about the player info of he looking.
Thanks. Fixed.
But now I get another problem, when a player who is not spectating someone, the hud message will show the player name to hostname, therefore, I want to hide the dead message if a dead player is not spectating someone. possible? |
| All times are GMT -4. The time now is 21:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.