Raised This Month: $ Target: $400
 0% 

check if a user is rendering(glowing)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Ynet
Member
Join Date: Aug 2017
Location: israel
Old 05-02-2020 , 23:52   Re: check if a user is rendering(glowing)
Reply With Quote #5

Quote:
Originally Posted by Vieni View Post
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)

PHP Code:
public checkglow(id)
{
    
    if(
pev(idpev_renderfx ))
    {
        
ColorChat(id,"Glowing");
    }
    else
    {
        
ColorChat(id,"Not Glowing");
    }
    

found the perfect match, thank you.
Ynet 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