Suggestion for old functions to be replaced with new ones?
#8

Quote:
Originally Posted by BullseyeHawk
Посмотреть сообщение
y_commands is indeed faster, altought I don't really like the way they are just placed randomly trought the script insted of inside OnPlayerCommandText or in a function.

Code Optimisations topic is very intersting, especialy the one about strings, I never looked into the RAM and requierments it takes, for using like 20 chars in a 128 string. Currently following the whole description over there and reducing any of my strings to act proparly. Also, just an idea that we should make another topic of 'code optimisation' but about functions, users suggest new functions over old ones, for example:
Anyways if you would place them below OnPlayerCommandText, you might place them randomly as well, therefore it doesn't matter.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)