What is this?
L 05/06/2013 - 21:28:59: [ENGINE] Invalid player 0 (not in-game)
L 05/06/2013 - 21:28:59: [AMXX] Displaying debug trace (plugin "watf.amxx") L 05/06/2013 - 21:28:59: [AMXX] Run time error 10: native error (native "entity_range") L 05/06/2013 - 21:28:59: [AMXX] [0] float.inc::operator>(Float:,Float:) (line 138) L 05/06/2013 - 21:28:59: [AMXX] [1] watf.sma::client_PreThink (line 3578) In every second i've got this errors on console... At the line 138 I have: PHP Code:
PHP Code:
|
Re: What is this?
i think for the
Quote:
Quote:
|
Re: What is this?
You get that many errors because you badcoded something in the recursive function client_prethink() you probably did something wrong when passing the parameters in that native, as far as i can see, you passed an invalid data type.
Would you mind posting your client_prethink() code? |
Re: What is this?
This is it:
PHP Code:
|
Re: What is this?
Thanks for posting the function, here's what i figured out.
entity_range() returns the distance between two entities in a float datatype, i really don't know if this function checks if the two ents are valid, ignoring the player you should check if ferencere or distancemax entity is valid before doing anything. PHP Code:
|
Re: What is this?
Didn't work :( i still get those errors :(
|
Re: What is this?
PHP Code:
|
Re: What is this?
Quote:
|
Re: What is this?
Quote:
|
Re: What is this?
didn't work guys..i still get this errors:
L 05/10/2013 - 18:23:06: [ENGINE] Invalid player 0 (not in-game) L 05/10/2013 - 18:23:06: [AMXX] Displaying debug trace (plugin "watf.amxx") L 05/10/2013 - 18:23:06: [AMXX] Run time error 10: native error (native "entity_range") L 05/10/2013 - 18:23:06: [AMXX] [0] float.inc::operator>(Float:,Float:) (line 138) L 05/10/2013 - 18:23:06: [AMXX] [1] watff.sma::client_PreThink (line 3579) |
| All times are GMT -4. The time now is 10:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.