Block Damage
Would this work to block damage for all players except admins?
PHP Code:
|
Re: Block Damage
look how are you hooking the takedamage.
|
Re: Block Damage
Quote:
PHP Code:
|
Re: Block Damage
If you remove
Code:
if(!(get_user_flags(attacker) & ADMIN_USER)) |
Re: Block Damage
I know that but i want to block it only for admin_user not admins (players with flag Z)
So that admin is alowed to destroy but player is not. |
Re: Block Damage
Sorry I didn't understood you. There
PHP Code:
Code:
ADMIN_LEVEL_B |
Re: Block Damage
Nope that is not blocking it but you know what i want to do.
|
Re: Block Damage
Do you tested the code ? ( i mean , the code by hezerf )
|
Re: Block Damage
Quote:
|
Re: Block Damage
Quote:
Or they can be the only players to deal damage to anything? |
All times are GMT -4. The time now is 06:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.