I need some advice on a couple of questions.
#5

Quote:
Originally Posted by TwinkiDaBoss
Посмотреть сообщение
1. I personally never use filterscripts unless I need for example PleoMax textdraw editor etc. etc. But you can use them. Best way I find is by having multiple modules example:
PHP код:
#include "..\myScripts\LSPD.pwn" 
But if you arent good with modules, better have it all inside 1 script for nwo until you learn how to do it. You can also use filterscripts but it can cause a mess if you dont know what are you doing

2. Depends, what sort of server you want to have? How much are you willing to pay for your box? If you are thinking of making a larger server and you expect big playerbase go with MySQL if not Id suggest that you use something like YINI. Also all depends on what you achieve, SQL is great for searching data, injecting etc. but it can be tricky if you dont know SQL good.

Regarding SQL, there is just too much gain from it. You can make separate tables and inject stuff into them separately so you can keep track of everything nicely. Start learning SQL and you might have an awesome time or might be horrible.
Quote:
Originally Posted by radiobizza
Посмотреть сообщение
First answer: In my opinion, it's more better to put all the codes in 1 gamemode and some filterscripts. Why ? Because the gamemode is the most important thing on a server. It's the "heart" of all of the things that are out there. The filterscripts running a single script or a little more.
Like in server.cfg
PHP код:
...
gamemode0 your_gamemode1
filterscripts your_filterscripts
... 
gamemode is run first against filterscript and the filterscript and problems may arise to filterscripts and bugging the gamemode(My opinion)

Second answer: If you want ro save your health,money,your house,biz,faction,etc. you need to use to save data. I use INI and MYSQL

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Hello,

1st. I like to have everything in one file. Modules suck on SA-MP, dependency everywhere.
2nd. Go with SQLite or MySQL. I prefer SQLite, though.
Thank you for all those comments. I am definitely going to put everything in 1 gamemode. I am not sure yet if I am going to use MySQL/SQLlite or just folders. I think that if I can get MySQL/SQLlite(is this the right naming) working that it's way more handy than just files, because you can use that info in websites.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)