UPDATE vehicles SET garage_name='Le garage que tu veux';
[life_pInact_curTarget,player] spawn life_fnc_storeVehicle;
[life_pInact_curTarget,player,"house-garage"] spawn life_fnc_storeVehicle;
[getPlayerUID player,playerSide,_type,player]...
_garageName = param [4,"",[""]];
_query = format ["SELECT id, side, classname, type, pid, alive, active, plate, color FROM vehicles WHERE pid='%1' AND alive='1' AND active='0' AND side='%2' AND type='%3'",_pid,_side,_type];
if !(_garageName isEqualTo "") then {
_query = format ["SELECT id, side, classname, type, pid, alive, active, plate, color FROM vehicles WHERE pid='%1' AND alive='1' AND active='0' AND side='%2' AND type='%3' AND garage_name='%4'",_pid,_side,_type,_garageName];
};
_garageName = param [4,"",[""]];
_query = format ["SELECT id, side, classname, type, pid, alive, active, plate, color, immatriculation, controlTech, meters, insurance, CONCAT('""',expiration_date,'""'), DATEDIFF (expiration_date, CURRENT_TIMESTAMP) FROM vehicles WHERE pid='%1' AND alive='1' AND active='0' AND side='%2' AND type='%3'",_pid,_side,_type];
if !(_garageName isEqualTo "") then {
_query = format ["SELECT id, side, classname, type, pid, alive, active, plate, color, immatriculation, controlTech, meters, insurance, CONCAT('""',expiration_date,'""'), DATEDIFF (expiration_date, CURRENT_TIMESTAMP) FROM vehicles WHERE pid='%1' AND alive='1' AND active='0' AND side='%2' AND type='%3' AND garage_name='%4'",_pid,_side,_type,_garageName];
};
UPDATE vehicles SET garage_name='Le garage que tu veux';
[life_pInact_curTarget,player] spawn life_fnc_storeVehicle;
[life_pInact_curTarget,player,"house-garage"] spawn life_fnc_storeVehicle;
[getPlayerUID player,playerSide,_type,player] remoteExec ["TON_fnc_getVehicles",RSERV];
[getPlayerUID player,playerSide,_type,player,"house-garage"] remoteExec ["TON_fnc_getVehicles",RSERV];
Il faut simplement mettre :J'ai ça cependant buttonAction = "[cursorObject,player] spawn life_fnc_storeVehicle;
[cursorObject,player,"house-garage"] spawn life_fnc_storeVehicle;
Je ne pense pas que ça ait de rapport, mais tu peux envoyer tes logs serveur / des captures d'écrans où on voit le problème / l'erreurLe serveur du coup ne démarre pas