-
Notifications
You must be signed in to change notification settings - Fork 0
/
锁门.txt
67 lines (61 loc) · 1.04 KB
/
锁门.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{$CLEO .cs}
//坐上车时关门,按Tab开关门(在车上),离开车时开门
//039E SET_CHAR_CANT_BE_DRAGGED_OUT
script_name 'LOCKTT'
var
1@ :int =0
2@ : int = 0
end
:LOCKTT_1
wait 0
if and
0443: player $PLAYER_CHAR sitting_in_any_car
Player.Defined($PLAYER_CHAR)
then
jump @LOCKTT_L
else
if 1@ == 1
then
jump @LOCKTT_O
else
jump @LOCKTT_1
end
end
:LOCKTT_L
wait 0
if
1@ == 0
jf @LOCKTT_L1
03C1: 0@ = player $PLAYER_CHAR car_no_save
053F: set_car 0@ tires_vulnerable 0
020A: set_car 0@ door_status_to 2
03E5: text_box 'GUANMEN'
1@=1
wait 1000
:LOCKTT_L1
wait 0
if and
Player.Defined($PLAYER_CHAR)
00E0: player $PLAYER_CHAR in_any_car
05EE: key_pressed 9 //VK_... tab
then
jump @LOCKTT_O
end
jump @LOCKTT_1
:LOCKTT_O
wait 0
053F: set_car 0@ tires_vulnerable 0
020A: set_car 0@ door_status_to 0
00BC: text_highpriority 'KAIMEN' time 1000 1
1@=0
wait 1000
:LOCKTT_O1
wait 0
if
00E0: player $PLAYER_CHAR in_any_car
jf @LOCKTT_1
if and
Player.Defined($PLAYER_CHAR)
05EE: key_pressed 9 //VK_... tab
jf @LOCKTT_O1
jump @LOCKTT_1