Advertisement
Guest User

Untitled

a guest
Dec 7th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. /*
  2. *
  3. * Dev'Arma 3 France
  4. * Script pour la communauté Arma 4 life
  5. * [DA3F] Aroun Le BriCodeur
  6. * fn_SearchPlak_init.sqf
  7. * Système de recherche de plaques d'immatriculation
  8. * // SELECT `pid` FROM `vehicles` WHERE plate='"2888TA68"'
  9. */
  10. _DA3F_plak = (_this select 0);
  11. _DA3F_agent = (_this select 1);
  12. // Attention au format utilisé avec ou sans plate='""%1""' OU plate='%1'
  13. _query = format ["SELECT pid, classname, plate FROM vehicles WHERE immatriculation='%1',_DA3F_plak];
  14. _queryResult = [_query,2] call DB_fnc_asyncCall;
  15. _queryResult remoteExecCall ["A4L_fnc_SPlak_infos",_DA3F_agent];
  16. diag_log format ["%1 %2 %3", _queryResult, _DA3F_plak,_DA3F_agent];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement