setting EF_NODRAW on a player (rendering them with no alpha wont work)
PHP Code:
|
Re: setting EF_NODRAW on a player (rendering them with no alpha wont work)
set_entity_visibility() and get_entity_visibility() in engine_stocks.inc
|
Re: setting EF_NODRAW on a player (rendering them with no alpha wont work)
okay, thanks exolent, but my code is failing to work, it will keep resetting invisibility when someone is NOT holding attack key, which is the opposite of what I was aiming for, I want to set the user as visible when they are previously invisible and are holding the attack key. (if that makes sense)
PHP Code:
|
Re: setting EF_NODRAW on a player (rendering them with no alpha wont work)
So only show the player when the player is attacking?
|
Re: setting EF_NODRAW on a player (rendering them with no alpha wont work)
yes, and I already have the part of the plugin where the player is invisible otherwise
|
| All times are GMT -4. The time now is 03:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.