01.11.2016, 13:13
Quote:
Tell us in which year we are at, and when you do, do not reply back.
Funniest thing is that you tried to correct him, yet you have done a mistake in your own example. Do you expect people to use it now? |
That is a terrible excuse to write bad code. Also note that there are servers which lag even when you have them running on high end dedicated servers because the code is that terrible.
Moreover, the scripts are in 'PAWN'. PAWN is good at amplifying the low-performance code to make it even slower.
What is the mistake in my code?
EDIT:fixed the mistake, the 'true' must be 'false' inside the if check.
It must be 'static' variables. Static variables are like global variables. They don't loose the information they hold when the function terminates.