Optimization
#5

Don't make all strings to 128, make them depending on how big the string is or it will not give all characters.

- Use foreach for loops
- Use y commands or zcmd
- If you will use onplayerupdate, use Cessil's limiting method in his anticheat tips.
- Serversided weapons
- Keep timer amount at minimum and rather use gettime()
- Avoid using too many loops and make them work on minimum usage.
- Keep variable amounts at minimum and avoid using duplicate ones.
Reply


Messages In This Thread
Optimization - by anou1 - 13.02.2014, 11:27
Re: Optimization - by ACI - 13.02.2014, 11:33
Re: Optimization - by venomlivno8 - 13.02.2014, 11:35
Re: Optimization - by anou1 - 13.02.2014, 14:32
Re: Optimization - by Tamer - 13.02.2014, 15:25
Re: Optimization - by anou1 - 13.02.2014, 15:35
Re: Optimization - by Yashas - 13.02.2014, 16:35
Re: Optimization - by anou1 - 13.02.2014, 18:10
Re: Optimization - by Tamer - 13.02.2014, 18:21
Re: Optimization - by Yashas - 13.02.2014, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)