25.07.2015, 18:32
1. If i kill SetTimerEx, but that timer is not started, my server will crash or no?
2. What in the script wants most RAM and CPU? Ex: Commands, timers, objects, vehicles or anything else...
3. Is there a chance to crash my server if i attach objects to players and vehicles?(I attach too much objects on vehicles and players in jobs)
4. Foreach or for(new i = 0; i <= MAX_PLAYERS; i++)?
5. 5 timers with 200 lines or 1 timer with 1000 lines?? (What is better? Can i optimize script if i cut any timer in 4-5 timers?)
6. Can i optimize script if i use SCMF instead formating string?
7. Is it better if i create objects in include?(i creating objects in 10 000 lines) Will script work faster when have less lines?
Thank you!
2. What in the script wants most RAM and CPU? Ex: Commands, timers, objects, vehicles or anything else...
3. Is there a chance to crash my server if i attach objects to players and vehicles?(I attach too much objects on vehicles and players in jobs)
4. Foreach or for(new i = 0; i <= MAX_PLAYERS; i++)?
5. 5 timers with 200 lines or 1 timer with 1000 lines?? (What is better? Can i optimize script if i cut any timer in 4-5 timers?)
6. Can i optimize script if i use SCMF instead formating string?
7. Is it better if i create objects in include?(i creating objects in 10 000 lines) Will script work faster when have less lines?
Thank you!