Vampire bug
Whats wrong here? When I kill an opponent I am given hp and shown the specified effect, but when I get killed myself the same happens.. How could I fix that?
PHP Code:
|
Re: Vampire bug
Do a check that killer must not be the same than victim, If I understand well.
|
Re: Vampire bug
Do you have any ideas on where "victim" should be?
|
Re: Vampire bug
read_data(2)
|
Re: Vampire bug
PHP Code:
|
Re: Vampire bug
Quote:
|
Re: Vampire bug
By the way :
- You should use pcvar - MSG_ONE -> MSG_ONE_UNRELIABLE - LANG_PLAYER -> iKiller ( LANG_PLAYER should be used for all players, 0 as id ) |
Re: Vampire bug
Quote:
PHP Code:
|
Re: Vampire bug
Everythings fine, just that when an admin chooses the vampire function and kills someone, everyone in the server is given hp. How do I make it so only the admin would get hp.
PHP Code:
|
Re: Vampire bug
0x0000 ->
#define FFADE_IN 0x0000 |
| All times are GMT -4. The time now is 02:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.