Raised This Month: $ Target: $400
 0% 

check if a user is rendering(glowing)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Vieni
Member
Join Date: Apr 2018
Old 05-02-2020 , 16:56   Re: check if a user is rendering(glowing)
Reply With Quote #4

Quote:
Originally Posted by Ynet View Post
the get_user_team part is less relevant i just wanted to give an example on how i want to do it

and unfortnately i don't think i have the new amxx version, any other way to do it with the older versions?
If you're putting the rendering, you can just easily use these:
Code:
    
if(entity_get_int(id, EV_INT_rendermode) == your rendermode)

or

if(entity_get_int(id, EV_INT_renderfx) == your render fx)

or

if(entity_get_float(id, EV_FL_renderamt) == your render amount)
These are engine functions, for fakemeta use these:
Code:
pev(id, pev_rendermode or pev_renderfx or pev_renderamt)

Last edited by Vieni; 05-02-2020 at 16:56.
Vieni is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode