Alles anzeigenMoin,
so da sich Alice Kingsleigh dafür interessiert hier mal der Fix mit dem Update Befehl
.
1. Änderung fn_receivedVeh.sqf
ersetzen durch
Code[_plate,(getPlayerUID player),(getPlayerUID _ownerLast),(typeof _vehicle)] remoteExecCall ["DB_fnc_changeVehKey",2];
2. Ersetzen der fn_changeVehKey.sqf durch das
Code Alles anzeigen/* File: fn_changeVehKey.sqf Author: Joaquine Description: Update les clefs définitivement */ params [ ["_plate","",[""]], ["_uidnew","",[""]], ["_uidold","",[""]], ["_type","",[""]] ]; _query = format ["UPDATE vehicles SET pid='%2' WHERE plate='%1' and pid ='%3' and type = '%4'", _plate,_uidnew,_uidold,_type]; [_query,1] call DB_fnc_asyncCall;
so fertig
i think
Code
_query = format ["UPDATE vehicles SET pid='%2' WHERE plate='%1' and pid ='%3' and type = '%4'", _plate,_uidnew,_uidold,_type];
has error
change to
_query = format ["UPDATE vehicles SET pid='%2' WHERE plate='%1' and pid ='%3' and classname = '%4'", _plate,_uidnew,_uidold,_type];