hello,
I want to use iniDB.
iniDB_write is working:
_setplayerdate = [_datenbaseplayer, "GENERAL", "TIME", "00.00.2018"] call iniDB_write;
_setplayeruid = [_datenbaseplayer, "GENERAL", "UID", _playeruid] call iniDB_write;
_setplayername = [_datenbaseplayer, "GENERAL", "NAME", _playername] call iniDB_write;
_setplayerpos = [_datenbaseplayer, "GENERAL", "POS", _playerpos] call iniDB_write;
_setplayerloadout = [_datenbaseplayer, "GENERAL", "LOADOUT", _playerloadout] call iniDB_write;
database:
[GENERAL]
TIME="00.00.2018" // Real Time, Coming soon, if arma can do it...
UID="76561198063570550"
NAME="*****"
POS="[36361.5,12291.6,0.00143909]"
LOADOUT="[[],[],[],["U_C_man_sport_2_F",[["FirstAidKit",1],["Chemlight_red",1,1],["Chemlight_blue",1,1],["SmokeShellRed",1,1],["SmokeShellYellow",1,1]]],[],[],"","",["Binocular","","","",[],[],""],["ItemMap","ItemGPS","ItemRadio","ItemCompass","Itemwatch","NVGoggles"]]"
Reading is not working:
_loadplayerpos = [_datenbaseplayer, "GENERAL", "UID", "STRING"] call iniDB_read;
hint format ["%1",_loadplayerpos];
output:
"any"
I googled a lot and everyone has iniDB_read like me.
Can anyone give me a hint?
Unfortunately, I do not know what I'm doing wrong.
Thank you very much