AddToFullPack hide entity from specific player
I am very confused as to how this thing works in AMXX. In a module, you would return a value of either MRES_IGNORED (To render the model to said player) or MRES_SUPERCEDE (To not render). I don't really want to set the rendering mode, because it doesn't even work. I am only trying to show/hide models to certain players with return values. Is it possible?
I don't understand how the AMXX equivalent works. Not many threads are correct nor provide enough detail about it. PHP Code:
Tried using 0 and 1 as return values. Nothing. |
Re: AddToFullPack hide entity from specific player
you can't block anything after it is already happened
Code:
Return 1 if the entity state has been filled in for the ent and the entity will be propagated to the client, 0 otherwise |
Re: AddToFullPack hide entity from specific player
Tried hooking Pre before, but I'm still being showed the entity.
|
Re: AddToFullPack hide entity from specific player
well probably could do it with orpheu then, if you still want to use fm you'll have to change rendering to make an entity invisible. or you could use groupinfo - that will also make addtofullpack return 0, but it does a lot more than just making it invisible
|
Re: AddToFullPack hide entity from specific player
Code:
|
Re: AddToFullPack hide entity from specific player
Well, I've tried everything now and got CrazY.'s method working, but should be hooked with Post and not Pre. Thanks!
|
All times are GMT -4. The time now is 21:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.