Some question from newbie...
#6

Quote:
Originally Posted by Unte99
Посмотреть сообщение
I don't know if there is a lot of difference if parts of the gamemode are in includes or filterscripts, but, most if it, is the comfort. For me for example, it would be quite a struggle to have multiple files to work with, a lot of open windows, searching through directories where is the code. It's not for me... It's more simple for me when I have everything in one place.
For me for comfortable have a lot of files, and each have special functions...
i dont like a search code in large file...

for example, we have Main.pwn (gamemode), which #included:
#Classes (Functions)
- Class_Register.pwn
- Class_Home.pwn
- Class_Jobs.pwn
#Real parts of code which using Classes doing actions.
- Jobs.pwn (Use Class_Jobs.pwn functions)
- JobEditor.pwn
- Homes.pwn (Class_Home.pwn)
... etc
As result -> Main.amx (1 file - gamemode)

Its much comfortable i think... and for development it much comfortable
1 scripter - writing Classes.
2 scripter - By using classes write real actions.

Now, i know that usage of remote functions may have lags.

Next Question - Is there a difference in what language to write? (С++, Js, Pawn)
Interested in execution speed.
Reply


Messages In This Thread
Some question from newbie... - by neatek - 10.10.2015, 15:21
Re: Some question from newbie... - by ZeMuNaC - 10.10.2015, 15:35
Re: Some question from newbie... - by Unte99 - 10.10.2015, 15:49
Re: Some question from newbie... - by neatek - 10.10.2015, 17:23
Re: Some question from newbie... - by Unte99 - 10.10.2015, 17:35
Re: Some question from newbie... - by neatek - 10.10.2015, 17:44
Re: Some question from newbie... - by Unte99 - 10.10.2015, 18:13
Re: Some question from newbie... - by neatek - 11.10.2015, 11:38
Re: Some question from newbie... - by Ahmad45123 - 11.10.2015, 11:46

Forum Jump:


Users browsing this thread: 2 Guest(s)