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

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
Anyways if you would place them below OnPlayerCommandText, you might place them randomly as well, therefore it doesn't matter.
You didn't understand by what I mean 'randomly'.
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.
>>
Quote:
Originally Posted by ******
Посмотреть сообщение
I'm always improving things.



Then don't place them randomly! Keep the commands for your user system with the user system, keep the commands for your vehicle system with the code for your vehicle system, etc...
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)