Jump to content

Recommended Posts

Hi, 

I am looking for a VDM script which does the following things:

- ofcourse gives the one being driven over no damaga 
- Gives a popup with the name of the guy who runs you over
- allows a passenger to shoot people or vehicles and allow damage

I have been trying all the VDM script and some of them post a message in the side chat, some wont let a passenger being able to shoot stuf ( if you hit someone it will tell him they are run over).
And some of them just dont work.

I am not good enough to make a script myself and if someone would be kind to help me out?

Got this so far:

 

//VDM Report And ADD	

	if(vehicle _source isKindOf "LandVehicle") then {
		if(_source != _unit AND {alive _unit} AND {isPlayer _source}) then {
			_damage = 0.001;
		};
	};

		if ((isPlayer _source) && (vehicle _source != _source)) then {
			if(_part == "body" && (player getVariable["limit",true]) && (side _source == civilian)) then {
				player setVariable ["limit",false];
					[_source] spawn {
					_driver = _this select 0;
					[0,format["%1 just ran over %2!", name _driver, name player]] remoteExec ["life_fnc_broadcast",0];
				sleep(10);
				player setVariable ["limit",true];
			};
		};				
		_damage = getDammage player;
	};
Edited by Deoxyr

Share this post


Link to post
Share on other sites

Putting this in handle damage will prevent people from being killed from being run over and will also tell them who just ran them over.

if(vehicle _source isKindOf "LandVehicle") then {
	if(_source != _unit AND {alive _unit} AND {isPlayer _source}) then {
		_damage = 0.001;
		[0,format["%1 just ran over %2!", name _source, name _unit]] remoteExec ["life_fnc_broadcast",0];
	};
};

 

 

  • Like 1

Share this post


Link to post
Share on other sites
On 6/13/2019 at 10:06 AM, john123 said:

I'm pretty sure it's not possible to allow passengers to shoot out of a vehicle which they cannot without mods

There are trucks and whatnot that have gunner seats that allow players to shoot (back of trucks, the side door of vans, etc).

Share this post


Link to post
Share on other sites
8 minutes ago, imthatguyhere said:

There are trucks and whatnot that have gunner seats that allow players to shoot (back of trucks, the side door of vans, etc).

ah think i misread the question thought he wanted a script that would allow players to shoot out of vehicles where this was not possible

Share this post


Link to post
Share on other sites

That is true i would like to have a script or some help.

currently if you are in a gunner seat and you shoot someone he won’t get damage and the chat tells that the guy has been ran over. 

I would like to have it so that if ran over you won’t get damage but people in the gunner seat still being able to damage other vehicles / players with their weapons.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...