optimization for equali
How to optimize that code? :D
PHP Code:
PHP Code:
|
Re: optimization for equali
Code:
new const maps[][] = { |
Re: optimization for equali
Can you check my code? i think i'm doing something wrong.
PHP Code:
PHP Code:
PHP Code:
|
Re: optimization for equali
use task for what?
You want to advertise admins when is small map on server and so much players? Explain what do you want :) |
Re: optimization for equali
task going for map change.
This code will check nice if map is big and isn't _2x2 ? Quote:
do i need to us break; ? Quote:
|
Re: optimization for equali
If you want to see if the actual map on server is small or big, check it out..
Code:
new const smallmaps[][] = {Quote:
|
Re: optimization for equali
The best method is using tries
|
Re: optimization for equali
If you check this only once in plugin_init, it's not really important.
But anyway, you should also say what you want to do with this information. |
Re: optimization for equali
Quote:
|
Re: optimization for equali
Quote:
In big map (de_dust2) i need to check that is (de_) map and isn't small (_2x2) then change the map to small. |
| All times are GMT -4. The time now is 23:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.