mp]; }; missionNamespace setVariable[format["gang_%1",_this],_queryResult];/* Author: Bryan "Tonic" Boardwine Description: Inserts the gang into the database. */ private["_ownerID","_uid","_gangName","_query","_queryResult","_gangMembers","_group"]; _ownerID = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param; _uid = [_this,1,"",[""]] call BIS_fnc_param; _gangName = [_this,2,"",[""]] call BIS_fnc_param; _group = group _ownerID; if(isNull _ownerID OR _uid == "" OR _gangName == "") exitWith {}; //Fail _ownerID = owner _ownerID; _gangName = [_gangName] call DB_fnc_mresString; _query = format["SELECT id FROM gangs