How do I get a value from an entity output?
I'm trying to hook OnSidesPicked from the mapvetopick_controller using
PHP Code:
|
Re: How do I get a value from an entity output?
Thanks to AdRiAnIlloOs help, I managed to get this code to work:
PHP Code:
PHP Code:
Apparently there has been an attempt by the devs to also make it work with GetEntProp(): https://forums.alliedmods.net/showpo...5&postcount=16 But this has never made it to the stable branches. |
Re: How do I get a value from an entity output?
Quote:
|
Re: How do I get a value from an entity output?
Quote:
Code:
COutputVariant Code:
CBaseEntityOutput Then, it gave me the impression that such support wasn't applied on the stable branch (I'm using 1.10) because using the following code: Code:
#include <sdktools_entoutput> Code:
L 06/14/2021 - 19:14:00: [SM] Exception reported: Data field m_OutValue is not a float (11 != [1,16]) Code:
GetEntProp |
Re: How do I get a value from an entity output?
It looks like support was missed from the float functions, I've filed a bug for you.
|
Re: How do I get a value from an entity output?
Quote:
|
All times are GMT -4. The time now is 23:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.