Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: CrazY.
Forum: Code Snippets/Tutorials 12-04-2019, 10:03
Replies: 16
Views: 13,149
Posted By CrazY.
Re: INI File Reader/Writer AMXX 1.9

I don't have much free time now, anyway I didn't added a option to remove sections because the main purpose of this include is work with settings. There are many vault systems already to work with...
Forum: Code Snippets/Tutorials 05-28-2019, 14:32
Replies: 16
Views: 13,149
Posted By CrazY.
Re: INI File Reader/Writer AMXX 1.9

Not a bad idea, I'll update it when I've time.
Forum: Code Snippets/Tutorials 04-05-2019, 09:21
Replies: 16
Views: 13,149
Posted By CrazY.
Re: INI File Reader/Writer AMXX 1.9

Actually, empty lines are equivalent to one (1) char. fgets() will only return 0 when reach the end of the file or if the file is totally empty. Well, that's what I noticed in the tests.


//...
Forum: Code Snippets/Tutorials 03-18-2019, 20:46
Replies: 16
Views: 13,149
Posted By CrazY.
Re: INI File Reader/Writer AMXX 1.9

The INI Parser of AMXX only allows you to read the data and it's entirely event based (you must hook events), technically:

ParseFromINI()
{
new INIParser:Parser = INI_CreateParser();...
Forum: Code Snippets/Tutorials 03-18-2019, 09:41
Replies: 16
Views: 13,149
Posted By CrazY.
Re: INI File Reader/Writer AMXX 1.9

In a way yes, but I am not sure about the performance while working with a big number of data inside the file. You could save player's authid as section and organize the data between the keys.

...
Forum: Code Snippets/Tutorials 03-17-2019, 16:08
Replies: 16
Views: 13,149
Posted By CrazY.
INI File Reader/Writer AMXX 1.9

Top
This is an include version of Settings API (https://forums.alliedmods.net/showpost.php?p=2160165&postcount=1).


About the include
Functions

Reading Data

Integer
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 09:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode