Entity question
This code will reset any block that is around doors at zombie spawn.
But the problem is that if there are two doors, plugin is removing blocks at the center between these two doors. How to fix that? PHP Code:
PHP Code:
|
Re: Entity question
I'm not sure, But I think those 2 doors are 1 entity. You could make something, that would load data from a file for every map separately.
|
Re: Entity question
I thought about that but the problem is im not sure how to check if block is on given coordinates.
|
Re: Entity question
instead of plugin_init part of the code, create a system to read/write mins and max of the entrance and save it to a file. After that, loop through 2 separate bounds instead of only one
|
Re: Entity question
I'll try to do something with this, tomorrow since I don't have time today
https://forums.alliedmods.net/showpo...64&postcount=2 |
| All times are GMT -4. The time now is 20:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.