23.07.2014, 21:08
(
Последний раз редактировалось Virtual1ty; 25.07.2014 в 10:46.
)
It's hard to say considering we don't know what many of those variables in the "if" check evaluate to. One of them must be faulty when the code doesn't pass to desired actions, SetPlayerWanted..etc.
Try loosing one by one variable/function from the "if" check to narrow down the cause, I hardly think it's the public's fault.
I would bet on the range check because that's the one we have least information on.
Good luck debugging! Also, for the love of God, INDENT your future code, imagine how much we have had to struggle reading that, and me trying to optimise your GM.
Best of luck!
Edit: the solution is to enable 'lagcompmode' in the server.cfg as this was introduced in 0.3z.
Try loosing one by one variable/function from the "if" check to narrow down the cause, I hardly think it's the public's fault.
I would bet on the range check because that's the one we have least information on.
Good luck debugging! Also, for the love of God, INDENT your future code, imagine how much we have had to struggle reading that, and me trying to optimise your GM.
Best of luck!
Edit: the solution is to enable 'lagcompmode' in the server.cfg as this was introduced in 0.3z.