is_user_alive
Code:
Is_user_alive(id)Or just is he connected and is he alive? |
Re: is_user_alive
Quote:
Anyway, if an user is alive... it means he's obviously connected. And this native is_user_alive, to check if someone is alive has to check before if he's connected. |
Re: is_user_alive
It does check if he's alive and connected true.
Not sure if it checks whether or not the index is a player. |
Re: is_user_alive
If it's not a player, then ofc it's not alive.
|
Re: is_user_alive
Entities and bots can't be alive? :?
|
Re: is_user_alive
Quote:
Code:
is_user_alive(id)Code:
#define IsPlayer(%1) (1<=%1<=g_max_clients) |
Re: is_user_alive
Yes it is pointless, but anyway your code shouldn't call tha native on a non player entity, else it means your code has something wrong, and in that case an error will be generated.
|
| All times are GMT -4. The time now is 12:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.