Sign in to follow this  
coftsock

[XM8 APP] Vehicle Tracking

15 posts in this topic

Made a Script for use with the custom xm8, The feature costs 300 pops (default) and will create a local map marker on the vehicle you are next too along with its classname as the marker text that will stay on the vehicle until server restart. This download has the script and the app icon.

 

NOTE For correct Poptab updating you need  @happydayz addon http://exile.majormittens.co.uk/topic/7577-update-respectpoptabs-and-save-to-database/

 

Edited by coftsock
  • Like 4

Share this post


Link to post
Share on other sites

ExileClientPlayerMoney = ExileClientPlayerMoney - _Poptabs;

 

JUST NO 

Edited by Shix
  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Would be cool to track your own vehicles as said above. Then would put in place. Save admins time if anything happens with the magical "vehicle stealing fairy" That appears after every restart.

  • Like 5

Share this post


Link to post
Share on other sites
On 10-2-2016 at 2:15 AM, iJeeves said:

Would be cool to track your own vehicles as said above. Then would put in place. Save admins time if anything happens with the magical "vehicle stealing fairy" That appears after every restart.

That's a great idea for an APP! Would implement in a heartbeat.

  • Like 1

Share this post


Link to post
Share on other sites

Would something like this work for tracking a car you were sitting in?

private["_vehicle"];
_vehicle = _this;
if !(local _vehicle) then
{
	throw "Please get in as driver first";
};
_vehDisplayName = gettext (configFile >> "CfgVehicles" >> (typeof _vehicle) >> "displayName");
hint format ["Tracking %1", _vehDisplayName];
_marker_name = "marker" + str _vehicle;		 
_marker  =  createMarkerlocal [_marker_name , getPosASL _vehicle];
_marker setMarkerType "Select"; //marker type
_marker setMarkerColor "ColorBlue"; //marker color
_marker setMarkerText format ["%1", _vehDisplayName];
 while {alive _vehicle} do { 
_marker setMarkerPos getpos _vehicle; 
};

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.