Das sollte das problem beheben musst du mal bitte austesetn
Spoiler anzeigen
C
case 6: {
switch (_side) do {
case west: {
_value1 = [_this,2,0,[0]] call BIS_fnc_param;
_value2 = [_this,4,0,[0]] call BIS_fnc_param;
_value1 = [_value1] call DB_fnc_numberSafe;
_value2 = [_value2] call DB_fnc_numberSafe;
_query = format ["UPDATE players SET copcash='%1', copbank='%2' WHERE pid='%3'",_value1,_value2,_uid];
};
case civilian: {
_value1 = [_this,2,0,[0]] call BIS_fnc_param;
_value2 = [_this,4,0,[0]] call BIS_fnc_param;
_value1 = [_value1] call DB_fnc_numberSafe;
_value2 = [_value2] call DB_fnc_numberSafe;
_query = format ["UPDATE players SET civcash='%1', civbank='%2' WHERE pid='%3'",_value1,_value2,_uid];
};
case independent: {
_value1 = [_this,2,0,[0]] call BIS_fnc_param;
_value2 = [_this,4,0,[0]] call BIS_fnc_param;
_value1 = [_value1] call DB_fnc_numberSafe;
_value2 = [_value2] call DB_fnc_numberSafe;
_query = format ["UPDATE players SET medcash='%1', medbank='%2' WHERE pid='%3'",_value1,_value2,_uid];
};
};
};
Alles anzeigen