Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- *
- * Dev'Arma 3 France
- * The Survivors Rp
- * [DA3F] Aroun Le BriCodeur
- * fn_ShowPlak.sqf
- * le voyorisme de la plaque di l'immatriculation (je reviens du bled... oO)
- *
- */
- waitUntil {
- {
- private _plaque = (_x getVariable "dbInfo")select 1;
- if (isNil{_x getVariable "DA3F_ShowP"} && !(isNil "_plaque")) then {
- _x setVariable ["DA3F_ShowP",true,true];
- _x spawn {
- private _objName = "Sign_Sphere10cm_F" createVehicle [0,0,5000];
- _objName enableSimulation false;
- _objName setObjectTextureGlobal [0,""];
- if ((typeOf _this)isEqualTo "B_Quadbike_01_F") then [{
- _objName attachTo [_this,[0,-1,-0.3]];
- },{
- _objName attachTo [_this,[0,-2.5,-0.3]];
- }];
- _plaque = (_this getVariable "dbInfo")select 1;
- waitUntil {!(isNil "_plaque")};
- waitUntil {
- _units = {alive _x && ((_this distance _x)< 6) && (_x isEqualTo vehicle _x)}count playableUnits;
- if (_units > 0) then {
- drawIcon3D ["",
- [0,1,0,0.85],
- visiblePosition _objName,
- 0, 0, 3,
- _plaque,
- 0.9, 0.035,
- "TahomaB"];
- false;
- };
- };
- };
- };
- } forEach vehicles;
- false;
- sleep 1;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement