You are not logged in.

Dear visitor, welcome to Nitrado Türkiye Ön Ödemeli Gameserver Kiralama Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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

Saturday, December 27th 2014, 5:28pm

[Script] Polis Bar-Gate Açma by TyPooN

Merhaba ,


Bu script sayesinde polisler araç içindeyken yakınındaki "Bar-Gate" ' yi "O" tuşuyla açabilcekler.


Kod Eklenicek Dosyalar :

MPMissions\Altis_Life.Altis\Functions.h

MPMissions\Altis_Life.Altis\core\functions\fn_keyHandler.sqf



Oluşturulacak Dosya :


fn_copOpener.sqf



Konum : MPMissions\Altis_Life.Altis\core\cop\


fn_copOpener.sqf İçeriği :


Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
/*
Dosya : fn_copOpener.sqfYazar : TyPooN
*/
{
	if (_x animationPhase "Door_1_rot" == 1) then {
_x animate ["Door_1_rot", 0];
	} 
	else 
	{
_x animate ["Door_1_rot", 1];
	};
	
} forEach (nearestObjects [player, ["Land_BarGate_F"], 10]);



fn_keyHandler.sqf ' a eklenilecek kod :

Source code

1
2
3
4
5
6
7
// O, Polis "Bar-Gate" Açıcı
case 24:
	{
if (!_shift && !_alt && !_ctrlKey && (playerSide == west) && (vehicle player != player)) then {
[] call life_fnc_copOpener;
};
	};



Functions.h ' ye eklenilecek kodlar :



Eklenilecek Class : class Cop


Eklenilecek Kod :

Source code

1
class copOpener {};




-AltisLifeTR-
-Script Pack dosyam satılıktır veya kişiye özel script pack yapılır-

starzon

Beginner

Posts: 26

Date of registration: Dec 9th 2014

  • Send private message

2

Saturday, December 27th 2014, 5:30pm

Merhaba ,


Bu script sayesinde polisler araç içindeyken yakınındaki "Bar-Gate" ' yi "O" tuşuyla açabilcekler.


Kod Eklenicek Dosyalar :

MPMissions\Altis_Life.Altis\Functions.h

MPMissions\Altis_Life.Altis\core\functions\fn_keyHandler.sqf



Oluşturulacak Dosya :


fn_copOpener.sqf



Konum : MPMissions\Altis_Life.Altis\core\cop\


fn_copOpener.sqf İçeriği :


Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
/*
Dosya : fn_copOpener.sqfYazar : TyPooN
*/
{
	if (_x animationPhase "Door_1_rot" == 1) then {
_x animate ["Door_1_rot", 0];
	} 
	else 
	{
_x animate ["Door_1_rot", 1];
	};
	
} forEach (nearestObjects [player, ["Land_BarGate_F"], 10]);



fn_keyHandler.sqf ' a eklenilecek kod :

Source code

1
2
3
4
5
6
7
// O, Polis "Bar-Gate" Açıcı
case 24:
	{
if (!_shift && !_alt && !_ctrlKey && (playerSide == west) && (vehicle player != player)) then {
[] call life_fnc_copOpener;
};
	};



Functions.h ' ye eklenilecek kodlar :



Eklenilecek Class : class Cop


Eklenilecek Kod :

Source code

1
class copOpener {};




eyvalla kardeşim sağol

bahatarlaci

Beginner

Posts: 9

Date of registration: Jan 8th 2015

  • Send private message

3

Saturday, January 10th 2015, 8:34pm

hocam // O, Polis "Bar-Gate" Açıcıcase 24:
{
if (!_shift && !_alt && !_ctrlKey && (playerSide == west) && (vehicle player != player)) then {
[] call life_fnc_copOpener;
};
};bunu nereye eklicez en altamı

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

4

Saturday, January 10th 2015, 8:34pm

istediğiniz yere doğru ekleyin yeter .
-AltisLifeTR-
-Script Pack dosyam satılıktır veya kişiye özel script pack yapılır-

bahatarlaci

Beginner

Posts: 9

Date of registration: Jan 8th 2015

  • Send private message

5

Saturday, January 10th 2015, 8:48pm

hocam bide arabayla ezilmeme scripti varmı adam bayılsın

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

6

Saturday, January 10th 2015, 8:51pm

if(!isNull _source) then {
_isVehicle = if(vehicle _source != _source) then {true} else {false};
if (_isVehicle) then {
_damage = false;
};
};

bu kodu fn_handleDamage.sqf ekleyin .
[] call life_fnc_hudUpdate; üstüne
-AltisLifeTR-
-Script Pack dosyam satılıktır veya kişiye özel script pack yapılır-

Posts: 47

Date of registration: Jan 10th 2015

  • Send private message

7

Saturday, January 10th 2015, 9:11pm

o basıyom calısmıyo

frezitim

Beginner

  • "frezitim" is male

Posts: 7

Date of registration: Dec 13th 2014

  • Send private message

8

Monday, January 12th 2015, 1:31am

bunu yapamadım ya diğer scriptleri çalıştırdım ama benzinlik ve bunu yapamadım :(

furkan5000

Beginner

Posts: 11

Date of registration: Feb 12th 2015

  • Send private message

9

Friday, February 13th 2015, 6:32pm

çalışmıyo

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

10

Saturday, February 14th 2015, 1:41pm

Çalışıyor lütfen eklemeyemediğiniz hereşeye çalışmıyor demeyin....
-AltisLifeTR-
-Script Pack dosyam satılıktır veya kişiye özel script pack yapılır-

Rate this thread