Raised This Month: $ Target: $400
 0% 

[HELP] SetEntProp for float values


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
notMe2
Member
Join Date: Feb 2014
Old 02-08-2015 , 18:40   [HELP] SetEntProp for float values
Reply With Quote #1

I'm trying to set a new value for a entity prop that is a float, but the dbg send this:

"Type is not a integer (1 != 0)"

and on the source code:

Code:
SetEntProp(entity,Prop_Send,"m_fEffects",0.0);
thanks in advance
notMe2 is offline
Darkness_
Veteran Member
Join Date: Nov 2014
Old 02-08-2015 , 18:42   Re: [HELP] SetEntProp for float values
Reply With Quote #2

SetEntPropFloat();

https://sm.alliedmods.net/api/index....ad=show&id=84&

Last edited by Darkness_; 02-08-2015 at 18:42.
Darkness_ is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 02-08-2015 , 20:05   Re: [HELP] SetEntProp for float values
Reply With Quote #3

Member: m_fEffects (offset 164) (type integer) (bits 14) (Unsigned)

m_fEffects is NOT a float. Pass an integer instead.
Mitchell is offline
notMe2
Member
Join Date: Feb 2014
Old 02-08-2015 , 20:12   Re: [HELP] SetEntProp for float values
Reply With Quote #4

Quote:
Originally Posted by Darkness_ View Post
thanks
notMe2 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:35.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode