Get Notarget Mode?
I am missing a get_user_notarget function or similar.
Anyone knows where I can find such function? (Notarget Mode disables Monsters attacking Players) |
Re: Get Notarget Mode?
set_pev(victim, pev_flags, pev(victim, pev_flags) | FL_NOTARGET) should work.
|
Re: Get Notarget Mode?
Thanks I'll try.
EDIT: It works! Not that that surprises me. VEN is always correct. ;p Another question: How to activate fly mode? I tried FL_FLY and FL_FLOAT instead of FL_NOTARGET but that one did not work. Not even if combined with noclip mode. |
Re: Get Notarget Mode?
Noone? Come on VEN! I know you know it! You know everything you know. :p
|
Re: Get Notarget Mode?
Unfortunately set_pev(id, pev_movetype, MOVETYPE_FLY) will not work for some reason so i can offer quite ugly workaround.
Code:
|
| All times are GMT -4. The time now is 16:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.