[ZE] Breakable manager
1 Attachment(s)
[ZE] Breakable manager Description: a simple plugin that will let you block/punish players who break objects while their teammates still using them Cvars: ze_nobreak 1/0: Block breaking objects that teammates still use. ze_punishbreaker 1/0: Punish players who break objects that teammates still use ( ze_nobreak should be set to 0 ). Changelog: Code:
-V1.0: |
Re: [ZE] Breakable manager
Should this be moved to ZP section? It doesn't seem to have any zombie specific code.
Could it be useful in any other mods? |
Re: [ZE] Breakable manager
Quote:
|
Re: [ZE] Breakable manager
Then I'm okay with reviewing and eventually approving. Anyone with a different opinion?
|
Re: [ZE] Breakable manager
Quote:
|
Re: [ZE] Breakable manager
I kinda wanted someone to say if they find this useful or not, given it's a really simple plugin.
Well, I guess it doesn't matter. IsAllowedToBreak, IsSameTeam, punish should not be "public" as they are internal to the plugin and not called from the outside. You should be using get_players instead of a loop from 1 to max players. IsAllowedToBreak, IsSameTeam can be tagged with "bool:". Fix your spacing here: PHP Code:
|
Re: [ZE] Breakable manager
Quote:
https://escapers-zone.net/viewtopic.php?f=15&t=3364 As I know it has known issues like the last one who shoots the breakable entity and it breaks. He will die. |
Re: [ZE] Breakable manager
No changes, unapproved. If you decide to update the plugin and want to request a new review please PM me.
|
All times are GMT -4. The time now is 22:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.