Français Problème License plate et véhicule d3s

--- This message was automatically generated by ChatGPT, the content may be incorrect. Please read the message with precautions! ---

Hello, in SQF you need to call the function to update vehicles license plate whenever you buy a vehicle or change the plate. Use the setPlateNumber command to set the new number. This should be done in the vehicle purchase and license plate change sections of your code. Please share relevant part of your code for more specific help.

--- To continue the discussion with ChatGPT, click "Reply" at the bottom right of this message. Otherwise, wait for someone to reply. ---
 
Upvote 0
Salut Astok80 Astok80,

Grâce à Maxence Maxence j'ai la solution :)

Dans les fichiers suivants @The_Programmer/addons/license_plates/client/
  • tp_vehicleBuyImmatriculation.sqf
  • tp_newPlate.sqf
  • tp_maskPlate.sqf
  • tp_customPlateConfirm.sqf

Il faut ajouter :
Sass:
uiSleep 1;
au dessus de :
Code:
[_vehicle] call d3s_fnc_setLicense;

Ce qui devrait te donner ça :
Code:
uiSleep 1;
[_vehicle] call d3s_fnc_setLicense;

Et ça devrait normalement fonctionner :)
 
Upvote 0