Help with pev_groupinfo
I'm trying to make one entity SOLID_NOT for CT and SOLID for TR. I read here about pev_groupinfo and tried it. It works, but have one problem: i can pass not only in the ent, but through the enemies too. It's like a semiclip plugin... i don't want that. How to put it only for entity?
Here is the code pev_groupinfo: In entity part: PHP Code:
PHP Code:
|
Re: Help with pev_groupinfo
Instead of changing players groupinfo, change the entities.
|
Re: Help with pev_groupinfo
I have the same question..
|
Re: Help with pev_groupinfo
Quote:
Ent's part (CT id): Code:
set_pev(ent, pev_groupinfo, pev(ent, pev_groupinfo) | id); TR: Code:
set_pev(ent, pev_groupinfo, pev(ent, pev_groupinfo) & ~id) Code:
set_pev(ent, pev_groupinfo, pev(ent, pev_groupinfo) | id); |
Re: Help with pev_groupinfo
Show your full code if you really need help.
|
Re: Help with pev_groupinfo
Quote:
PHP Code:
|
Re: Help with pev_groupinfo
Works fine, credit for connor:
PHP Code:
|
Re: Help with pev_groupinfo
I try with the sandbags of zombie plague but dont work well, the humans can transfer but the zombies too and the owner of sandbags cant transfer them, why dont work well?
code: PHP Code:
|
Re: Help with pev_groupinfo
Quote:
|
Re: Help with pev_groupinfo
Bump. I still don't know how to do it! Help here..?! :?:
|
All times are GMT -4. The time now is 15:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.