Thread: [Solved] pev_groupinfo thing
View Single Post
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 11-14-2018 , 16:34   Re: pev_groupinfo thing
Reply With Quote #2

I believe that instead of "| id and & ~id" you must use something like this
Code:
set_pev( ent, pev_groupinfo, pev( ent, pev_groupinfo ) | ( 1<<(id & 31) )
Same idea for resetting the entity.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh