Thread: [Solved] pev_groupinfo thing
View Single Post
JocAnis
Veteran Member
Join Date: Jun 2010
Old 11-14-2018 , 18:00   Re: pev_groupinfo thing
Reply With Quote #4

its fixed now...Kusfield and i went with this adventure, with many combinations of bits, and finally came to solution, when you have more entities:

PHP Code:
//on players spawn:
set_pevidpev_groupinfo0xFFFFFFFF )

//when creating entity:
set_peventpev_groupinfo1<<current_ent )
//g_ent[ current_ent++ ] blabla

//set solid_not to that one entity for player1: Must be reversed bit than the entity's 
set_pevidpev_groupinfo, ~(1<<CURRENT_ENT_BIT) )

//to make it solid again for player1:
set_pevidpev_groupinfo0xFFFFFFFF 
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)

Last edited by JocAnis; 11-15-2018 at 08:17. Reason: solved thanks to kusfield
JocAnis is offline