You are not logged in.

typoon

Trainee

  • "typoon" is male
  • "typoon" has been banned
  • "typoon" started this thread

Posts: 300

Date of registration: Dec 27th 2014

Location: Konya

Occupation: Öğrenci

  • Send private message

1

Sunday, February 8th 2015, 11:00am

Araçla ezmeyi kapatma

Merhaba,

VDM olayını kapatmak için güzel bir yöntem coğu sunucudaki araçla ezince can fulleme bugu kapatıldı.

Aşama 1 : fn_handleDamage.sqf

Konum : mpmissions\Altis_Life.Altis\core\functions

Source code

1
[] call life_fnc_hudUpdate;


kodunun üstüne bu kodu yapıştırın :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if (vehicle _unit == _unit) then
	{
		if ( _source isKindOf "Air" OR _source isKindOf "Car" OR _source isKindOf "Boat" ) then
		{
			diag_log "_Source is Vehicle, Not a player driving a vehicle"
		}
		else
		{
			_isVehicle = vehicle _source;
			if (_isVehicle isKindOf "Air" OR _isVehicle isKindOf "Car" OR _isVehicle isKindOf "Boat") then 
			{
				_damage = 0.001;
				[[player,"amovppnemstpsraswrfldnon"],"life_fnc_animSync",true,false] spawn life_fnc_MP;
			};
		};
	};
-AltisLifeTR-
-Script Pack dosyam satılıktır veya kişiye özel script pack yapılır-

naim55

Beginner

Posts: 4

Date of registration: Jun 19th 2015

  • Send private message

2

Saturday, June 20th 2015, 11:48am

teşekkürler..

Rate this thread