16 lines
471 B
Plaintext
16 lines
471 B
Plaintext
/*
|
|
File: fn_wantedRemove.sqf
|
|
Author: Bryan "Tonic" Boardwine"
|
|
Database Persistence By: ColinM
|
|
Assistance by: Paronity
|
|
Stress Tests by: Midgetgrimm
|
|
|
|
Description:
|
|
Removes a person from the wanted list.
|
|
*/
|
|
private _uid = param [0,"",[""]];
|
|
|
|
if (_uid isEqualTo "") exitWith {}; //Bad data
|
|
|
|
private _query = format ["UPDATE wanted SET active = '0', wantedCrimes = '[]', wantedBounty = 0 WHERE wantedID='%1'",_uid];
|
|
[_query,2] call DB_fnc_asyncCall; |