SA-MP Forums Archive
server and saving - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: server and saving (/showthread.php?tid=593225)



server and saving - fuckingcruse - 03.11.2015

Can a whole server be made by enums? Or anything in script.:I need a really better alternative for dini , ysi and mysql. If you guys can suggest me the best.


Re: server and saving - Gammix - 03.11.2015

SQLite, best known alternative and really powerful.

"Enums" is irrelevant to the context here. Enumerators are used as a part of an array, nothing to compare with a saving system.


Re: server and saving - Crayder - 03.11.2015

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Enumerators are used as a part of an array
That is not all they are for. They can be used for a lot more.

But yes, they are completely out of context here and make no sense on this subject.


Re: server and saving - Gammix - 03.11.2015

I was just referring to a general use, example use of enums.

And i think if the OP is refering to memory vars, then he must read SVars and PVars!


Re: server and saving - PrO.GameR - 03.11.2015

Enums are used to assign names to indexes (generally to make them more organized ) as in ( array[10] is no different than array[some_10_index_enum] )
At the end, enums will be compiled simply as numbers ( ? not 100% sure ) so nope, it's not possible to save anything in them
There is pretty much nothing neat and more organized than MySQL - 1 file, 1 database, multiple perfectly organized tables ( unless you lack common sense when creating them .. ), I suggest you to use that