View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-28-2019 , 19:26   Re: Creating new .ini file
Reply With Quote #11

You can store anything, it works the same way as an ini file, using a key/value format. The only thing you are missing is the sections of settings, which you can handle by naming your keys appropriately. And of course, this is a binary file so no text editor editing.

Code:
[Section]
setting=value

PHP Code:
nvault_setvault "setting" "value" )

nvault_getvault "setting" szValue charsmaxszValue )
OR
iVal nvault_getvault "setting" 
__________________
Bugsy is offline