Why does this code give this error? Can you fix it please?
Hi,
what is wrong in the below code? It gives this error in console: Quote:
PHP Code:
|
Re: Why does this code give this error?
can no one help?
i am not sure but i think it also freezes / crashes the server but i have to test if it's really this code which causes the server freeze. |
Re: Why does this code give this error? Can you fix it please?
Id check to see if the victim is alive
Correct me if I'm wrong but with the following: PHP Code:
Quote:
Quote:
PHP Code:
The following code can be simplified: PHP Code:
PHP Code:
To answer your question, I don't see anything in your code that is causing an error. I'm assuming in your code surrounding this function there is some problem. |
Re: Why does this code give this error? Can you fix it please?
I think it means the PM_* functions (engine) are receiving an invalid (NaN = Not a Number) velocity value for the X (0) and Y (1) values.
PHP Code:
I would suggest writing it like this: PHP Code:
So, with what Xanimos and I both said: PHP Code:
|
| All times are GMT -4. The time now is 08:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.