check if a user is rendering(glowing)
is there a way to check if a person is glowing?
here is an example of how i want to check it PHP Code:
|
Re: check if a user is rendering(glowing)
It depends on which part of the glow effect you want to check. See the API to understand how the function works - https://www.amxmodx.org/api/fun/get_user_rendering
Bear in mind this function is only available in AMXX 1.9 or above. PS: there's no point in using "get_user_team" there. Simply add the "e" flag in "get_players" and set it to retrieve only CT players. |
Re: check if a user is rendering(glowing)
Quote:
and unfortnately i don't think i have the new amxx version, any other way to do it with the older versions? |
Re: check if a user is rendering(glowing)
Quote:
Code:
Code:
pev(id, pev_rendermode or pev_renderfx or pev_renderamt) |
Re: check if a user is rendering(glowing)
Quote:
PHP Code:
|
Re: check if a user is rendering(glowing)
Quote:
PHP Code:
|
Re: check if a user is rendering(glowing)
i need help here
any one to tell me what s the expresion if user is alive |
Re: check if a user is rendering(glowing)
"is_user_alive" returns if the client is alive.
"if" in programming is a conditional statement. That said, if (is_user_alive(index)) means that something will happen only if the player is alive. |
| All times are GMT -4. The time now is 16:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.