Invisibility
I cant get this to work can anyone help?
Code:
|
Wouldn't You Fool Around With The Alpha? 0,0,0?
like 255,255,255? Or maybe you are using the wrong .incs maybe you need another #include :D your welcome if this helped :) |
doh thanks i did ferget to include engine
|
okay i fixed it
my problems were i didnt include engine and i used set_user_visibility instead of set_entity_visibility Thanks again dizzy |
ok this is weird my current script (below) is making everyone invisible :?
and i cant make them not spys with amx_unspy :? can someone help? Code:
|
Make it a clcmd
so when an admin (only) says it it does it on him Plus you don't have to do it into the console Code:
Then I Think It Would Only Do The Script On The Client That Commands It :D Try That[/small] |
wat it should do is make admins with ban acess auto invisible and no footsteps
wat it does do is make everyone invisible with no footsteps and also theres something wrong with amx_unspy i cant figure it out |
You need to create "spy" with a size of 33, not 32. All of "get_user_flags(id) && ADMIN_BAN" should be "get_user_flags(id) & ADMIN_BAN", and the entity visibility will probably reset every round anyway.
|
I fooled around with set_user_rendering and I got this cool little effect where the player is completely invisible, and there's a small little shadow underneath him :).
|
Don't use set_entity_visibility() to make players invisible, if you intend to do other stuff like running around etc. I think it causes a couple of sideeffects. It just adds a EF_NODRAW flag to EV_INT_effects. This thing likely has other uses... Maybe something like when you want to "disable" an entity for awhile.
Use set_user_rendering for that instead. I could be wrong though, but this is how I remember it. |
| All times are GMT -4. The time now is 14:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.