Making a window unbreakable...
Is there a way to set just one window unbreakable with the entID?
If there is, could you please tell me how? Thanks :wink: |
Code:
|
Code:
Code:
I think that the entity's setting resets to its default after the end of a round, so you might want to set the window to be unbreakable, everytime a new round starts. So you might need to use this code: Code:
|
takedamage was the first thing I tried, and it didn't work. Also with my way it doesn't reset after new round.
|
I will try... thx =D
Should I put this piece of code in public client_putinserver ? |
Put it in plugin_cfg() or plugin_init().
Also, ent id's change on mapchange. |
If a window respawns, will it still be invincible? I tried that once and if you did force_use on it, it would respawn as breakable.
|
| All times are GMT -4. The time now is 05:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.