25.01.2014, 12:16
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.
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.