10.06.2010, 16:14
Yes however, I can state that my code does something, however if I made a little error I don't spot myself, no one is going to notice without some code.
Usually to check if something is a bug the original poster breaks his code down to the function that produces the error and gives a little compilable code snippet so others can see if the bug happens on other machines as well. So something like this:
If that piece of code still produces the bug I'd say you have excluded all external influences and it's a bug out of your reach, if this little piece of code does not display the bug, you probably made a mistake.
Usually to check if something is a bug the original poster breaks his code down to the function that produces the error and gives a little compilable code snippet so others can see if the bug happens on other machines as well. So something like this:
Код:
OnPlayerSpawn(playerid) { if (IsPlayerInRangeOfPoint(playerid, 1.0, /*some static x,y,z*/)) { print("True"); } else { print( "False" ); } }