Simple Respawn
Hello all! I tried to make a simple respawn plugin with a say command using the Ham respawn method, and was told my code wasn't working. Will you all look at it? :)
PHP Code:
|
Re: Simple Respawn
Your code will work when player is not alive..
cstrike is not necessary.. PHP Code:
PHP Code:
|
Re: Simple Respawn
You forgot to add space between say and /respawn
|
Re: Simple Respawn
I do not see that.
But yes @Sylwester is right |
Re: Simple Respawn
Ah thanks. and it was supposed to work when the player is not alive. Thanks!!
|
Re: Simple Respawn
Code:
|
Re: Simple Respawn
( cs_get_user_team( id ) == CS_TEAM_T || cs_get_user_team( id ) == CS_TEAM_CT )
-> ( CS_TEAM_T <= cs_get_user_team( id ) <= CS_TEAM_CT ) |
Re: Simple Respawn
Not necessary to check is_user_connected if You used is_user_alive() because is_user_alive() already check if user is connected.
|
Re: Simple Respawn
Quote:
|
Re: Simple Respawn
Ahhh ^_o
|
| All times are GMT -4. The time now is 14:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.