08.08.2013, 01:56
Quote:
Anyways if you would place them below OnPlayerCommandText, you might place them randomly as well, therefore it doesn't matter.
|
y_commands can be placed along the whole script, at the top or even at the bottom. I ment I don't like it because it's outside a function. if y_commands were fast and inside a function like OnPlayerCommandText that was replaced with ALS, then it'd been more easy for me to find stuff inside that function only, but insted they are placed outside /any/ function and can be found at the bottom of the script like a stock or at the top after all of the includes.
But as ****** points it out, placing the commands near the systems themselves is actually not a bad idea and a great way to find the commands more easier.
>> I might use that idea as it's actually logical to find all of the stuff in the system more easly and it's a way to keep each part of a systems code in one paragrph of the script.