[Include] xskins.inc - Skins Info + Skin Check Optimizations
#4

Quote:
Originally Posted by Yashas
Посмотреть сообщение
Oh LOL!Thats the same code that I was trying to avoid!
You know there are 300 skins.And 300 if checks for each.You don't use them all.Ok say at least 40-100??
And so many checks would take lots of cycles.
Where as mine is just fetching the team id from an array and checking the team id.
As you go more advanced the script gets more optimized.The whole point of keeping it advanced was to keep it fast.I used to use many if checks I made this script to increase the efficiency of my code.
I understand you tried to avoid this though, it isn't really fast and it can't be that advanced, this is a great job though.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)