_clientID = clientOwner;
_UID = getPlayerUID player;
_name = name player;
checkForDatabase = [_clientID, _UID, _name];
publicVariableServer "checkForDatabase";
"checkForDatabase" addPublicVariableEventHandler
{
private ["_data"];
_data = (_this select 1);
_clientID = (_data select 0);
_UID = (_data select 1);
_playerName = (_data select 2);
_inidbi = ["new", "_UID"] call OO_INIDBI;
_fileExist = "exists" call _inidbi;
if(_fileExist) then
{
hint "FILE DOSE EXIST, GETTING DATA";
}
else
{
hint "FILE DOSE NOT EXIST, CREATING DATABASE";
};
};
OUTPUT ------------------------------------------------------------
always that return "FILE DOSE NOT EXIST, CREATING DATABASE".
What is the problem?