Check if user is alive or is dead
Hello guys
I have this camera plugin and i need help please I want the plugin to change automatically to 3rd person when you die and back to first person when you are alive. Can somebody help me with some code? HTML Code:
#include <amxmodx> |
Re: Check if user is alive or is dead
1. You should remove plugin_modules() since it's deprecated https://www.amxmodx.org/api/amxmodx/plugin_modules
2. Make a bool and when player is dead, mark it as true and at the player spawn mark it as false. |
Re: Check if user is alive or is dead
Quote:
PHP Code:
|
Re: Check if user is alive or is dead
Quote:
Code:
|
Re: Check if user is alive or is dead
Quote:
Because this plugin making red/white small rocket in my server at barrier block in zombie basebuilder mod PHP Code:
|
Re: Check if user is alive or is dead
Because the set_view function creates an invisible rpgrocket model as a dummy when used to serve as a camera entity. If not precached, the server will crash. This has been fixed in 1.9 and is automatically precached.
|
Re: Check if user is alive or is dead
Quote:
|
Re: Check if user is alive or is dead
Thanks guys, is there a way to block the player canera only on "Locked chase cam" or "freelook"?
|
Re: Check if user is alive or is dead
yeah search.
|
| All times are GMT -4. The time now is 13:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.