Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Created by νєтι¢υѕ. This is a public source to anyone who wishes to have it
- // This script allows you to face any object/vehicle/unit in-game and get their class name.
- //------------------------------------------------------------------------------------------------------------------------------
- // First create a .sqf file called "objectfinder.sqf". And place the script below into it.
- //------------------------------------------------------------------------------------------------------------------------------
- _ObjectSelect = cursorTarget;
- if (alive player) then {
- _Object = typeOf (vehicle _ObjectSelect);
- hintSilent parseText format ["<t color='#2E9AFE' size='1.3'>Object: </t><t color='#FFFFFF' size='1.3'>%1</t>", _Object];
- };
- //------------------------------------------------------------------------------------------------------------------------------
- // This is what you add to you "init.sqf" or whatever addAction array to execute the script above.
- //------------------------------------------------------------------------------------------------------------------------------
- player addAction ["<t size='1'>[Find Object]</t>", "objectfinder.sqf", [], 1, false, true, 'true'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement