So this is all i have at the moment. It looks like this could work but does anybody know if i forgot something?
Also im running this client side, so not sure if its gonna work...
Code:
private["_playerUID","_key","_result","_primary","_data"];
//This should be very obvious
_playerUID = getPlayerUID player;
//Database query (Client Side)
waitUntil{!hiveInUse};
hiveInUse = true;
_key = fromat["CHILD:999:SELECT * FROM donators WHERE donor = ?:[%1]:",_playerUID];
_data = "HiveEXT" callExtension _key;
hiveInUse = false;
//Process result
_result = call compile format ["%1", _data];
_status = _result select 0;
//Checking results
if(_result = 0) exitWith {};
if(_result > 1) then {
player addaction[("<t color=""FC0000"">" + ("Donator Menu") +"</t>"),"donatormenu.sqf","",5,false,true,"", ""];
};
Also im running this client side, so not sure if its gonna work...